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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x176c
call fcn.00465dc0
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x228]
test ecx, ecx
push esi
mov esi, dword [ebx + 0x3e0]
push edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], esi
jne 0x42c7a5
mov edx, dword [eax + 0x78]
jmp 0x42c7ab
mov edx, dword [eax + 0x1c0]
test ecx, ecx
mov dword [esp + 0x30], edx
jne 0x42c7b8
mov edx, dword [eax + 0x7c]
jmp 0x42c7be
mov edx, dword [eax + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c7c4
sub eax, edi
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x878]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc78]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x478]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf78]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1378]
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 0x42c847
lea edi, [eax + ecx]
test edi, edi
jge 0x42c847
mov dword [esp + 0x1c], 0
add ecx, eax
cmp edx, ecx
jae 0x42c85f
sub edx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
jge 0x42c85f
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
call fcn.00446b50
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 + 0x2c], edi
mov dword [esp + 0x18], edi
jle 0x42c9db
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc78]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00466312
add esp, 4
test eax, eax
je 0x42c8f5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
call fcn.00465720
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 [0x489030]
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 0x42c920
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.00465720
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 [0x489030]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
shl eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + edi*4 + 0x878], ecx
mov dword [esp + edi*4 + 0x478], 0
mov dword [esp + edi*4 + 0x78], ecx
jge 0x42c967
lea edx, [ecx + eax]
test edx, edx
mov dword [esp + edi*4 + 0x478], eax
jge 0x42c967
xor edx, edx
mov dword [esp + edi*4 + 0x478], edx
mov dword [esp + edi*4 + 0x78], edx
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x30]
cmp ecx, edx
jae 0x42c991
mov edx, dword [esp + 0x28]
sub edx, ecx
add edx, eax
cmp ecx, eax
mov dword [esp + edi*4 + 0x78], edx
jae 0x42c991
xor ecx, ecx
mov dword [esp + edi*4 + 0x478], ecx
mov dword [esp + edi*4 + 0x78], ecx
jmp 0x42c993
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + edi*4 + 0xf78], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + edi*4 + 0x1378], ecx
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add edx, 3
mov dword [esp + 0x2c], 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 0x42c8a2
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
push edx
call fcn.00446b90
mov ecx, dword [ebp + 8]
call fcn.00446eb0
mov ecx, dword [ebx + 0x540]
mov edx, dword [ebx + 0x544]
mov dword [esp + 0x40], 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 + 0x38], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x1c], 0
jge 0x42ca5e
xor eax, eax
test ecx, ecx
jge 0x42ca64
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x489bd5
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.00428780
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 0x42cd57
lea ecx, [esp + 0xc78]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
xor edx, edx
test eax, eax
mov dword [esp + 0x20], edx
jle 0x42cb09
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x878]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x24], ecx
jmp 0x42cae0
mov ecx, dword [esp + 0x24]
mov edi, edi
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 + 0x2c]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x42cada
mov edi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cb12
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x42cb3b
mov ecx, dword [ebx + 0x554]
add ecx, 8
push eax
push edi
push 8
push ecx
push edx
call dword [0x48902c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x878]
neg eax
add edi, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + edi*4 + 0xf78]
cmp eax, dword [esp + edi*4 + 0x1378]
lea edi, [esp + edi*4 + 0x1378]
mov edx, 0x3c18
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
jge 0x42cd26
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x478]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x78]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
sub edi, eax
mov dword [esp + 0x24], edi
jmp 0x42cbd0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x60]
jge 0x42cd07
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x78]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov edi, edi
movzx eax, byte [edx + esi]
movzx ebx, byte [edx + esi + 0x780]
movzx edi, byte [edx + esi - 0x780]
and ebx, eax
and ebx, edi
mov edi, eax
movzx eax, byte [edx + esi + 3]
and edi, eax
movzx eax, byte [edx + esi - 3]
and edi, eax
movzx eax, byte [edx + esi]
add ebx, edi
movzx edi, byte [edx + esi - 0x783]
lea eax, [ebx + eax*2]
movzx ebx, byte [edx + esi + 0x783]
lea edi, [edi + eax*2]
movzx eax, byte [edx + esi - 0x77d]
add edi, eax
movzx eax, byte [edx + esi + 0x780]
add ebx, eax
movzx eax, byte [edx + esi + 0x77d]
add ebx, edi
movzx edi, byte [edx + esi + 3]
add eax, ebx
add eax, edi
movzx edi, byte [edx + esi - 0x780]
add eax, edi
movzx edi, byte [edx + esi - 3]
add eax, edi
mov edi, 0x10
sub edi, eax
test eax, eax
mov dword [esp + 0x28], edi
je 0x42ccec
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x3c]
mov ebx, ecx
shl esi, 0x10
imul esi, eax
and ebx, 0xff0000
imul ebx, edi
mov edi, dword [esp + 0x38]
add esi, ebx
mov ebx, ecx
shl edi, 8
imul edi, eax
imul eax, dword [esp + 0x50]
and ecx, 0xff
imul ecx, dword [esp + 0x28]
and ebx, 0xff00
imul ebx, dword [esp + 0x28]
and esi, 0xff00000
add edi, ebx
add ecx, eax
mov eax, dword [esp + 0x40]
and edi, 0xff000
or esi, edi
and ecx, 0xff0
or esi, ecx
mov ecx, dword [esp + 0x18]
shr esi, 4
mov dword [eax + ecx*4], esi
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
inc ecx
add edx, 6
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], eax
jne 0x42cbf0
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x24]
add edx, edi
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x42cbd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x878]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x42cab3
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x42cd8a
mov edx, dword [ebx + 0x3dc]
push eax
push edx
call dword [0x48904c]
mov eax, dword [ebx + 0x428]
push eax
call dword [0x489054]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x540], edx
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x550], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x544], eax
mov dword [ebx + 0x554], edx
call fcn.00446f20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8