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

Disassembly:
mov ecx, dword [0x5db520]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x493dd8
sub esp, 0x74
lea edi, [esp]
lea esi, [esp + 0x78]
call fcn.0046e18e
call fcn.00494300
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.004992d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 4
call fcn.00490280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x49395d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x2d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x4939c1
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x2d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x493a25
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov byte [ecx + edx - 1], 0x54
nop
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x15180
mov dword [esp + 0xc], 0
call fcn.00460410
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, 0x91a2b3c5
imul ecx
mov eax, dword [esp + 0x50]
lea ecx, [eax + edx]
sar ecx, 0xb
sar eax, 0x1f
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x3c]
imul edx, edx, 0xe10
mov ebx, dword [esp + 0x50]
sub ebx, edx
mov edx, eax
mov eax, 0x88888889
mov ebp, edx
imul ebx
lea eax, [ebx + edx]
sar eax, 5
mov edx, ebx
sar ebx, 0x1f
sub eax, ebx
imul ebx, eax, 0x3c
mov esi, dword [esp + 0x14]
sub edx, ebx
mov dword [esp + 0x2c], edx
cmp ebp, ecx
jae 0x493b1f
mov dword [esp + 0x38], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov byte [ecx + esi - 1], 0x3a
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x493b7f
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x3a
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebx, byte [esp + 0x98]
test bl, bl
je 0x493c04
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0046e18e
mov ecx, dword [esp + 0x5c]
and ecx, 0x3fffffff
nop
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x90023
call fcn.00490620
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x493c5d
inc ecx
cmp edx, ecx
jae 0x493c3f
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x5a
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x74
ret
mov ebp, eax
mov eax, 0x88888889
mov esi, edx
imul ebx
add edx, ebx
sar edx, 5
sar ebx, 0x1f
mov edi, edx
sub edx, ebx
test edx, edx
jge 0x493cc8
inc ecx
cmp esi, ecx
jae 0x493cbf
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ebp, eax
mov esi, edx
mov byte [ecx + ebp - 1], 0x2d
sub ebx, edi
jmp 0x493d0e
inc ecx
cmp esi, ecx
jae 0x493d07
mov dword [esp + 0x28], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov esi, edx
mov edx, dword [esp + 0x28]
mov byte [ecx + ebp - 1], 0x2b
mov ebx, edx
mov dword [esp + 0x28], ebx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov eax, ebx
mov ecx, 0x88888889
imul ecx
lea ecx, [edx + ebx]
sar ecx, 5
sar ebx, 0x1f
sub ecx, ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00490280
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc edx
mov ebx, dword [esp + 0x14]
cmp ecx, edx
jae 0x493d85
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4d9880]
mov dword [esp + 0x10], eax
call fcn.00468da0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [edx + ebx - 1], 0x3a
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x58]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00490280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x74
ret
call fcn.0046c6d0
jmp fcn.00493890