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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x49ec5a
sub esp, 0xa0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.00498ce0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x49ec1e
mov dword [esp + 0x64], eax
mov dword [esp], 0xc
lea eax, [0x4d48c8]
mov dword [esp + 4], eax
call fcn.00424100
test eax, eax
jne 0x49ec11
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x49e6fe
mov edi, dword [esp + 0x34]
lea edx, [edi + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
cmp edx, ecx
jge 0x49ebd9
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x78], esi
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x94], ebp
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edi
lea esi, [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00497fd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
call fcn.004974e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea eax, [0x4cbc2b]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00437890
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
cmp edx, eax
jge 0x49ebb7
xor eax, eax
test al, al
je 0x49eaeb
mov ecx, dword [esp + 0x28]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jg 0x49eaad
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
lea esi, [eax + ecx*8 + 4]
mov dword [esi], edx
mov esi, dword [0x582c60]
lea edi, [eax + ecx*8]
test esi, esi
jne 0x49ea9f
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
lea eax, [0x4e4ae0]
test byte [eax], al
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.0049d010
movzx eax, byte [esp + 4]
test al, al
je 0x49e88b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1ff
call fcn.0047fb10
jmp 0x49e6e3
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00498080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1ff
call fcn.0047fb10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x49ea63
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0049d450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x241
mov dword [esp + 0xc], eax
call fcn.0047ea30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x49ea27
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00499590
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x49e9eb
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], ecx
lea eax, [0x4b73e0]
mov dword [esp], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x4e4760]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.0044c940
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.0047f490
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49e6e3
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc4], eax
nop
call fcn.004248c0
add esp, 0xa0
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
nop
call fcn.004248c0
add esp, 0xa0
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
nop
call fcn.004248c0
add esp, 0xa0
ret
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
nop
call fcn.004248c0
add esp, 0xa0
ret
mov eax, dword [esp + 0x5c]
call fcn.00447660
jmp 0x49e84d
lea eax, [0x4b4ee0]
mov dword [esp], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00434700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
jmp 0x49e824
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x4b4ee0]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00407030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
lea eax, [0x4d0018]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00484d00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
nop
call fcn.004248c0
add esp, 0xa0
ret
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402050
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x20]
jmp 0x49e805
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
nop
call fcn.004248c0
add esp, 0xa0
ret
nop
call fcn.004248c0
add esp, 0xa0
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
nop
call fcn.004248c0
add esp, 0xa0
ret
call fcn.00445f00
jmp fcn.0049e620