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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x608564
sub esp, 0x64
movzx edx, word [esp + 0x74]
cmp dx, 0xffff
jne 0x60832d
xor edx, edx
xor ebx, ebx
jmp 0x6083ad
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
jne 0x608358
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
movzx eax, dx
cmp ecx, eax
jbe 0x60855e
lea edx, [eax + eax*4]
mov ebx, dword [ebp + edx*4 + 4]
mov edx, dword [ebp + edx*4 + 8]
jmp 0x6083ad
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x608559
imul ebx, eax, 0x1c
mov eax, edx
mov edx, dword [ebp + ebx + 0x10]
mov ebx, dword [ebp + ebx + 0x14]
xor ecx, ecx
jmp 0x608385
add edx, 0x14
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
cmp ecx, ebx
jge 0x6083a9
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x50]
mov esi, edx
call fcn.004664ce
cmp word [esp + 0x50], ax
jne 0x60837b
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
jmp 0x6083ad
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
movzx esi, byte [esp + 0x83]
movzx edi, byte [esp + 0x82]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
jmp 0x608436
mov ebp, ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + ecx*4 + 4], edx
lea ecx, [edx - 1]
shl ecx, 4
add ecx, ebp
mov edi, ecx
lea esi, [esp + 0x34]
call fcn.004664d8
mov ecx, dword [esp + 0x28]
inc ecx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov edx, esi
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
movzx esi, byte [esp + 0x83]
movzx edi, byte [esp + 0x82]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x28]
cmp ebp, edx
jge 0x60854b
movzx ebx, word [ebx + ebp*2]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edx
mov word [esp + 0x34], bx
movzx ebx, byte [esp + 0x80]
mov byte [esp + 0x36], bl
movzx ebx, byte [esp + 0x81]
mov byte [esp + 0x37], bl
xchg edi, eax
mov byte [esp + 0x38], al
xchg edi, eax
xchg esi, eax
mov byte [esp + 0x39], al
xchg esi, eax
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x68]
test byte [ebx], al
cmp eax, 2
jae 0x60854f
lea ecx, [eax + eax*2]
mov dword [esp + 0x24], ecx
mov edx, dword [ebx + ecx*4]
mov dword [esp + 0x4c], edx
mov ebp, dword [ebx + ecx*4 + 8]
mov edx, dword [ebx + ecx*4 + 4]
inc edx
lea ecx, [ebx + ecx*4]
cmp ebp, edx
jb 0x6084d1
mov ecx, dword [esp + 0x4c]
jmp 0x6083e4
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6d13a0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x68]
mov dword [ebp + ebx*4 + 8], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x608523
mov dword [ebp + ebx*4], eax
jmp 0x60852c
mov edi, dword [esp + 0x48]
call fcn.00465d80
mov ebx, ebp
movzx esi, byte [esp + 0x83]
movzx edi, byte [esp + 0x82]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
jmp 0x6083e4
add esp, 0x64
ret
mov ecx, 2
call fcn.00465e00
call fcn.00465e00
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00608300