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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x499aca
sub esp, 0x94
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x499a78
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 + 0x9c]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ebx
call fcn.00457c30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp eax, 1
jbe 0x499ac3
movzx ebx, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp bl, 0x2d
jne 0x499a63
dec eax
lea ecx, [edx - 1]
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 9]
test bl, bl
je 0x499465
test eax, eax
jbe 0x499abc
movzx ebx, byte [ebp]
cmp bl, 0x2b
jne 0x499465
movzx ebx, byte [edx + 7]
test bl, bl
je 0x499a5a
cmp eax, 1
jbe 0x499ab5
movzx ebx, byte [ebp + 1]
lea esi, [ebp + 1]
cmp bl, 0x49
je 0x4999ff
cmp bl, 0x4e
je 0x4999ff
movzx ebx, byte [edx + 8]
test bl, bl
je 0x4999f2
mov ebx, dword [esp + 0xa8]
cmp ebx, 0x62
je 0x4999e5
cmp ebx, 0x47
jne 0x4999cc
mov ebx, dword [esp + 0x44]
cmp ebx, 0xffffffff
jne 0x4994ba
mov ebx, 6
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x57], 0
mov byte [esp + 0x5b], 0
mov esi, 1
xor edi, edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x57]
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
mov edx, 5
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
jmp 0x499515
inc esi
mov dword [esp + 0x34], edi
mov edi, edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
cmp esi, eax
jge 0x49962a
jae 0x499aae
movzx edx, byte [ebp + esi]
cmp dl, 0x2e
jne 0x49953c
mov edx, 1
mov edi, dword [esp + 0x34]
jmp 0x499507
cmp dl, 0x45
je 0x49954f
cmp dl, 0x65
je 0x49954f
dec ebx
mov edx, edi
mov edi, dword [esp + 0x34]
jmp 0x499507
mov dword [esp + 0x40], esi
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
sub eax, esi
mov edx, dword [esp + 0x30]
lea ebx, [eax + edx]
mov dword [esp + 0x50], ebx
sub ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, ebp
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
ja 0x4995d0
cmp ebx, ebp
ja 0x499aa7
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x74]
add edx, ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044c850
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x499aa0
mov ebp, dword [esp + 0x7c]
mov esi, eax
movzx edx, byte [esp + 0x2e]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
movzx edx, byte [esp + 0x2e]
jmp 0x499507
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], ecx
lea eax, [0x5eb1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00438d30
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
movzx edi, byte [esp + 0x2e]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
jmp 0x499579
xchg edi, eax
test al, al
xchg edi, eax
jne 0x49963d
jmp 0x499977
mov byte [ebp + eax], 0x30
dec ebx
mov eax, esi
mov dword [esp + 0x38], eax
test ebx, ebx
jle 0x49968e
lea esi, [eax + 1]
cmp esi, ecx
jle 0x499635
mov dword [esp + 0x44], ebx
lea edx, [0x5eb1c0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438d30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x499635
mov ebx, dword [esp + 0x30]
lea esi, [ebx + eax]
mov dword [esp + 0x50], esi
cmp esi, ecx
ja 0x499939
cmp esi, ecx
ja 0x499a99
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044c850
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x98]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4998f8
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4998dd
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4998dd
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x4998dd
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x499a8b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x7c], 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 0x49984e
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.00497920
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x3c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + edx - 1]
mov dword [esp + 0x50], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
cmp ebp, esi
ja 0x499804
cmp ebp, esi
ja 0x499a84
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], 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.0044c850
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [0x7703f0]
test eax, eax
jne 0x4997ef
mov eax, dword [esp + 0x8c]
mov dword [ecx], eax
add esp, 0x94
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040e9f0
jmp 0x4997e8
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], ecx
lea eax, [0x5eb1c0]
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.00438d30
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
jmp 0x499797
mov dword [esp + 0x84], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5eb1c0]
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.00438d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 8], edx
mov edx, dword [0x7703f0]
test edx, edx
jne 0x4998b2
mov dword [ebx], eax
mov ebp, ebx
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
mov ebx, dword [esp + 0x98]
jmp 0x49973c
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
jmp 0x49989b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00497a70
add esp, 0x94
ret
test ecx, ecx
jbe 0x499a92
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x4996e8
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.00497a70
add esp, 0x94
ret
lea edx, [0x5eb1c0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438d30
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
jmp 0x4996a1
lea esi, [eax + 1]
cmp esi, ecx
jg 0x49998a
mov byte [ebp + eax], 0x2e
mov eax, esi
jmp 0x49963d
mov dword [esp + 0x38], eax
lea edx, [0x5eb1c0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438d30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x49997e
cmp ebx, 0x67
je 0x4994ac
cmp ebx, 0x76
je 0x4994ac
xor ebx, ebx
jmp 0x4994ba
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4996d3
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4996d3
movzx ebx, byte [edx + 0xa]
mov byte [esp + 0x2d], bl
mov byte [edx + 0xa], 0
movzx edi, byte [ebp + 1]
xchg edi, eax
cmp al, 0x4e
xchg edi, eax
jne 0x499a20
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x499a4a
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00497a70
movzx eax, byte [esp + 0x2d]
mov ecx, dword [esp + 0x98]
mov byte [ecx + 0xa], al
add esp, 0x94
ret
movzx edi, byte [edx + 7]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x499a20
dec eax
dec ecx
mov ebp, esi
jmp 0x499a20
mov byte [ebp], 0x20
jmp 0x499465
cmp bl, 0x2b
je 0x499435
mov byte [ecx], 0x2b
mov ebp, ecx
mov ecx, edx
jmp 0x499439
mov ecx, dword [esp + 0xac]
jmp 0x4993c6
call fcn.00425d00
ud2
call fcn.00425ca0
ud2
call fcn.00425ca0
ud2
call fcn.00425d00
ud2
call fcn.00425d00
ud2
call fcn.00425d00
ud2
call fcn.00425ca0
ud2
call fcn.00425ca0
ud2
call fcn.00425ca0
ud2
call fcn.00425ca0
ud2
call fcn.0044a6e0
jmp fcn.00499390