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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x491afc
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x491aaa
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [eax + 0x18]
test byte [edx], al
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x88]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], ebx
call fcn.004532b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, 1
jbe 0x491af5
movzx ebx, byte [edx + 1]
cmp bl, 0x2d
jne 0x491a99
inc edx
dec eax
dec ecx
mov ebx, dword [esp + 0x78]
movzx ebp, byte [ebx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491516
test ecx, ecx
jbe 0x491aee
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x491516
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491a91
cmp ecx, 1
jbe 0x491ae7
movzx ebp, byte [edx + 1]
xchg ebp, eax
cmp al, 0x49
xchg ebp, eax
je 0x491a3b
xchg ebp, eax
cmp al, 0x4e
xchg ebp, eax
je 0x491a3b
movzx ebp, byte [ebx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49177b
mov ebp, dword [esp + 0x88]
cmp ebp, 0x62
je 0x49177b
cmp ebp, 0x47
jne 0x491a22
mov ebp, dword [esp + 0x44]
cmp ebp, 0xffffffff
jne 0x49156e
mov ebp, 6
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x53], 0
mov byte [esp + 0x57], 0
mov esi, 1
xor edi, edi
lea esi, [esp + 0x53]
mov dword [esp + 0x58], esi
mov esi, 5
mov dword [esp + 0x34], esi
xor esi, esi
mov dword [esp + 0x30], esi
mov esi, 1
jmp 0x4915b3
inc esi
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x44], ebp
cmp esi, ecx
jge 0x4916ca
jae 0x491ae0
movzx ebx, byte [edx + esi]
cmp bl, 0x2e
jne 0x4915d9
mov ebx, 1
mov edi, dword [esp + 0x34]
jmp 0x4915a8
cmp bl, 0x45
je 0x4915ec
cmp bl, 0x65
je 0x4915ec
dec ebp
mov ebx, edi
mov edi, dword [esp + 0x34]
jmp 0x4915a8
mov dword [esp + 0x40], esi
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
sub ecx, esi
mov ebx, dword [esp + 0x30]
lea ebp, [ecx + ebx]
mov dword [esp + 0x4c], ebp
sub eax, esi
neg eax
sar eax, 0x1f
and eax, esi
add eax, edx
mov edx, dword [esp + 0x34]
cmp ebp, edx
ja 0x491676
test ebp, ebp
jl 0x491ad9
cmp ebp, edx
ja 0x491ad9
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044bd00
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x491ad2
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
mov ecx, esi
movzx ebx, byte [esp + 0x2e]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, esi
jmp 0x4915a8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5b38a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00437cd0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
movzx edi, byte [esp + 0x2e]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
jmp 0x491616
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4916dc
jmp 0x4919cf
mov byte [edx + ecx], 0x30
dec ebp
mov ecx, esi
mov dword [esp + 0x38], ecx
test ebp, ebp
jle 0x49172c
lea esi, [ecx + 1]
cmp esi, eax
jle 0x4916d5
mov dword [esp + 0x44], ebp
lea ebx, [0x5b38a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00437cd0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x4916d5
mov ebp, dword [esp + 0x30]
lea esi, [ebp + ecx]
mov dword [esp + 0x4c], esi
cmp esi, eax
ja 0x491994
test esi, esi
jl 0x491acb
cmp esi, eax
ja 0x491acb
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], eax
lea eax, [edx + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0044bd00
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x78]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491956
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49193e
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49193e
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x49193e
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x491abd
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], edx
movzx esi, byte [edx]
mov edi, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
cmp ecx, eax
jg 0x4918dc
lea eax, [edi + 1]
mov dword [ebp + 4], eax
xchg esi, eax
mov byte [edx + edi], al
xchg esi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0048f9b0
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x3c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x60]
add ecx, edx
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + edx - 1]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
cmp ebp, esi
ja 0x491895
test ebp, ebp
jl 0x491ab6
cmp ebp, esi
ja 0x491ab6
mov dword [esp + 0x48], esi
mov dword [esp + 0x6c], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call fcn.0044bd00
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x784e70]
test eax, eax
jne 0x49188a
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x6c]
call fcn.0044b500
jmp 0x491886
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x5b38a0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00437cd0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x4c]
jmp 0x491836
mov dword [esp + 0x64], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5b38a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00437cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x64]
mov dword [edi + 8], edx
mov edx, dword [0x784e70]
test edx, edx
jne 0x491937
mov dword [edi], eax
mov ebx, dword [esp + 0x78]
mov ebp, edi
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
jmp 0x4917e1
call fcn.0044b500
jmp 0x491923
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0048fb00
add esp, 0x74
ret
test ecx, ecx
jbe 0x491ac4
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x49178d
mov dword [esp], ebx
dec eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0048fb00
add esp, 0x74
ret
lea ebx, [0x5b38a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00437cd0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
jmp 0x491740
lea esi, [ecx + 1]
cmp esi, eax
jg 0x4919e1
mov byte [edx + ecx], 0x2e
mov ecx, esi
jmp 0x4916dc
mov dword [esp + 0x38], ecx
lea ebx, [0x5b38a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00437cd0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x4919d6
cmp ebp, 0x67
je 0x491560
cmp ebp, 0x76
je 0x491560
xor ebp, ebp
jmp 0x49156e
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
mov byte [esp + 0x2d], al
xchg ebp, eax
mov byte [ebx + 0xa], 0
movzx esi, byte [edx + 1]
xchg esi, eax
cmp al, 0x4e
xchg esi, eax
jne 0x491a5e
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x491a82
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0048fb00
movzx eax, byte [esp + 0x2d]
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0xa], al
add esp, 0x74
ret
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x491a5e
inc edx
dec eax
dec ecx
jmp 0x491a5e
mov byte [edx], 0x20
jmp 0x491516
cmp bl, 0x2b
je 0x4914e5
mov byte [edx], 0x2b
jmp 0x4914e8
mov ecx, dword [esp + 0x8c]
jmp 0x49147c
call fcn.00425a00
ud2
call fcn.00425900
ud2
call fcn.00425900
ud2
call fcn.00425a00
ud2
call fcn.00425a00
ud2
call fcn.00425a00
ud2
call fcn.00425900
ud2
call fcn.00425900
ud2
call fcn.00425900
ud2
call fcn.00425900
ud2
call fcn.00449da0
jmp fcn.00491450