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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x498752
sub esp, 0x60
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
xor eax, eax
jmp 0x4984b6
inc eax
cmp edx, eax
jle 0x4984dc
jbe 0x49874a
movzx ebp, byte [ebx + eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4984b5
xor eax, eax
lea ecx, [0x7038b8]
lea ebp, [0x702798]
xor esi, esi
jmp 0x498513
lea eax, [0x65f440]
mov dword [esp], eax
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00448270
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
xor ecx, ecx
xor ebp, ebp
mov esi, eax
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x49851b
xor esi, esi
jmp 0x498527
test eax, eax
jbe 0x498741
xor ecx, ecx
xor ebp, ebp
test ecx, ecx
jne 0x49872d
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.0045d570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4986b1
mov dword [esp + 0x1c], eax
mov dword [esp], eax
call fcn.0049ad80
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
lea edx, [0x675900]
mov dword [esp], edx
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call fcn.00408cb0
mov eax, dword [esp + 4]
lea ecx, [0x7038b8]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x4985af
mov dword [edx + 4], eax
jmp 0x4985b7
lea edi, [edx + 4]
call fcn.0045f830
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0xc], ecx
mov ebx, dword [0x894e10]
test ebx, ebx
jne 0x4985d1
mov ebx, dword [esp + 0x68]
mov dword [edx + 8], ebx
jmp 0x4985df
lea edi, [edx + 8]
mov eax, dword [esp + 0x68]
call fcn.0045f830
mov ebx, eax
lea edi, [esp + 0x30]
xor eax, eax
call fcn.0045fac4
lea ecx, [0x694161]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], ecx
lea ecx, [0x693a32]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0xe
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
lea ecx, [0x6909f7]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 2
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
mov dword [esp + 0xc], 6
call fcn.0044b750
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x49868f
mov dword [edx + 0x10], eax
jmp 0x498697
lea edi, [edx + 0x10]
call fcn.0045f830
mov dword [esp + 0x70], 0
lea eax, [0x70341c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x60
ret
mov dword [esp + 0x20], ecx
lea eax, [0x675a00]
mov dword [esp], eax
call fcn.0040b400
mov edi, dword [esp + 4]
mov eax, dword [0x894e10]
test eax, eax
jne 0x4986d9
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x4986e2
mov eax, dword [esp + 0x64]
call fcn.0045f830
mov ecx, dword [esp + 0x6c]
mov dword [edi + 8], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x4986fc
mov eax, dword [esp + 0x68]
mov dword [edi + 4], eax
jmp 0x49870e
lea ecx, [edi + 4]
mov eax, dword [esp + 0x68]
mov edx, edi
mov edi, ecx
call fcn.0045f830
mov edi, edx
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x60
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebp
add esp, 0x60
ret
mov ecx, eax
xor eax, eax
call fcn.0045f8b0
mov ecx, edx
call fcn.0045f8b0
nop
call fcn.0045e420
jmp fcn.00498490