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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x609614
sub esp, 0x48
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
xor eax, eax
xor ecx, ecx
jmp 0x60936c
inc eax
cmp ebp, eax
jbe 0x60938f
cmp ebx, eax
jbe 0x60960c
mov esi, dword [edx + eax*4]
test esi, esi
je 0x60936b
cmp ecx, 4
jae 0x60938a
mov dword [esp + ecx*4 + 0x38], eax
jmp 0x60938c
ja 0x60938f
inc ecx
jmp 0x60936b
mov edx, dword [esp + 0x5c]
dec edx
xor eax, eax
jmp 0x60939b
shr edx, 1
inc eax
test edx, edx
jne 0x609398
mov dword [esp + 0x34], eax
cmp ecx, 1
jbe 0x6093b7
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
xor edi, edi
jmp 0x609484
mov dword [esp], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x18], ebx
call fcn.006322d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
call fcn.006322d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jbe 0x60947a
mov edx, dword [esp + 0x6c]
mov byte [edx + eax], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
jbe 0x609475
mov ecx, dword [esp + 0x78]
mov word [ecx + eax*2], 0
add esp, 0x48
ret
call fcn.00456b50
call fcn.00456b50
mov byte [edx + edi], 0
inc edi
cmp ebp, edi
jle 0x609491
cmp esi, edi
ja 0x60947f
jmp 0x609603
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x28], edi
call fcn.00621130
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x18], ebp
call fcn.00622090
mov eax, dword [esp + 0x30]
cmp eax, 4
ja 0x609597
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
call fcn.00608af0
jmp 0x6095ff
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
call fcn.00608fc0
add esp, 0x48
ret
mov eax, edi
mov ecx, esi
call fcn.00456b40
mov ecx, ebx
call fcn.00456b50
nop
call fcn.00455690
jmp fcn.00609320