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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42e8a9
sub esp, 0x70
mov eax, dword [esp + 0x7c]
shl eax, 0xd
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x98]
mov dword [esp], edx
call fcn.0040b5e0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0042dcb0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
lea edx, [ecx + eax - 1]
mov ebx, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov dword [esp], edx
call fcn.0042dcb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
add edx, ecx
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x24]
cmp eax, ebx
je 0x42e62b
mov dword [esp + 0x3c], eax
movzx ebp, byte [esp + 0x80]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x42e57c
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x58], esi
jmp 0x42e8a0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0042e070
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax*8]
mov dword [esp + 0x6c], edx
lea ebx, [ecx + eax*8 + 4]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 8]
test byte [ebp], al
mov dword [esp], ebp
call fcn.00431a10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [esp + 0x6c]
mov dword [eax], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
sub ebx, edx
dec ecx
neg ecx
sar ecx, 0x1f
inc edx
shl edx, 3
and ecx, edx
add ecx, dword [eax + 0x24]
lea edx, [ebx - 1]
movzx ebx, byte [esp + 0x81]
test bl, bl
jne 0x42e607
xor ebx, ebx
jmp 0x42e835
test edx, edx
je 0x42e7d3
mov dword [esp], ecx
shl edx, 3
mov dword [esp + 4], edx
call fcn.00467710
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x3c]
jmp 0x42e7d3
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
lea ecx, [ecx + ebx*8]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0042e070
mov eax, dword [esp + 8]
test byte [eax], al
mov dword [esp], eax
call fcn.00431a10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp eax, edx
sete dl
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
sete bl
and ebx, edx
test bl, bl
jne 0x42e694
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x24]
mov ebp, dword [esp + 0x24]
lea esi, [ebx + ebp*8]
lea ebx, [ebx + ebp*8 + 4]
mov dword [ebx], ecx
mov dword [esi], eax
jmp 0x42e698
add esp, 0x70
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov ebx, 2
mov ebp, 1
jmp 0x42e6c1
mov esi, dword [esp + 0x30]
lea ebx, [esi - 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov ebp, edx
mov edx, dword [esp + 0x74]
test ebx, ebx
jl 0x42e70b
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42e70b
mov dword [esp + 0x30], ebx
lea edx, [0x490450]
mov ebp, dword [edx + ebx*4 + 4]
mov dword [esp + 0x2c], ebp
lea esi, [0x490470]
mov edi, dword [esi + ebx*4 + 4]
mov dword [esp + 0x28], edi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0042de00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x42e71e
add esp, 0x70
ret
movzx ebx, byte [esp + 0x1b]
or edx, ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
cmp eax, ecx
jge 0x42e6ac
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b], dl
mov edx, dword [esp + 0x30]
lea ebx, [edx + edx*2]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp + ebx*4 + 0x14]
mov ecx, dword [esp + 0x2c]
mov edi, eax
shl eax, cl
lea edx, [edi + 1]
mov dword [esp + 0x4c], edx
shl edx, cl
cmp ecx, 0x20
sbb ecx, ecx
and eax, ecx
mov dword [esp + 0x48], eax
sub esi, eax
mov dword [esp + 0x40], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl eax, 3
sar esi, 0x1f
and esi, eax
add esi, dword [ebp + ebx*4 + 0xc]
mov dword [esp], esi
and edx, ecx
mov eax, dword [esp + 0x48]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.00430290
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x74]
mov eax, dword [edx + eax*4]
mov ebx, dword [esp + 0x34]
lea ebp, [eax + ebx*8]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp dword [ebp], esi
setne cl
cmp dword [ebp + 4], edi
setne dl
or edx, ecx
test dl, dl
je 0x42e70f
lea eax, [eax + ebx*8 + 4]
mov dword [eax], edi
mov dword [ebp], esi
jmp 0x42e70f
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0042e070
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax*8]
mov dword [esp + 0x64], edx
lea eax, [ecx + eax*8 + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 8]
test byte [ecx], al
mov dword [esp], ecx
call fcn.00431a10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
mov edx, dword [esp + 0x74]
jmp 0x42e698
lea esi, [ecx + ebx*8]
mov dword [esi], 0x8000200
lea esi, [ecx + ebx*8 + 4]
mov dword [esi], 0x2000
inc ebx
cmp ebx, edx
jl 0x42e821
jmp 0x42e7d3
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0042e070
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
lea edx, [ecx + eax*8]
mov dword [esp + 0x60], edx
lea ebx, [ecx + eax*8 + 4]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 8]
test byte [ebp], al
mov dword [esp], ebp
call fcn.00431a10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [esp + 0x60]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
cmp ebx, eax
jbe 0x42e83b
jmp 0x42e818
call fcn.00465d00
jmp fcn.0042e4e0