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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x100fc008]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
xor ecx, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x100054a9
mov cl, al
and cl, 2
mov byte [esp + 0xf], cl
je 0x100054a1
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], esi
and al, 1
mov dword [esp + 0x68], eax
jmp 0x100054b1
mov byte [esp + 0x68], cl
mov byte [esp + 0xf], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005804
movsd xmm0, qword [0x100f81c0]
movsd qword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x100f8070]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x100f8068]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [0x100f8078]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x100f8130]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x100f8120]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x100f8100]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x100f8088]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [0x100f8060]
movsd qword [esp + 0xd8], xmm0
cmp eax, 0x25
je 0x100055c1
mov esi, edx
mov dword [esp + 0x14], esi
nop dword [eax]
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1000557c
cmp al, 0x25
jne 0x10005570
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], edx
sub edx, esi
push edx
lea ecx, [edx + eax]
cmp ecx, dword [edi + 0x10]
jl 0x1000559c
mov edx, esi
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x100055b0
mov eax, dword [edi + 8]
sub eax, edx
mov dword [edi + 0xc], ecx
add eax, ecx
push esi
push eax
call fcn.100bda90
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je case.default.0x10005804
mov esi, dword [esp + 0x10]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x100068b0
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x1e], al
mov byte [esp + 0xd], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x28], al
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x100055f7.34
movzx eax, byte [eax + 0x1000691c]
jmp dword [eax*4 + 0x10006900]
mov byte [esp + 0x28], 1
jmp 0x10005626
mov byte [esp + 0x3a], 1
jmp 0x10005626
mov byte [esp + 0xd], 1
jmp 0x10005626
mov byte [esp + 0x1e], 1
jmp 0x10005626
mov byte [esp + 0x1f], 1
jmp 0x10005626
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x100055e8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
cmp ecx, 0x2a
jne 0x1000568b
cmp byte [esp + 0xf], 0
je 0x10005656
mov ecx, dword [esp + 0x44]
call fcn.10005380
mov edx, dword [esp + 0x3c]
jmp 0x1000565f
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
test eax, eax
movzx ecx, cl
mov esi, 1
cmovs ecx, esi
inc edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ecx
movsx ecx, byte [edx]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x100056b7
cmp ecx, 0x30
jl 0x100056b7
mov edi, dword [esp + 0x34]
cmp ecx, 0x39
ja 0x100056ab
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10005694
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
cmp ecx, 0x2e
jne 0x10005741
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
cmp ecx, 0x2a
jne 0x10005718
cmp byte [esp + 0xf], 0
je 0x100056f9
mov ecx, dword [esp + 0x44]
call fcn.10005380
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
movsx ecx, byte [edx]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
jmp 0x10005744
mov eax, dword [esp + 0x10]
inc edx
add eax, 4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
movsx ecx, byte [edx]
mov eax, dword [eax - 4]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
jmp 0x10005744
cmp ecx, 0x30
jl 0x10005748
nop dword [eax]
cmp ecx, 0x39
ja 0x10005748
inc edx
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
mov dword [esp + 0x3c], edx
lea esi, [ecx + esi*2]
mov dword [esp + 0x40], esi
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10005720
jmp 0x10005748
or esi, 0xffffffff
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
cmp ecx, 0x6c
jne 0x1000578f
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x3c], eax
cmp dl, cl
jne 0x10005780
mov eax, dword [esp + 0x58]
add eax, 2
cmp dl, 0x6c
mov dword [esp + 0x3c], eax
sete byte [esp + 0x26]
mov al, byte [eax]
movsx ecx, al
jmp 0x10005799
cmp dl, 0x6c
mov al, dl
movsx ecx, al
sete byte [esp + 0x26]
jmp 0x10005799
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
xor eax, eax
mov dword [esp + 0x2c], 0x100f58d8
mov byte [esp + 0xe], 0
mov edx, 0x100f58d8
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x100057cd
inc dword [esp + 0x20]
add edx, 6
cmp edx, 0x100f5962
jl 0x100057b1
mov dl, byte [esp + 0xe]
jmp 0x100057f7
cmp byte [esp + 0x68], 0
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x100f58d8]
mov dword [esp + 0x2c], eax
jne 0x100057f0
test byte [eax + 2], 2
jne case.default.0x10005804
mov dl, byte [eax + 3]
mov byte [esp + 0xe], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x10005804
jmp dword [eax*4 + 0x10006930]
xor al, al
mov cl, 1
jmp 0x10005819
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x2c]
test byte [edx + 2], 1
je 0x100058c1
cmp byte [esp + 0xf], 0
je 0x10005839
mov ecx, dword [esp + 0x44]
call fcn.10005380
jmp 0x10005867
test al, al
je 0x10005850
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
jmp 0x10005869
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005863
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
cdq
mov ecx, edx
test ecx, ecx
jg 0x100058a1
jl 0x10005873
test eax, eax
jae 0x100058a1
test eax, eax
jne 0x1000588e
cmp ecx, 0x80000000
jne 0x1000588e
mov dword [esp + 0x18], ecx
mov cl, 0x2d
mov dword [esp + 0x54], eax
jmp 0x1000591a
neg eax
mov dword [esp + 0x54], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x18], ecx
mov cl, 0x2d
jmp 0x1000591a
cmp byte [esp + 0x3a], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
je 0x100058b4
mov cl, 0x2b
jmp 0x1000591a
mov cl, byte [esp + 0xd]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x1000591a
cmp byte [esp + 0xf], 0
je 0x100058d7
mov ecx, dword [esp + 0x44]
call fcn.10005380
mov dword [esp + 0x18], edx
jmp 0x10005914
test al, al
je 0x100058f6
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov dword [esp + 0x54], eax
mov eax, dword [ecx - 4]
mov dword [esp + 0x18], eax
jmp 0x10005918
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005911
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x54], eax
xor cl, cl
mov eax, dword [esp + 0x54]
or eax, dword [esp + 0x18]
mov byte [esp + 0xd], cl
jne 0x1000592c
mov byte [esp + 0x1e], al
cmp byte [esp + 0x3b], 0
je 0x10005949
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x34]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x40], esi
cmp esi, 0x3c
jge 0x10005963
lea eax, [esp + 0xe0]
mov dword [esp + 0x20], 0x46
mov dword [esp + 0x30], eax
jmp 0x10005987
lea eax, [esi + 0xa]
mov dword [esp + 0x20], eax
cdq
push edx
push eax
call fcn.100048b0
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x10006890
mov ecx, dword [esp + 0x20]
dec ecx
add eax, ecx
cmp byte [esp + 0xe], 0x10
mov dword [esp + 0x14], eax
jne 0x10005a54
mov eax, dword [esp + 0x54]
mov edx, 0xcccccccd
mov ecx, 0xcccccccd
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x48], eax
mov esi, edx
mov eax, dword [esp + 0x54]
mul edi
mov edi, eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x18]
mul ecx
mov ecx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x18]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x58]
adc edx, 0
mov dword [esp + 0x70], eax
add edi, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x70]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x48]
adc eax, eax
add edi, edx
adc ecx, eax
shrd edi, ecx, 3
shr ecx, 3
lea eax, [edi + edi*4]
add eax, eax
sub esi, eax
cmp esi, 4
jge 0x10005a34
push 0
push 0xa
push ecx
push edi
call fcn.100dc9e0
cmp eax, 1
jne 0x10005a36
test edx, edx
jne 0x10005a36
xor esi, esi
mov ecx, dword [esp + 0x14]
mov al, byte [esi*2 + 0x100f6021]
mov byte [ecx - 1], al
sub ecx, 2
mov al, byte [esi*2 + str.thstndrd]
mov dword [esp + 0x14], ecx
mov byte [ecx], al
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.100dc0c0
mov dword [esp + 0x78], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x58]
mov byte [edi], al
mov eax, dword [esp + 0x6c]
test edx, edx
ja 0x10005a82
jb 0x10005aaf
test esi, esi
jne 0x10005a82
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
sub eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x60]
test eax, eax
jle 0x10005add
nop
dec ecx
dec eax
mov byte [ecx], 0x30
test eax, eax
jg 0x10005ad0
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0xd]
test al, al
je 0x10005aec
dec ecx
mov dword [esp + 0x14], ecx
mov byte [ecx], al
cmp byte [esp + 0x1e], 0
je 0x10005b20
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 5]
test al, al
je 0x10005b20
movzx eax, al
add eax, 0x100f3160
mov dl, byte [eax]
test dl, dl
je 0x10005b20
nop dword [eax]
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x10005b10
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
sub eax, ecx
dec esi
add esi, eax
jmp 0x100067b2
cmp byte [esp + 0xf], 0
je 0x10005bee
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005bd9
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x10005b77
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005c04
test al, 4
je 0x10005b94
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100dcdb0
mov dl, byte [esp + 0xe]
movaps xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x10005c04
test al, 0x12
je 0x10005bd9
movzx eax, byte [ecx + 0xa]
lea edx, [esp + 0x90]
movsd xmm1, qword [esp + 0x80]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
movsd qword [esp + 0x98], xmm1
call fcn.10007cd0
movsd xmm1, qword [esp + 0x98]
add esp, 8
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005c04
movsd xmm1, qword [esp + 0x80]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005c04
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
movsd xmm1, qword [ecx - 8]
movsd qword [esp + 0x48], xmm1
movsd xmm3, qword [esp + 0x80]
test esi, esi
mov eax, 6
cmovs esi, eax
comisd xmm3, xmm1
mov dword [esp + 0x40], esi
jbe 0x10005c36
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xd], 0x2d
jmp 0x10005c52
cmp byte [esp + 0x3a], 0
je 0x10005c44
mov byte [esp + 0xd], 0x2b
jmp 0x10005c52
mov al, byte [esp + 0xd]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xd], al
cmp dl, 4
jne 0x10005c60
test esi, esi
je 0x10005c60
dec esi
mov dword [esp + 0x40], esi
movsd xmm2, qword [esp + 0xb0]
mov ecx, esi
movsd xmm4, qword [esp + 0x98]
cmp esi, 8
jl 0x10005cb9
lea edx, [esi - 8]
shr edx, 3
inc edx
lea eax, [edx*8]
sub ecx, eax
nop dword [eax]
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
sub edx, 1
jne 0x10005c90
mov dl, byte [esp + 0xe]
test ecx, ecx
jle 0x10005cc9
nop dword [eax]
dec ecx
mulsd xmm2, xmm4
test ecx, ecx
jg 0x10005cc0
cmp dl, 2
jne 0x10005cdb
movaps xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x70], xmm1
xor ecx, ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x70]
ucomisd xmm0, qword [esp + 0x58]
mov dword [esp + 0x18], ecx
lahf
test ah, 0x44
jnp 0x10005d15
mov dword [esp + 0x14], 0x100ede50
lea esi, [ecx + 3]
jmp 0x100067b2
comisd xmm1, xmm3
jbe 0x10005e89
movsd xmm5, qword [esp + 0xc0]
comisd xmm1, xmm5
movsd xmm7, qword [esp + 0xb8]
movaps xmm3, xmm7
jb 0x10005d60
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005d5c
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005d40
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0xc8]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005d92
cmp ecx, 0x15e
jg 0x10005d8e
movaps xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005d76
mov dword [esp + 0x18], ecx
movsd xmm6, qword [esp + 0xd0]
movaps xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm1, xmm0
jb 0x10005dc4
cmp ecx, 0x15e
jg 0x10005dc0
movaps xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm1, xmm0
jae 0x10005da8
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0x88]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005dfa
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005df6
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005de0
mov dword [esp + 0x18], ecx
divsd xmm1, xmm3
movsd xmm0, qword [esp + 0xd8]
comisd xmm0, xmm1
movsd qword [esp + 0x48], xmm1
jbe 0x10005e2a
mulsd xmm1, xmm6
sub ecx, 8
comisd xmm0, xmm1
ja 0x10005e13
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
comisd xmm7, xmm1
jbe 0x10005e45
mulsd xmm1, xmm5
dec ecx
comisd xmm7, xmm1
ja 0x10005e30
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp ecx, 0x15e
jle 0x10005e92
mov al, byte [esp + 0xd]
cmp al, 0x2d
jne 0x10005e5c
mov ecx, str._Inf
jmp 0x10005e6b
cmp al, 0x2b
mov ecx, str.Inf
mov eax, 0x100ede64
cmovne ecx, eax
cmp byte [ecx], 0
mov esi, ecx
mov dword [esp + 0x14], ecx
je 0x10005e7c
inc esi
cmp byte [esi], 0
jne 0x10005e76
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100067b2
movsd xmm5, qword [esp + 0x88]
lea esi, [esp + 0xe0]
cmp dl, 2
je 0x10005ebd
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jb 0x10005ebd
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp dl, 4
jne 0x10005eef
cmp byte [esp + 0x1e], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x10005ee7
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x10005ee7
sub eax, ecx
mov dword [esp + 0x40], eax
mov al, 2
mov byte [esp + 0xe], al
jmp 0x10005efb
mov al, 3
mov byte [esp + 0xe], al
jmp 0x10005efb
mov al, byte [esp + 0x1f]
mov byte [esp + 0x27], al
mov al, byte [esp + 0xe]
xor edx, edx
cmp al, 3
cmovne edx, ecx
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x20], edx
test edx, edx
cmovg eax, edx
add eax, ecx
add eax, dword [esp + 0x34]
cmp eax, 0x37
jle 0x10005f3c
add eax, 0xf
cdq
push edx
push eax
call fcn.100048b0
add esp, 8
mov dword [esp + 0x64], eax
mov esi, eax
test eax, eax
je 0x10006890
mov ecx, dword [esp + 0x40]
movzx eax, byte [esp + 0x1f]
test ecx, ecx
mov dword [esp + 0x14], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x1f]
or al, byte [esp + 0x1e]
mov byte [esp + 0x26], al
mov al, byte [esp + 0xd]
mov dword [esp + 0x58], edx
test al, al
je 0x10005f6f
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x10005f7d
mov byte [esi], 0x30
inc esi
jmp 0x10005fc9
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x88]
mov dword [esp + 0x20], eax
test edx, edx
jg 0x10005f98
mov al, 0x30
jmp 0x10005faf
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
sub eax, 1
mov dword [esp + 0x20], eax
jns 0x10005f90
mov dword [esp + 0x58], edx
movsd qword [esp + 0x48], xmm1
cmp byte [esp + 0x26], 0
je 0x10005fd4
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x60]
test eax, eax
jns 0x100060ad
cmp dword [esp + 0x20], 8
jb 0x10006087
mov edi, dword [esp + 0x20]
and edi, 0x80000007
jns 0x10006005
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x100f81b0]
neg edi
movaps xmm3, xmmword [0x100f8180]
xorps xmm1, xmm1
mov dword [esp + 0x20], edi
xorps xmm2, xmm2
mov edi, dword [esp + 0x60]
movaps xmmword [esp + 0x70], xmm0
nop dword [eax + eax]
movd xmm0, dword [esp + 0x70]
add eax, 8
movd dword [esi], xmm0
psubd xmm1, xmm3
movd xmm0, dword [esp + 0x70]
psubd xmm2, xmm3
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x20]
jl 0x10006030
paddd xmm1, xmm2
mov dword [esp + 0x30], eax
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
test eax, eax
jns 0x100060ad
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x3c], eax
call fcn.100bd8d0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add esi, dword [esp + 0x30]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
test ecx, ecx
jle 0x100060e9
dec ecx
test edx, edx
jg 0x100060ba
mov al, 0x30
jmp 0x100060e2
movsd xmm1, qword [esp + 0x48]
dec edx
cvttsd2si eax, xmm1
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0x48], xmm1
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x100060b1
cmp byte [esp + 0x27], 0
je 0x10006124
cmp byte [esp + 0x26], 0
je 0x10006124
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1000610d
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10006100
cmp byte [esi - 1], 0x2e
jne 0x10006124
cmp byte [esp + 0x1f], 0
je 0x10006120
mov byte [esi], 0x30
inc esi
jmp 0x10006124
dec esi
mov byte [esi], 0
cmp byte [esp + 0xe], 3
jne 0x100061cd
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
movzx eax, byte [edx + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
lea eax, [esi + 2]
mov dword [esp + 0x58], eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x2c], eax
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi + 1], cl
mov esi, dword [esp + 0x58]
cmp eax, 0x64
jl 0x1000619a
mov eax, 0x51eb851f
imul dword [esp + 0x2c]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
mov al, cl
add al, 0x30
mov byte [edx], al
lea esi, [edx + 1]
imul eax, ecx, 0x64
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1000619e
mov ecx, dword [esp + 0x2c]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x2c]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov ecx, dword [esp + 0x14]
mov byte [esi], 0
sub esi, ecx
cmp byte [esp + 0x3b], 0
je 0x100067b2
mov eax, dword [esp + 0x28]
test al, al
jne 0x100067b6
mov eax, dword [esp + 0x34]
cmp esi, eax
jge 0x100067b2
sub eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov edx, esi
cmp esi, eax
jl 0x10006227
mov esi, ecx
mov edi, eax
sub esi, edi
nop
mov al, byte [esi + edx]
mov byte [edx + ecx], al
dec edx
cmp edx, edi
jge 0x10006210
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edx, edx
cmp byte [esp + 0xd], dl
setne dl
test eax, eax
je 0x100067b2
push dword [esp + 0x30]
lea eax, [edx + ecx]
push 0x30
push eax
call fcn.100bd8d0
add esp, 0xc
jmp 0x100067b2
cmp byte [esp + 0xf], 0
jne 0x100067a8
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx - 4]
mov dword [ecx], eax
jmp 0x100067a8
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], 0x25
mov dword [esp + 0x14], eax
mov esi, 1
jmp 0x100067b2
cmp byte [esp + 0xf], 0
je 0x100062f1
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x100062e7
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
je 0x100062e7
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100062d2
cmp byte [ecx + 0xa], 1
jne 0x100062d2
mov eax, dword [ecx + 0x10]
jmp 0x100062de
test dl, 1
jne 0x100062e7
mov dl, 1
call fcn.10021fd0
test eax, eax
je 0x100062e7
movsx eax, byte [eax]
jmp 0x100062ff
mov dword [esp + 0x2c], 0
jmp 0x10006303
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x2c], eax
cmp esi, 1
jle 0x100063a5
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov edx, ecx
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 1
jle 0x1000635a
cmp byte [esp + 0x28], 0
jne 0x1000635a
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x10006340
mov ecx, edi
call fcn.10006970
mov edx, eax
test edx, edx
jle 0x10006352
nop dword [eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x10006340
mov dword [esp + 0x34], 0
mov eax, dword [edi + 0xc]
dec esi
add eax, esi
cmp eax, dword [edi + 0x10]
jl 0x10006374
mov edx, esi
mov ecx, edi
call fcn.10006970
mov esi, eax
test esi, esi
jle 0x100063a5
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
dec esi
mov eax, dword [edi + 8]
mov byte [ecx + eax], dl
inc dword [edi + 0xc]
test esi, esi
jg 0x10006378
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], dl
mov esi, 1
mov dword [esp + 0x14], eax
jmp 0x100067b2
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe0]
mov esi, 1
mov byte [esp + 0xe0], dl
mov dword [esp + 0x14], eax
jmp 0x100067b2
mov al, byte [esp + 0xf]
test al, al
je 0x10006457
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1000646d
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x10006402
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006469
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1000642b
cmp byte [ecx + 0xa], 1
jne 0x1000642b
mov ecx, dword [ecx + 0x10]
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006469
test dl, 1
je 0x10006440
mov dl, byte [esp + 0xe]
xor ecx, ecx
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006469
mov dl, 1
call fcn.10021fd0
mov dl, byte [esp + 0xe]
mov ecx, eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xf]
jmp 0x10006469
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x10006478
mov ecx, 0x100ede68
mov dword [esp + 0x14], ecx
jmp 0x1000648a
cmp dl, 7
jne 0x1000648a
mov edx, dword [esp + 0x64]
test al, al
cmove edx, ecx
mov dword [esp + 0x64], edx
test esi, esi
js 0x100064b4
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x100067b2
nop dword [eax]
cmp byte [esi + ecx], 0
je 0x100067b2
inc esi
cmp esi, eax
jl 0x100064a0
jmp 0x100067b2
mov esi, ecx
test ecx, ecx
je 0x100067b0
cmp byte [ecx], 0
je 0x10005e7c
inc esi
cmp byte [esi], 0
jne 0x100064c7
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100067b2
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0xf], 0
mov dword [esp + 0x20], eax
je 0x10006551
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1000650a
mov dword [esp + 0x58], 0
jmp 0x1000656b
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x10006522
xor eax, eax
jmp 0x1000655f
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1000653f
cmp byte [ecx + 0xa], 1
jne 0x1000653f
mov eax, dword [ecx + 0x10]
jmp 0x1000655f
test dl, 1
je 0x10006548
xor eax, eax
jmp 0x1000655f
mov dl, 1
call fcn.10021fd0
jmp 0x1000655f
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
test eax, eax
jne 0x10006581
cmp byte [esp + 0xe], 0xb
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x18], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x2c], edx
test esi, esi
je 0x100065bd
mov edi, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x100065ad
inc edx
lea eax, [edi + 1]
cmp cl, byte [esp + 0x20]
cmovne eax, edi
mov edi, eax
mov eax, dword [esp + 0x18]
sub esi, 1
jne 0x10006590
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x58], 0
je 0x100065d2
cmp byte [esp + 0xe], 0xb
jne 0x100065d2
mov eax, 1
jmp 0x100065d4
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [eax*2 + 1]
add eax, edx
add eax, ecx
cmp eax, 0x46
jle 0x1000660b
cdq
push edx
push eax
call fcn.100048b0
add esp, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov ecx, eax
test eax, eax
je 0x10006890
mov edx, dword [esp + 0x2c]
jmp 0x10006616
lea ecx, [esp + 0xe0]
mov dword [esp + 0x14], ecx
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x10006629
mov eax, dword [esp + 0x20]
mov esi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x10006651
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dl, byte [eax + edx]
mov byte [esi + ecx], dl
inc esi
cmp dl, byte [esp + 0x20]
jne 0x10006648
mov byte [esi + ecx], dl
inc esi
inc eax
cmp eax, edi
jl 0x10006633
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x30], 0
je 0x10006660
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
jmp 0x100067b2
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x100067a8
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100067a8
mov esi, dword [edi + 0xc]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x100066a6
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x100067a8
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100bda90
add esp, 0xc
jmp 0x100067a8
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [eax - 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 4
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
mov edx, dword [edx + eax + 0xc]
test edx, edx
je 0x10006754
cmp byte [edx], 0
mov ecx, edx
je 0x100066f6
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x100066f0
mov esi, dword [edi + 0xc]
sub ecx, edx
and ecx, 0x3fffffff
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006715
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x10006729
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100bda90
add esp, 0xc
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x10006745
push 1
mov edx, 0x100ede7c
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x10006750
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [eax + ecx - 1], 0x2e
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov edx, dword [edx + eax + 0x10]
mov ecx, edx
test edx, edx
je 0x10006775
cmp byte [edx], 0
je 0x1000676d
inc ecx
cmp byte [ecx], 0
jne 0x10006767
sub ecx, edx
and ecx, 0x3fffffff
mov esi, dword [edi + 0xc]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x1000678c
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x100067a0
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100bda90
add esp, 0xc
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 0
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x100067f3
test al, al
jne 0x100067f3
mov eax, dword [edi + 0xc]
mov edx, ecx
add eax, ecx
cmp eax, dword [edi + 0x10]
jl 0x100067e1
mov ecx, edi
call fcn.10006970
mov edx, eax
test edx, edx
jle 0x100067f3
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x100067e1
mov ecx, dword [edi + 0xc]
add ecx, esi
push esi
cmp ecx, dword [edi + 0x10]
jl 0x1000680e
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10006b30
add esp, 4
jmp 0x10006825
mov eax, dword [edi + 8]
push dword [esp + 0x18]
sub eax, esi
mov dword [edi + 0xc], ecx
add eax, ecx
push eax
call fcn.100bda90
add esp, 0xc
mov edx, dword [esp + 0x34]
test edx, edx
jle 0x10006862
cmp byte [esp + 0x28], 0
je 0x10006862
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x10006850
mov ecx, edi
call fcn.10006970
mov edx, eax
test edx, edx
jle 0x10006862
nop dword [eax + eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x10006850
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x1000687b
push ecx
call fcn.10004cd0
add esp, 4
mov dword [esp + 0x64], 0
mov edx, dword [esp + 0x3c]
inc edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005804
mov esi, dword [esp + 0x10]
jmp 0x10005561
mov byte [edi + 0x19], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x100068df
push 1
mov edx, 0x100ede4c
mov ecx, edi
call fcn.10006b30
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [eax + ecx - 1], 0x25
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret