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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497ad3
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x497a88
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.00455f40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, 1
jbe 0x497acc
movzx ebx, byte [edx + 1]
cmp bl, 0x2d
jne 0x497a77
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 0x497516
test ecx, ecx
jbe 0x497ac5
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x497516
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497a6f
cmp ecx, 1
jbe 0x497abe
movzx ebp, byte [edx + 1]
xchg ebp, eax
cmp al, 0x49
xchg ebp, eax
je 0x497a19
xchg ebp, eax
cmp al, 0x4e
xchg ebp, eax
je 0x497a19
movzx ebp, byte [ebx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497761
mov ebp, dword [esp + 0x88]
cmp ebp, 0x62
je 0x497761
cmp ebp, 0x47
jne 0x497a00
mov ebp, dword [esp + 0x44]
cmp ebp, 0xffffffff
jne 0x49756e
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 0x4975b3
inc esi
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x44], ebp
cmp esi, ecx
jge 0x4976b8
jae 0x497ab7
movzx ebx, byte [edx + esi]
cmp bl, 0x2e
jne 0x4975d9
mov ebx, 1
mov edi, dword [esp + 0x34]
jmp 0x4975a8
cmp bl, 0x45
je 0x4975ec
cmp bl, 0x65
je 0x4975ec
dec ebp
mov ebx, edi
mov edi, dword [esp + 0x34]
jmp 0x4975a8
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 0x497664
cmp ebp, edx
ja 0x497ab0
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.0044bea0
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 eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x4975a8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5e1800]
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.00437c70
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 0x497616
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4976ca
jmp 0x4979ad
mov byte [edx + ecx], 0x30
dec ebp
mov ecx, esi
mov dword [esp + 0x38], ecx
test ebp, ebp
jle 0x49771a
lea esi, [ecx + 1]
cmp esi, eax
jle 0x4976c3
mov dword [esp + 0x44], ebp
lea ebx, [0x5e1800]
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.00437c70
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 0x4976c3
mov ebp, dword [esp + 0x30]
lea esi, [ebp + ecx]
mov dword [esp + 0x4c], esi
cmp esi, eax
ja 0x497972
cmp esi, eax
ja 0x497aa9
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.0044bea0
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 0x497934
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49791c
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49791c
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x49791c
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x497a9b
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 0x4978ba
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.004959e0
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 0x497873
cmp ebp, esi
ja 0x497a94
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.0044bea0
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 [0x7d95f0]
test eax, eax
jne 0x497868
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x6c]
call fcn.0044b6a0
jmp 0x497864
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x5e1800]
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.00437c70
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 0x49781c
mov dword [esp + 0x64], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5e1800]
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.00437c70
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 [0x7d95f0]
test edx, edx
jne 0x497915
mov dword [edi], eax
mov ebx, dword [esp + 0x78]
mov ebp, edi
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
jmp 0x4977c7
call fcn.0044b6a0
jmp 0x497901
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00495b30
add esp, 0x74
ret
test ecx, ecx
jbe 0x497aa2
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x497773
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.00495b30
add esp, 0x74
ret
lea ebx, [0x5e1800]
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.00437c70
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 0x49772e
lea esi, [ecx + 1]
cmp esi, eax
jg 0x4979bf
mov byte [edx + ecx], 0x2e
mov ecx, esi
jmp 0x4976ca
mov dword [esp + 0x38], ecx
lea ebx, [0x5e1800]
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.00437c70
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 0x4979b4
cmp ebp, 0x67
je 0x497560
cmp ebp, 0x76
je 0x497560
xor ebp, ebp
jmp 0x49756e
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 0x497a3c
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x497a60
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00495b30
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 0x497a3c
inc edx
dec eax
dec ecx
jmp 0x497a3c
mov byte [edx], 0x20
jmp 0x497516
cmp bl, 0x2b
je 0x4974e5
mov byte [edx], 0x2b
jmp 0x4974e8
mov ecx, dword [esp + 0x8c]
jmp 0x49747c
call fcn.00425980
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425980
ud2
call fcn.00425980
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00449f40
jmp fcn.00497450