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

Disassembly:
push 0xffffffffffffffff
push 0x4843c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
lea eax, [ebp + 0xa4]
mov dword [esp + 0x24], ebp
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x4207da
lea eax, [ebp + 0xa8]
jmp 0x4207dc
xor eax, eax
cmp dword [eax], esi
jne 0x4207e7
xor eax, eax
jmp 0x420a60
lea ecx, [ebp + 0x20]
call fcn.00419200
mov edi, eax
push 1
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.00424cd0
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x2c], ebx
jg 0x42080f
xor eax, eax
jmp 0x420a60
push 1
mov ecx, edi
call fcn.00424d10
cmp eax, esi
jg 0x420823
xor eax, eax
jmp 0x420a60
mov ecx, dword [ebp + 0xa8]
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call dword [0x48965c]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
push 1
push 1
mov eax, dword [ebp]
add edx, 0xffffffc4
mov dword [esp + 0x3c], eax
push esi
lea ecx, [eax + 0x14]
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], ecx
push eax
mov ecx, edi
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x48], edx
call fcn.00424cc0
mov ecx, dword [esp + 0x28]
add eax, 0x20
push eax
call fcn.0041a9c0
push 0x14
lea ecx, [esp + 0x34]
push esi
push ecx
call dword [0x489610]
mov ecx, dword [ebp]
add ecx, 0x14
mov dword [ebp], ecx
mov edx, dword [0x498080]
mov dword [esp + 0x10], edx
cmp ebx, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x14], esi
jle 0x420a24
push esi
push 1
mov ecx, edi
call fcn.00424d80
mov ebx, eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x420a13
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call dword [0x489328]
add esp, 8
test eax, eax
setge al
and eax, 0xff
mov dword [esp + 0x20], eax
je 0x420a13
mov ecx, dword [ebx + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x420a13
mov eax, dword [esp + 0x10]
mov edx, ecx
cmp eax, edx
mov dword [esp + 0x1c], edx
je 0x4209cf
mov edi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edi, edi
jge 0x42092e
lea edi, [eax - 0xc]
cmp edi, dword [0x498084]
jne 0x420935
mov edi, dword [edx - 0xc]
test edi, edi
jge 0x42098c
mov edi, dword [edx - 8]
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x24], edi
call fcn.00403af0
test eax, eax
je 0x4209cf
lea eax, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, eax
jb 0x420979
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], edi
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x4209cf
mov edx, dword [0x498084]
add eax, 0xfffffff4
cmp eax, edx
je 0x4209be
push ecx
call dword [0x4891e4]
test eax, eax
jg 0x4209b4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0047ab00
add esp, 4
mov ecx, dword [0x498080]
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [0x4891bc]
push 0
lea edx, [esi + 0x27d8]
push 0
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ebx
call fcn.00420d40
push 0x14
lea edx, [esp + 0x34]
push 0
push edx
call dword [0x489610]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
add ecx, 0x14
inc eax
mov dword [ebp], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x4208bd
mov ecx, dword [esp + 0x18]
call fcn.0041a210
mov eax, dword [esp + 0x10]
mov edx, dword [0x498084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x420a5c
add eax, 0xfffffff4
push eax
call dword [0x4891e4]
test eax, eax
jg 0x420a5c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0047ab00
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4