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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x491159
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00491170
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x491124
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [0x5a5c80]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00438ab0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + 4]
lea ebp, [0x5a5dc0]
mov dword [esp], ebp
inc ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00438ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
xor ebx, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
jmp 0x491064
mov eax, dword [esp + 0x38]
shl eax, 1
mov dword [esp + 0x30], eax
lea eax, [0x5a5dc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.00438ab0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
test ecx, ecx
jbe 0x491152
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0048ba90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x490ffb
je 0x490ff0
mov edx, dword [eax + 4]
lea ebx, [0x5b80c0]
cmp ebx, edx
jne 0x490fe9
mov edx, dword [ecx]
cmp edx, 0xea
je 0x490e7e
test eax, eax
je 0x490fc2
mov edx, dword [eax + 4]
cmp ebx, edx
jne 0x490fc2
mov edx, dword [ecx]
cmp edx, 0x103
jne 0x490fc2
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x490f97
mov eax, dword [0x6ee9b8]
mov edx, dword [0x6ee9bc]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
add esp, 0x64
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
test eax, eax
jmp 0x490f49
lea ebx, [0x5b80c0]
jmp 0x490f49
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x49114b
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004890f0
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jg 0x4910b3
mov esi, dword [esp + 0x60]
lea edi, [esi + eax*8 + 4]
mov dword [edi], ebx
mov ebx, dword [0x7016d0]
lea eax, [esi + eax*8]
test ebx, ebx
jne 0x49108d
mov dword [eax], edx
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x6c]
test ebp, ebp
jle 0x491078
cmp ebp, edi
je 0x4910fd
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
jmp 0x490ec2
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ef10
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
jmp 0x49104f
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], ebx
lea edx, [0x5a5c80]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00438c30
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
jmp 0x49103a
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
call fcn.00425cf0
ud2
call fcn.00425c90
ud2
call fcn.0044a520
jmp fcn.00490dd0