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

Disassembly:
mov ecx, dword [0x58a7d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497ee0
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x497ef0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x23], 1
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x497e40
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x497d13
mov edx, dword [eax + 0x6c]
mov ebx, dword [eax + 0x70]
test edx, edx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
jne 0x497df9
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00406630
movzx eax, byte [esp + 8]
test al, al
jne 0x497dd8
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0047dd20
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x98]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov dword [esp], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044ab80
mov eax, dword [esp + 0x18]
test eax, eax
je 0x497db7
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x2c], edx
xor ebx, ebx
jmp 0x497e88
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00405e20
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x30], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
cmp ebx, edx
jl 0x497e61
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00405e20
mov eax, dword [0x548598]
mov ecx, dword [0x54859c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
call fcn.00466850
jmp fcn.00497c20