Function at 0x42fc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1774
call fcn.004779b0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x50], ebx
call fcn.0045d550
mov eax, dword [eax + 4]
mov esi, dword [ebx + 0x3e0]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x228]
test eax, eax
mov dword [esp + 0x5c], esi
jne 0x42fc87
mov ecx, dword [edi + 0x78]
mov dword [esp + 0x30], ecx
jmp 0x42fc91
mov edx, dword [edi + 0x1c0]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x42fc9a
mov edx, dword [edi + 0x7c]
jmp 0x42fca0
mov edx, dword [edi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fca6
sub eax, edi
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x880]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1380]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
test eax, eax
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x1c], ecx
jge 0x42fd2c
lea edi, [eax + ecx]
test edi, edi
jge 0x42fd2c
mov dword [esp + 0x1c], 0
add ecx, eax
cmp edx, ecx
jae 0x42fd44
sub edx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
jge 0x42fd44
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
call fcn.00447270
mov eax, dword [ebx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
jle 0x42fecc
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc80]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00477f02
add esp, 4
test eax, eax
je 0x42fdda
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
call fcn.00477380
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push 2
push edx
push eax
call dword [0x49b030]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x42fe05
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.00477380
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 1
push ecx
push edx
call dword [0x49b030]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
shl eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + edi*4 + 0x880], ecx
mov dword [esp + edi*4 + 0x480], 0
mov dword [esp + edi*4 + 0x80], ecx
jge 0x42fe52
lea edx, [ecx + eax]
test edx, edx
mov dword [esp + edi*4 + 0x480], eax
jge 0x42fe52
xor edx, edx
mov dword [esp + edi*4 + 0x480], edx
mov dword [esp + edi*4 + 0x80], edx
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x30]
cmp ecx, edx
jae 0x42fe82
mov edx, dword [esp + 0x28]
sub edx, ecx
add edx, eax
cmp ecx, eax
mov dword [esp + edi*4 + 0x80], edx
jae 0x42fe82
xor ecx, ecx
mov dword [esp + edi*4 + 0x480], ecx
mov dword [esp + edi*4 + 0x80], ecx
jmp 0x42fe84
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + edi*4 + 0xf80], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + edi*4 + 0x1380], ecx
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add edx, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x42fd87
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
push edx
call fcn.004472b0
mov ecx, dword [ebp + 8]
call fcn.004475d0
mov ecx, dword [ebx + 0x540]
mov edx, dword [ebx + 0x544]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x53c]
mov dword [esp + 0x3c], eax
mov eax, 1
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x48], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x24], 0
jge 0x42ff4f
xor eax, eax
test ecx, ecx
jge 0x42ff55
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x49c291
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.0042d5c0
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x30]
add eax, dword [ebx + 0x548]
test edi, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], 0
jle 0x43029e
lea ecx, [esp + 0xc80]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
xor edx, edx
test eax, eax
mov dword [esp + 0x20], edx
jle 0x42fff9
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x880]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x2c], ecx
jmp 0x42ffd0
mov ecx, dword [esp + 0x2c]
nop
lea edi, [edx + esi]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x42ffcb
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430002
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x43002b
mov ecx, dword [ebx + 0x554]
add ecx, 8
push eax
push edi
push 8
push ecx
push edx
call dword [0x49b060]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x880]
neg eax
add edi, eax
lea edi, [edi + edi*2]
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + edi*4 + 0xf80]
cmp eax, dword [esp + edi*4 + 0x1380]
lea edi, [esp + edi*4 + 0x1380]
mov edx, 0x3c18
mov dword [esp + 0x14], edx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x2c], edi
jge 0x43026d
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x480]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x80]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x2c]
mov edi, dword [edi]
sub edi, eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x64]
jge 0x43024e
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x80]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
jmp 0x4300f0
movzx ebx, byte [edx + esi + 0x783]
movzx eax, byte [edx + esi - 0x783]
movzx edi, byte [edx + esi - 0x780]
and eax, ebx
movzx ebx, byte [edx + esi + 0x780]
and ebx, edi
movzx edi, byte [edx + esi + 3]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 3]
and ebx, edi
movzx edi, byte [edx + esi + 0x77d]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 0x77d]
and ebx, edi
or eax, ebx
movzx ebx, byte [edx + esi]
and eax, ebx
add eax, ebx
movzx ebx, byte [edx + esi + 3]
add eax, ebx
movzx ebx, byte [edx + esi - 3]
add eax, ebx
movzx ebx, byte [edx + esi + 0x77d]
add eax, ebx
add eax, edi
movzx edi, byte [edx + esi + 0x780]
add eax, edi
movzx edi, byte [edx + esi - 0x780]
add eax, edi
je 0x430231
imul eax, eax, 0xff
sar eax, 3
mov esi, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x68], eax
movzx eax, byte [eax]
mov edi, 0xff
sub edi, esi
imul edi, eax
mov eax, 0x80808081
imul edi
mov eax, dword [esp + 0x18]
movzx eax, byte [ecx + eax + 2]
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
imul eax, edi
lea edx, [edi + esi]
mov dword [esp + 0x1c], edx
mov edx, esi
imul edx, dword [esp + 0x3c]
add eax, edx
xor edx, edx
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [ecx + edx + 2], al
movzx eax, byte [ecx + edx + 1]
imul eax, edi
mov edx, esi
imul esi, dword [esp + 0x38]
imul edx, dword [esp + 0x48]
add eax, edx
xor edx, edx
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [ecx + edx + 1], al
movzx eax, byte [ecx + edx]
imul eax, edi
xor edx, edx
add eax, esi
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
mov byte [ecx + edx], al
mov edx, dword [esp + 0x68]
mov al, byte [esp + 0x1c]
mov byte [edx], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x50]
add edx, 6
add ecx, 3
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jne 0x4300f0
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x2c]
add edx, edi
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
jne 0x4300c1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x880]
mov edx, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
jl 0x42ffa4
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x4302d1
mov edx, dword [ebx + 0x3dc]
push eax
push edx
call dword [0x49b04c]
mov eax, dword [ebx + 0x428]
push eax
call dword [0x49b054]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x540], edx
mov edx, dword [esp + 0x60]
mov dword [ebx + 0x550], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x544], eax
mov dword [ebx + 0x554], edx
call fcn.00447640
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8