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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x49a643
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jne 0x499dfb
movsd xmm0, qword [esp + 0x108]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x810598]
jmp 0x499e2a
cmp edx, 0x40
jne 0x49a62a
movsd xmm0, qword [esp + 0x108]
movsd qword [esp + 0x98], xmm0
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
lea eax, [0x8105a8]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov esi, dword [eax]
lea edi, [esi + ecx - 0x20]
mov ecx, edi
shr ebp, cl
mov dword [esp + 0x90], ebp
neg ecx
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x58]
shl edx, cl
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x94]
lea eax, [edx + esi]
mov ecx, eax
mov ebp, dword [esp + 0x58]
shr ebp, cl
mov dword [esp + 0x84], ebp
shr ebx, cl
mov dword [esp + 0x80], ebx
mov ecx, esi
mov ebp, dword [esp + 0x54]
shr ebp, cl
mov dword [esp + 0x7c], ebp
lea ebp, [ecx - 0x20]
mov dword [esp + 0x78], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x58]
shr ebx, cl
mov dword [esp + 0x74], ebx
neg ecx
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x58]
shl ebx, cl
mov dword [esp + 0x6c], ebx
mov ecx, edx
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x70]
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x64], ebx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
mov ecx, esi
mov edx, 1
shl edx, cl
mov dword [esp + 0x60], edx
cmp edi, 0x20
sbb edi, edi
mov edx, dword [esp + 0x90]
and edi, edx
cmp eax, 0x20
sbb edx, edx
mov dword [esp + 0x90], edx
mov eax, ebx
mov ebx, dword [esp + 0x80]
and ebx, edx
mov ebp, dword [esp + 0x8c]
cmp ebp, 0x20
sbb ebp, ebp
mov edx, dword [esp + 0x88]
and ebp, edx
or ebx, ebp
or edi, ebx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
test ebx, edx
setne dl
test edi, edi
setne bl
or edx, ebx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x74]
and ebp, ebx
and eax, ebx
mov ebx, dword [esp + 0x94]
cmp ebx, 0x20
sbb ebx, ebx
mov edi, edx
mov edx, dword [esp + 0x68]
and ebx, edx
lea edx, [ebx - 1]
cmp ecx, 0x20
sbb ebx, ebx
mov ecx, edx
mov edx, dword [esp + 0x7c]
and edx, ebx
mov esi, ebp
mov ebp, dword [esp + 0x60]
and ebp, ebx
mov dword [esp + 0x90], ebp
mov ebx, dword [esp + 0x70]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x6c]
and ebp, ebx
or edx, ebp
or esi, edx
and esi, ecx
mov edx, dword [esp + 0x64]
and edx, ebx
or eax, edx
mov edx, dword [esp + 0x90]
add edx, 0xffffffff
mov ebp, eax
adc eax, 0xffffffff
mov ebx, dword [esp + 0x54]
and edx, ebx
mov ebx, dword [esp + 0x58]
and eax, ebx
cmp esi, ecx
jne 0x49a0c0
test eax, eax
setne al
test edx, edx
setne cl
or eax, ecx
test al, al
je 0x499fe6
mov eax, 3
lea ecx, [0x681733]
jmp 0x49a004
xchg edi, eax
test al, al
xchg edi, eax
je 0x499ff9
mov eax, 4
lea ecx, [0x681870]
jmp 0x49a004
mov eax, 4
lea ecx, [0x68186c]
mov edx, dword [esp + 0x100]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0x104]
cmp ebp, ebx
jb 0x49a022
mov esi, dword [esp + 0xfc]
jmp 0x49a074
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x64c660]
mov dword [esp + 0x10], ecx
call fcn.0044fab0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x100]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0xe0], esi
mov dword [esp + 0x5c], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046af80
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x124], eax
add esp, 0xf8
ret
test esi, esi
jne 0x49a0cb
mov esi, 1
jmp 0x49a0d6
or eax, ebp
mov ecx, dword [esp + 0x90]
or edx, ecx
mov ecx, dword [esp + 0xdc]
add esi, dword [ecx + 8]
movzx ebx, byte [esp + 0x110]
cmp bl, 0x62
je 0x49a5c7
cmp bl, 0x78
je 0x49a0fb
cmp bl, 0x58
jne 0x49a16d
mov ebp, dword [esp + 0xfc]
mov dword [esp], ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x114]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
call fcn.0049ba10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
movzx ebp, byte [0x810441]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49a555
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
mov dword [esp + 0x44], eax
mov ebp, edi
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.0046a88b
mov ecx, dword [esp + 0x114]
test ecx, ecx
jl 0x49a3c9
cmp bl, 0x66
je 0x49a342
mov dword [esp + 0x40], edx
cmp bl, 0x47
ja 0x49a1d5
cmp bl, 0x45
je 0x49a1da
cmp bl, 0x47
jne 0x49a1c7
test ecx, ecx
jmp 0x49a1fa
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jmp 0x49a22f
cmp bl, 0x65
jne 0x49a1f3
lea edi, [ecx + 1]
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, edi
mov dword [esp + 0x68], ecx
mov edi, dword [esp + 0x40]
jmp 0x49a238
cmp bl, 0x67
jne 0x49a223
test ecx, ecx
jne 0x49a20f
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, 1
jmp 0x49a21d
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, ecx
mov dword [esp + 0x68], edx
jmp 0x49a238
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x4c], esi
lea edi, [esp + 0xa0]
call fcn.0046a88a
jne 0x49a2b5
cmp edx, 9
jg 0x49a2b5
lea eax, [esp + 0xa0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], 0x18
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
lea ebx, [esp + 0xe4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
sub esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
call fcn.0049c2e0
movzx ebx, byte [esp + 0x110]
movzx ebp, byte [esp + 0x3b]
mov esi, dword [esp + 0x4c]
mov eax, 1
jmp 0x49a32f
cmp edx, 0x12
jg 0x49a32c
mov dword [esp + 0x50], edx
lea eax, [esp + 0xa0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], 0x18
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
lea ebx, [esp + 0xe4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
sub esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.0049c640
mov eax, dword [esp + 0x50]
cmp eax, 0x12
movzx ebx, byte [esp + 0x110]
movzx ebp, byte [esp + 0x3b]
mov esi, dword [esp + 0x4c]
setle al
mov edx, dword [esp + 0x40]
mov edi, eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x114]
jmp 0x49a346
mov eax, ecx
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x49a353
test eax, eax
jmp 0x49a4db
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], bl
xchg ebp, eax
mov byte [esp + 0x11], al
xchg ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
call fcn.0049a650
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
lea edi, [esp + 0xb8]
call fcn.0046a888
lea ecx, [esp + 0xb8]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 0x20
mov dword [esp + 0xec], 0x20
mov ecx, dword [esp + 0xdc]
mov ebx, dword [ecx]
lea ebp, [esp + 0xe4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
sub esi, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0049d110
movzx ecx, byte [esp + 0x110]
cmp cl, 0x47
ja 0x49a454
cmp cl, 0x45
je 0x49a459
cmp cl, 0x47
jne 0x49a449
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x49a4c0
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x49a4d2
cmp cl, 0x65
jne 0x49a480
mov eax, dword [esp + 0xf0]
dec eax
test eax, eax
jle 0x49a470
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x49a4d2
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x49a4d2
cmp cl, 0x66
jne 0x49a4b2
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xf4]
test eax, eax
jle 0x49a4a2
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x49a4d2
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x49a4d2
cmp cl, 0x67
jne 0x49a4c9
mov eax, dword [esp + 0x114]
test eax, eax
mov eax, dword [esp + 0xf0]
jmp 0x49a4d2
mov eax, dword [esp + 0x114]
test eax, eax
mov ebx, ecx
movzx ebp, byte [esp + 0x3b]
mov ecx, eax
mov dword [esp + 0x68], ecx
setl al
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
xchg ebp, eax
mov byte [esp + 0xd], al
xchg ebp, eax
lea edi, [esp + 0x10]
lea esi, [esp + 0xe4]
call fcn.0046ad6e
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
call fcn.0049a990
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
mov ebp, dword [esp + 0xfc]
mov dword [esp], ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x114]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
call fcn.0049a650
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
mov ebx, dword [esp + 0xfc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x104]
mov dword [esp + 8], ebx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
call fcn.0049b870
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
lea eax, [0x64c320]
mov dword [esp], eax
lea eax, [0x6db048]
mov dword [esp + 4], eax
call fcn.004389a0
nop
call fcn.00469200
jmp fcn.00499db0