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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x498663
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x498618
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.00455f20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, 1
jbe 0x49865c
movzx ebx, byte [edx + 1]
cmp bl, 0x2d
jne 0x498607
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 0x4980a6
test ecx, ecx
jbe 0x498655
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x4980a6
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4985ff
cmp ecx, 1
jbe 0x49864e
movzx ebp, byte [edx + 1]
xchg ebp, eax
cmp al, 0x49
xchg ebp, eax
je 0x4985a9
xchg ebp, eax
cmp al, 0x4e
xchg ebp, eax
je 0x4985a9
movzx ebp, byte [ebx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4982f1
mov ebp, dword [esp + 0x88]
cmp ebp, 0x62
je 0x4982f1
cmp ebp, 0x47
jne 0x498590
mov ebp, dword [esp + 0x44]
cmp ebp, 0xffffffff
jne 0x4980fe
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 0x498143
inc esi
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x44], ebp
cmp esi, ecx
jge 0x498248
jae 0x498647
movzx ebx, byte [edx + esi]
cmp bl, 0x2e
jne 0x498169
mov ebx, 1
mov edi, dword [esp + 0x34]
jmp 0x498138
cmp bl, 0x45
je 0x49817c
cmp bl, 0x65
je 0x49817c
dec ebp
mov ebx, edi
mov edi, dword [esp + 0x34]
jmp 0x498138
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 0x4981f4
cmp ebp, edx
ja 0x498640
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.0044be80
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 0x498138
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5dfee0]
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.00437c50
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 0x4981a6
xchg edi, eax
test al, al
xchg edi, eax
jne 0x49825a
jmp 0x49853d
mov byte [edx + ecx], 0x30
dec ebp
mov ecx, esi
mov dword [esp + 0x38], ecx
test ebp, ebp
jle 0x4982aa
lea esi, [ecx + 1]
cmp esi, eax
jle 0x498253
mov dword [esp + 0x44], ebp
lea ebx, [0x5dfee0]
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.00437c50
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 0x498253
mov ebp, dword [esp + 0x30]
lea esi, [ebp + ecx]
mov dword [esp + 0x4c], esi
cmp esi, eax
ja 0x498502
cmp esi, eax
ja 0x498639
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.0044be80
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 0x4984c4
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4984ac
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4984ac
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x4984ac
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x49862b
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 0x49844a
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.00496570
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 0x498403
cmp ebp, esi
ja 0x498624
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.0044be80
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 [0x7db370]
test eax, eax
jne 0x4983f8
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x6c]
call fcn.0044b680
jmp 0x4983f4
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x5dfee0]
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.00437c50
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 0x4983ac
mov dword [esp + 0x64], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5dfee0]
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.00437c50
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 [0x7db370]
test edx, edx
jne 0x4984a5
mov dword [edi], eax
mov ebx, dword [esp + 0x78]
mov ebp, edi
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
jmp 0x498357
call fcn.0044b680
jmp 0x498491
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004966c0
add esp, 0x74
ret
test ecx, ecx
jbe 0x498632
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x498303
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.004966c0
add esp, 0x74
ret
lea ebx, [0x5dfee0]
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.00437c50
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 0x4982be
lea esi, [ecx + 1]
cmp esi, eax
jg 0x49854f
mov byte [edx + ecx], 0x2e
mov ecx, esi
jmp 0x49825a
mov dword [esp + 0x38], ecx
lea ebx, [0x5dfee0]
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.00437c50
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 0x498544
cmp ebp, 0x67
je 0x4980f0
cmp ebp, 0x76
je 0x4980f0
xor ebp, ebp
jmp 0x4980fe
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 0x4985cc
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4985f0
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004966c0
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 0x4985cc
inc edx
dec eax
dec ecx
jmp 0x4985cc
mov byte [edx], 0x20
jmp 0x4980a6
cmp bl, 0x2b
je 0x498075
mov byte [edx], 0x2b
jmp 0x498078
mov ecx, dword [esp + 0x8c]
jmp 0x49800c
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.00497fe0