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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x608828
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
movzx ecx, byte [esp + 0x78]
mov byte [esp + 0x11], cl
lea edx, [eax + 0x4c]
mov dword [esp + 0x60], edx
mov dword [esp], edx
mov byte [esp + 4], cl
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0xc], ebp
call fcn.00603bb0
mov eax, dword [0x1eaa9f0]
mov ecx, dword [esp + 0x74]
test eax, eax
jne 0x6085d8
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x54], ecx
jmp 0x6085e6
mov ebx, dword [esp + 0x70]
lea edi, [ebx + 0x54]
mov eax, ecx
call fcn.00465d80
movzx ebp, byte [esp + 0x11]
xchg ebp, ebx
movzx eax, bl
xchg ebp, ebx
cmp eax, 2
jae 0x60881d
lea ebp, [eax + eax*2]
mov dword [esp + 0x28], ebp
mov eax, ebx
mov ebx, dword [ebx + ebp*4 + 0x18]
mov dword [esp + 0x68], ebx
mov ecx, ebp
mov ebp, dword [eax + ebp*4 + 0x1c]
mov dword [esp + 0x24], ebp
xor edx, edx
xor esi, esi
jmp 0x608623
inc edx
mov ebp, dword [esp + 0x24]
mov ebx, edi
cmp edx, ebp
jge 0x6086c4
mov dword [esp + 0x14], edx
mov edi, ebx
lea ebx, [ebx + edx*8]
mov ebp, dword [ebx]
mov dword [esp + 0x64], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x20], ebx
jmp 0x6086df
test ebp, ebp
je 0x60861c
mov eax, dword [ebp]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov edx, ebp
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x608680
mov eax, dword [esp + 0x70]
jmp 0x6086af
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.005e1c50
lea edi, [esp + 0x44]
lea esi, [esp + 4]
call fcn.004664e2
mov eax, dword [esp + 0x70]
lea edi, [eax + 0xf0]
lea esi, [esp + 0x44]
call fcn.004664e2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x68]
jmp 0x60861c
add esp, 0x6c
ret
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 1]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], esi
cmp esi, ebx
jge 0x608646
mov ebp, dword [eax + ecx*4]
mov ebx, dword [eax + ecx*4 + 4]
cmp esi, ebx
jae 0x608814
shl esi, 4
add esi, ebp
lea edi, [esp + 0x50]
call fcn.004664d8
movzx ecx, word [esp + 0x50]
mov word [esp + 0x12], cx
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
movzx ecx, cx
cmp ebx, ecx
jbe 0x60880b
shl ecx, 5
mov dword [esp + 0x1c], ecx
lea ebx, [ebp + ecx + 0x14]
lea edi, [esp + 0x2c]
mov esi, ebx
call fcn.004664e2
lea esi, [eax + 0xf0]
lea edi, [esp + 0x38]
call fcn.004664e2
mov ecx, dword [esp + 0x1c]
add ecx, ebp
mov ebx, dword [esp + 0x38]
and ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x6086c8
mov ebx, dword [esp + 0x3c]
and ebx, dword [esp + 0x30]
test ebx, ebx
je 0x6086c8
mov ebx, dword [esp + 0x40]
and ebx, dword [esp + 0x34]
test ebx, ebx
je 0x6086c8
movzx ebx, word [esp + 0x12]
mov word [eax + 0x170], bx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 0x164], ebx
movzx ebx, byte [esp + 0x53]
mov byte [eax + 0x175], bl
movzx ebx, byte [esp + 0x52]
mov byte [eax + 0x174], bl
movzx ebx, byte [esp + 0x54]
mov byte [eax + 0x178], bl
movzx ebx, byte [esp + 0x55]
mov byte [eax + 0x176], bl
mov ebx, dword [eax + 0x50]
mov ebp, dword [ebx + 4]
cmp dword [ebx + 0x5c], ebp
jl 0x608807
mov eax, dword [esp + 0x74]
movzx edx, byte [esp + 0x78]
movzx ebx, byte [esp + 0x79]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov byte [esp + 8], dl
mov byte [esp + 9], bl
mov dword [esp + 0xc], ecx
call fcn.005fc9e0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
jmp 0x6086c8
add esp, 0x6c
ret
mov eax, ecx
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov ecx, 2
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00608570