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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f1e9
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.0040bf20
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0042e5f0
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.0042e5f0
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 0x42ef6b
mov dword [esp + 0x3c], eax
movzx ebp, byte [esp + 0x80]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x42eebc
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x58], esi
jmp 0x42f1e0
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.0042e9b0
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.00432350
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 0x42ef47
xor ebx, ebx
jmp 0x42f175
test edx, edx
je 0x42f113
mov dword [esp], ecx
shl edx, 3
mov dword [esp + 4], edx
call fcn.0046a2d0
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x3c]
jmp 0x42f113
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.0042e9b0
mov eax, dword [esp + 8]
test byte [eax], al
mov dword [esp], eax
call fcn.00432350
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 0x42efd4
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 0x42efd8
add esp, 0x70
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov ebx, 2
mov ebp, 1
jmp 0x42f001
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 0x42f04b
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42f04b
mov dword [esp + 0x30], ebx
lea edx, [0x4b0480]
mov ebp, dword [edx + ebx*4 + 4]
mov dword [esp + 0x2c], ebp
lea esi, [0x4b04a0]
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.0042e740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x42f05e
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 0x42efec
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.00430bd0
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 0x42f04f
lea eax, [eax + ebx*8 + 4]
mov dword [eax], edi
mov dword [ebp], esi
jmp 0x42f04f
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0042e9b0
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.00432350
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 0x42efd8
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 0x42f161
jmp 0x42f113
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0042e9b0
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.00432350
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 0x42f17b
jmp 0x42f158
call fcn.004688b0
jmp fcn.0042ee20