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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x612c9a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.006295c0
movzx eax, byte [esp + 4]
test al, al
je 0x612a71
movzx eax, byte [esp + 0x54]
test al, al
je 0x612a76
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call fcn.006298d0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x612a06
nop
mov eax, dword [0x8c06bc]
lea ecx, [0x731d80]
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 1
call fcn.0061d4c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x612a59
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
add esp, 0x40
ret
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
movzx eax, byte [esp + 0x54]
mov eax, dword [esp + 0x44]
test byte [eax], al
lea ecx, [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.0046b400
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0xc]
lea edx, [0x68fd80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
call fcn.00410250
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
xor edx, edx
jmp 0x612bc2
movzx eax, byte [esp + 0x54]
test al, al
je 0x612c6e
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call fcn.006298d0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
jne 0x612b10
nop
mov edx, dword [0x8c06bc]
lea ecx, [0x731d80]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
call fcn.00612cb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.0046b780
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004057d0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00613c90
movzx eax, byte [esp + 8]
test al, al
jne 0x612a76
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x612c5a
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.0061ee70
movzx eax, byte [esp + 4]
test al, al
je 0x612a76
jmp 0x612c3e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp edx, eax
jge 0x612acc
mov dword [esp + 0x24], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.0061ee70
movzx eax, byte [esp + 4]
test al, al
je 0x612bb3
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x19]
test cl, cl
jne 0x612c12
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.006298d0
mov eax, dword [esp + 0x30]
mov byte [eax + 0x19], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.0046b780
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
add esp, 0x40
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0046b780
mov eax, dword [0x8bb710]
mov ecx, dword [0x8bb714]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x40
ret
call fcn.00462d80
jmp fcn.00612990