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

Disassembly:
sub esp, 0xa0
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xa8]
and eax, 0xffff
push ebp
push esi
mov ecx, dword [ebx + 8]
lea eax, [eax + eax*8]
mov esi, dword [esp + 0xb4]
push edi
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov di, word [ebx + 0xc]
lea eax, [edx + eax*4]
mov dword [esp + 0x24], edi
mov dx, word [eax + 0xe]
movsx eax, word [eax + 0xc]
mov word [esp + 0x34], dx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*4]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + eax*4]
mov ecx, edi
mov dword [esp + 0x18], edx
and ecx, 0xffff
mov eax, esi
xor edx, edx
div ecx
mov dword [esp + 0x1c], ecx
mov ebp, edx
test bp, bp
je 0x42e56f
mov dword [esp + 0x10], 0
jmp 0x42e57b
mov al, byte [esi]
shr eax, 3
and eax, 4
mov dword [esp + 0x10], eax
test bp, bp
mov ebp, dword [esp + 0xc4]
jne 0x42e5be
mov eax, dword [esi + 4]
xor edx, edx
mov dword [esp + 0x14], eax
lea eax, [ecx + eax - 1]
div ecx
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0xc]
add ecx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [ebp]
inc ecx
mov dword [ebp + 0xc], edx
mov dword [ebp], ecx
mov eax, dword [ebx + 0xb4]
inc eax
mov dword [ebx + 0xb4], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x40], 0
mov byte [esp + 0x90], 0
mov eax, dword [edx + 0xc]
lea edx, [esp + 0x28]
push edx
mov eax, dword [eax]
mov byte [esp + 0x64], 0xe
add eax, ecx
push eax
push edi
push esi
mov dword [esp + 0x40], eax
call fcn.0042a680
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x88], 0xf
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0xc]
add eax, ecx
push eax
push edi
push esi
mov dword [esp + 0x30], eax
call fcn.0042a710
inc word [eax]
mov ax, word [eax]
mov edx, dword [esp + 0x30]
mov word [esp + 0x9c], ax
mov eax, dword [esp + 0xd8]
push edx
push edi
push eax
call fcn.0042a710
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xe4]
mov esi, 1
push ecx
or word [eax + 2], si
push edx
call fcn.0042bb80
add esp, 0x30
test eax, eax
je 0x42e674
push 0x1146
call fcn.004273f0
add esp, 4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
cmp eax, 1
lea eax, [esp + 0x40]
push eax
jne 0x42e69c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
push 1
push ecx
push edx
call fcn.0042b640
add esp, 0x10
jmp 0x42e6bf
mov ecx, 8
lea esi, [esp + 0x44]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042d120
mov edi, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x42e7a6
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x38]
mov dword [esp + 0x14], esi
push edx
push eax
push edi
push esi
call fcn.0042a680
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp ecx, eax
jne 0x42e7a6
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
cmp edx, eax
jne 0x42e7a6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc eax
and ecx, 0xffff
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x42e678
mov eax, esi
xor edx, edx
div dword [esp + 0x1c]
test dx, dx
jne 0x42e762
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esi + ecx - 1]
div esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
sub edx, ecx
mov ecx, dword [ebp]
mov dword [ebp + 0xc], edx
sub esi, eax
dec ecx
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x14]
mov dword [ebp], ecx
mov eax, dword [ebx + 0xb4]
dec eax
mov dword [ebx + 0xb4], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.0042c580
mov ecx, dword [ebx + 4]
push ecx
push esi
call fcn.0042a220
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 1
jle 0x42e79d
mov ecx, 8
lea esi, [esp + 0x90]
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
dec dword [esp + 0x10]
jmp 0x42e678
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret