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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x10100008]
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 0x100055c9
mov cl, al
and cl, 2
mov byte [esp + 0xf], cl
je 0x100055c1
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 0x100055d1
mov byte [esp + 0x68], cl
mov byte [esp + 0xf], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005924
movsd xmm0, qword [0x100fc300]
movsd qword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x100fc198]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x100fc190]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [0x100fc1a0]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x100fc260]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x100fc250]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x100fc228]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x100fc1b0]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [0x100fc188]
movsd qword [esp + 0xd8], xmm0
cmp eax, 0x25
je 0x100056e1
mov esi, edx
mov dword [esp + 0x14], esi
nop dword [eax]
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1000569c
cmp al, 0x25
jne 0x10005690
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 0x100056bc
mov edx, esi
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x100056d0
mov eax, dword [edi + 8]
sub eax, edx
mov dword [edi + 0xc], ecx
add eax, ecx
push esi
push eax
call fcn.100c18e0
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je case.default.0x10005924
mov esi, dword [esp + 0x10]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x100069d0
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.0x10005717.34
movzx eax, byte [eax + 0x10006a3c]
jmp dword [eax*4 + 0x10006a20]
mov byte [esp + 0x28], 1
jmp 0x10005746
mov byte [esp + 0x3a], 1
jmp 0x10005746
mov byte [esp + 0xd], 1
jmp 0x10005746
mov byte [esp + 0x1e], 1
jmp 0x10005746
mov byte [esp + 0x1f], 1
jmp 0x10005746
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10005708
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
cmp ecx, 0x2a
jne 0x100057ab
cmp byte [esp + 0xf], 0
je 0x10005776
mov ecx, dword [esp + 0x44]
call fcn.100054a0
mov edx, dword [esp + 0x3c]
jmp 0x1000577f
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 0x100057d7
cmp ecx, 0x30
jl 0x100057d7
mov edi, dword [esp + 0x34]
cmp ecx, 0x39
ja 0x100057cb
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100057b4
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
cmp ecx, 0x2e
jne 0x10005861
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
cmp ecx, 0x2a
jne 0x10005838
cmp byte [esp + 0xf], 0
je 0x10005819
mov ecx, dword [esp + 0x44]
call fcn.100054a0
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 0x10005864
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 0x10005864
cmp ecx, 0x30
jl 0x10005868
nop dword [eax]
cmp ecx, 0x39
ja 0x10005868
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 0x10005840
jmp 0x10005868
or esi, 0xffffffff
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
cmp ecx, 0x6c
jne 0x100058af
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x3c], eax
cmp dl, cl
jne 0x100058a0
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 0x100058b9
cmp dl, 0x6c
mov al, dl
movsx ecx, al
sete byte [esp + 0x26]
jmp 0x100058b9
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
xor eax, eax
mov dword [esp + 0x2c], 0x100f98e8
mov byte [esp + 0xe], 0
mov edx, 0x100f98e8
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x100058ed
inc dword [esp + 0x20]
add edx, 6
cmp edx, 0x100f9972
jl 0x100058d1
mov dl, byte [esp + 0xe]
jmp 0x10005917
cmp byte [esp + 0x68], 0
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x100f98e8]
mov dword [esp + 0x2c], eax
jne 0x10005910
test byte [eax + 2], 2
jne case.default.0x10005924
mov dl, byte [eax + 3]
mov byte [esp + 0xe], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x10005924
jmp dword [eax*4 + 0x10006a50]
xor al, al
mov cl, 1
jmp 0x10005939
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x2c]
test byte [edx + 2], 1
je 0x100059e1
cmp byte [esp + 0xf], 0
je 0x10005959
mov ecx, dword [esp + 0x44]
call fcn.100054a0
jmp 0x10005987
test al, al
je 0x10005970
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
jmp 0x10005989
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005983
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
cdq
mov ecx, edx
test ecx, ecx
jg 0x100059c1
jl 0x10005993
test eax, eax
jae 0x100059c1
test eax, eax
jne 0x100059ae
cmp ecx, 0x80000000
jne 0x100059ae
mov dword [esp + 0x18], ecx
mov cl, 0x2d
mov dword [esp + 0x54], eax
jmp 0x10005a3a
neg eax
mov dword [esp + 0x54], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x18], ecx
mov cl, 0x2d
jmp 0x10005a3a
cmp byte [esp + 0x3a], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
je 0x100059d4
mov cl, 0x2b
jmp 0x10005a3a
mov cl, byte [esp + 0xd]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x10005a3a
cmp byte [esp + 0xf], 0
je 0x100059f7
mov ecx, dword [esp + 0x44]
call fcn.100054a0
mov dword [esp + 0x18], edx
jmp 0x10005a34
test al, al
je 0x10005a16
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 0x10005a38
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005a31
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 0x10005a4c
mov byte [esp + 0x1e], al
cmp byte [esp + 0x3b], 0
je 0x10005a69
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 0x10005a83
lea eax, [esp + 0xe0]
mov dword [esp + 0x20], 0x46
mov dword [esp + 0x30], eax
jmp 0x10005aa7
lea eax, [esi + 0xa]
mov dword [esp + 0x20], eax
cdq
push edx
push eax
call fcn.100049d0
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x100069b0
mov ecx, dword [esp + 0x20]
dec ecx
add eax, ecx
cmp byte [esp + 0xe], 0x10
mov dword [esp + 0x14], eax
jne 0x10005b74
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 0x10005b54
push 0
push 0xa
push ecx
push edi
call fcn.100e0820
cmp eax, 1
jne 0x10005b56
test edx, edx
jne 0x10005b56
xor esi, esi
mov ecx, dword [esp + 0x14]
mov al, byte [esi*2 + 0x100fa031]
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.100dff00
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 0x10005ba2
jb 0x10005bcf
test esi, esi
jne 0x10005ba2
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 0x10005bfd
nop
dec ecx
dec eax
mov byte [ecx], 0x30
test eax, eax
jg 0x10005bf0
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0xd]
test al, al
je 0x10005c0c
dec ecx
mov dword [esp + 0x14], ecx
mov byte [ecx], al
cmp byte [esp + 0x1e], 0
je 0x10005c40
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 5]
test al, al
je 0x10005c40
movzx eax, al
add eax, 0x100f7170
mov dl, byte [eax]
test dl, dl
je 0x10005c40
nop dword [eax]
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x10005c30
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
sub eax, ecx
dec esi
add esi, eax
jmp 0x100068d2
cmp byte [esp + 0xf], 0
je 0x10005d0e
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005cf9
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 0x10005c97
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d24
test al, 4
je 0x10005cb4
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100e0bf0
mov dl, byte [esp + 0xe]
movaps xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x10005d24
test al, 0x12
je 0x10005cf9
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.10007e00
movsd xmm1, qword [esp + 0x98]
add esp, 8
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d24
movsd xmm1, qword [esp + 0x80]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d24
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 0x10005d56
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xd], 0x2d
jmp 0x10005d72
cmp byte [esp + 0x3a], 0
je 0x10005d64
mov byte [esp + 0xd], 0x2b
jmp 0x10005d72
mov al, byte [esp + 0xd]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xd], al
cmp dl, 4
jne 0x10005d80
test esi, esi
je 0x10005d80
dec esi
mov dword [esp + 0x40], esi
movsd xmm2, qword [esp + 0xb0]
mov ecx, esi
movsd xmm4, qword [esp + 0x98]
cmp esi, 8
jl 0x10005dd9
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 0x10005db0
mov dl, byte [esp + 0xe]
test ecx, ecx
jle 0x10005de9
nop dword [eax]
dec ecx
mulsd xmm2, xmm4
test ecx, ecx
jg 0x10005de0
cmp dl, 2
jne 0x10005dfb
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 0x10005e35
mov dword [esp + 0x14], 0x100f1e60
lea esi, [ecx + 3]
jmp 0x100068d2
comisd xmm1, xmm3
jbe 0x10005fa9
movsd xmm5, qword [esp + 0xc0]
comisd xmm1, xmm5
movsd xmm7, qword [esp + 0xb8]
movaps xmm3, xmm7
jb 0x10005e80
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005e7c
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005e60
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0xc8]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005eb2
cmp ecx, 0x15e
jg 0x10005eae
movaps xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005e96
mov dword [esp + 0x18], ecx
movsd xmm6, qword [esp + 0xd0]
movaps xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm1, xmm0
jb 0x10005ee4
cmp ecx, 0x15e
jg 0x10005ee0
movaps xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm1, xmm0
jae 0x10005ec8
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0x88]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005f1a
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005f16
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005f00
mov dword [esp + 0x18], ecx
divsd xmm1, xmm3
movsd xmm0, qword [esp + 0xd8]
comisd xmm0, xmm1
movsd qword [esp + 0x48], xmm1
jbe 0x10005f4a
mulsd xmm1, xmm6
sub ecx, 8
comisd xmm0, xmm1
ja 0x10005f33
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
comisd xmm7, xmm1
jbe 0x10005f65
mulsd xmm1, xmm5
dec ecx
comisd xmm7, xmm1
ja 0x10005f50
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp ecx, 0x15e
jle 0x10005fb2
mov al, byte [esp + 0xd]
cmp al, 0x2d
jne 0x10005f7c
mov ecx, str._Inf
jmp 0x10005f8b
cmp al, 0x2b
mov ecx, str.Inf
mov eax, 0x100f1e74
cmovne ecx, eax
cmp byte [ecx], 0
mov esi, ecx
mov dword [esp + 0x14], ecx
je 0x10005f9c
inc esi
cmp byte [esi], 0
jne 0x10005f96
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100068d2
movsd xmm5, qword [esp + 0x88]
lea esi, [esp + 0xe0]
cmp dl, 2
je 0x10005fdd
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jb 0x10005fdd
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp dl, 4
jne 0x1000600f
cmp byte [esp + 0x1e], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x10006007
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x10006007
sub eax, ecx
mov dword [esp + 0x40], eax
mov al, 2
mov byte [esp + 0xe], al
jmp 0x1000601b
mov al, 3
mov byte [esp + 0xe], al
jmp 0x1000601b
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 0x1000605c
add eax, 0xf
cdq
push edx
push eax
call fcn.100049d0
add esp, 8
mov dword [esp + 0x64], eax
mov esi, eax
test eax, eax
je 0x100069b0
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 0x1000608f
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x1000609d
mov byte [esi], 0x30
inc esi
jmp 0x100060e9
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x88]
mov dword [esp + 0x20], eax
test edx, edx
jg 0x100060b8
mov al, 0x30
jmp 0x100060cf
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 0x100060b0
mov dword [esp + 0x58], edx
movsd qword [esp + 0x48], xmm1
cmp byte [esp + 0x26], 0
je 0x100060f4
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 0x100061cd
cmp dword [esp + 0x20], 8
jb 0x100061a7
mov edi, dword [esp + 0x20]
and edi, 0x80000007
jns 0x10006125
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x100fc2e0]
neg edi
movaps xmm3, xmmword [0x100fc2b0]
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 0x10006150
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 0x100061cd
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x3c], eax
call fcn.100c1720
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 0x10006209
dec ecx
test edx, edx
jg 0x100061da
mov al, 0x30
jmp 0x10006202
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 0x100061d1
cmp byte [esp + 0x27], 0
je 0x10006244
cmp byte [esp + 0x26], 0
je 0x10006244
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1000622d
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10006220
cmp byte [esi - 1], 0x2e
jne 0x10006244
cmp byte [esp + 0x1f], 0
je 0x10006240
mov byte [esi], 0x30
inc esi
jmp 0x10006244
dec esi
mov byte [esi], 0
cmp byte [esp + 0xe], 3
jne 0x100062ed
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 0x100062ba
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 0x100062be
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 0x100068d2
mov eax, dword [esp + 0x28]
test al, al
jne 0x100068d6
mov eax, dword [esp + 0x34]
cmp esi, eax
jge 0x100068d2
sub eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov edx, esi
cmp esi, eax
jl 0x10006347
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 0x10006330
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 0x100068d2
push dword [esp + 0x30]
lea eax, [edx + ecx]
push 0x30
push eax
call fcn.100c1720
add esp, 0xc
jmp 0x100068d2
cmp byte [esp + 0xf], 0
jne 0x100068c8
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 0x100068c8
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], 0x25
mov dword [esp + 0x14], eax
mov esi, 1
jmp 0x100068d2
cmp byte [esp + 0xf], 0
je 0x10006411
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10006407
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 0x10006407
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100063f2
cmp byte [ecx + 0xa], 1
jne 0x100063f2
mov eax, dword [ecx + 0x10]
jmp 0x100063fe
test dl, 1
jne 0x10006407
mov dl, 1
call fcn.10022120
test eax, eax
je 0x10006407
movsx eax, byte [eax]
jmp 0x1000641f
mov dword [esp + 0x2c], 0
jmp 0x10006423
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 0x100064c5
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov edx, ecx
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 1
jle 0x1000647a
cmp byte [esp + 0x28], 0
jne 0x1000647a
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x10006460
mov ecx, edi
call fcn.10006a90
mov edx, eax
test edx, edx
jle 0x10006472
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 0x10006460
mov dword [esp + 0x34], 0
mov eax, dword [edi + 0xc]
dec esi
add eax, esi
cmp eax, dword [edi + 0x10]
jl 0x10006494
mov edx, esi
mov ecx, edi
call fcn.10006a90
mov esi, eax
test esi, esi
jle 0x100064c5
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 0x10006498
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], dl
mov esi, 1
mov dword [esp + 0x14], eax
jmp 0x100068d2
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe0]
mov esi, 1
mov byte [esp + 0xe0], dl
mov dword [esp + 0x14], eax
jmp 0x100068d2
mov al, byte [esp + 0xf]
test al, al
je 0x10006577
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1000658d
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
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006589
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1000654b
cmp byte [ecx + 0xa], 1
jne 0x1000654b
mov ecx, dword [ecx + 0x10]
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006589
test dl, 1
je 0x10006560
mov dl, byte [esp + 0xe]
xor ecx, ecx
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10006589
mov dl, 1
call fcn.10022120
mov dl, byte [esp + 0xe]
mov ecx, eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xf]
jmp 0x10006589
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 0x10006598
mov ecx, 0x100f1e78
mov dword [esp + 0x14], ecx
jmp 0x100065aa
cmp dl, 7
jne 0x100065aa
mov edx, dword [esp + 0x64]
test al, al
cmove edx, ecx
mov dword [esp + 0x64], edx
test esi, esi
js 0x100065d4
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x100068d2
nop dword [eax]
cmp byte [esi + ecx], 0
je 0x100068d2
inc esi
cmp esi, eax
jl 0x100065c0
jmp 0x100068d2
mov esi, ecx
test ecx, ecx
je 0x100068d0
cmp byte [ecx], 0
je 0x10005f9c
inc esi
cmp byte [esi], 0
jne 0x100065e7
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100068d2
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0xf], 0
mov dword [esp + 0x20], eax
je 0x10006671
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1000662a
mov dword [esp + 0x58], 0
jmp 0x1000668b
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 0x10006642
xor eax, eax
jmp 0x1000667f
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1000665f
cmp byte [ecx + 0xa], 1
jne 0x1000665f
mov eax, dword [ecx + 0x10]
jmp 0x1000667f
test dl, 1
je 0x10006668
xor eax, eax
jmp 0x1000667f
mov dl, 1
call fcn.10022120
jmp 0x1000667f
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 0x100066a1
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 0x100066dd
mov edi, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x100066cd
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 0x100066b0
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 0x100066f2
cmp byte [esp + 0xe], 0xb
jne 0x100066f2
mov eax, 1
jmp 0x100066f4
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [eax*2 + 1]
add eax, edx
add eax, ecx
cmp eax, 0x46
jle 0x1000672b
cdq
push edx
push eax
call fcn.100049d0
add esp, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov ecx, eax
test eax, eax
je 0x100069b0
mov edx, dword [esp + 0x2c]
jmp 0x10006736
lea ecx, [esp + 0xe0]
mov dword [esp + 0x14], ecx
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x10006749
mov eax, dword [esp + 0x20]
mov esi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x10006771
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 0x10006768
mov byte [esi + ecx], dl
inc esi
inc eax
cmp eax, edi
jl 0x10006753
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x30], 0
je 0x10006780
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
jmp 0x100068d2
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x100068c8
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100068c8
mov esi, dword [edi + 0xc]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x100067c6
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x100068c8
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c18e0
add esp, 0xc
jmp 0x100068c8
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 0x10006874
cmp byte [edx], 0
mov ecx, edx
je 0x10006816
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x10006810
mov esi, dword [edi + 0xc]
sub ecx, edx
and ecx, 0x3fffffff
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006835
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x10006849
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c18e0
add esp, 0xc
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x10006865
push 1
mov edx, 0x100f1e8c
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x10006870
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 0x10006895
cmp byte [edx], 0
je 0x1000688d
inc ecx
cmp byte [ecx], 0
jne 0x10006887
sub ecx, edx
and ecx, 0x3fffffff
mov esi, dword [edi + 0xc]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x100068ac
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x100068c0
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c18e0
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 0x10006913
test al, al
jne 0x10006913
mov eax, dword [edi + 0xc]
mov edx, ecx
add eax, ecx
cmp eax, dword [edi + 0x10]
jl 0x10006901
mov ecx, edi
call fcn.10006a90
mov edx, eax
test edx, edx
jle 0x10006913
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 0x10006901
mov ecx, dword [edi + 0xc]
add ecx, esi
push esi
cmp ecx, dword [edi + 0x10]
jl 0x1000692e
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10006c50
add esp, 4
jmp 0x10006945
mov eax, dword [edi + 8]
push dword [esp + 0x18]
sub eax, esi
mov dword [edi + 0xc], ecx
add eax, ecx
push eax
call fcn.100c18e0
add esp, 0xc
mov edx, dword [esp + 0x34]
test edx, edx
jle 0x10006982
cmp byte [esp + 0x28], 0
je 0x10006982
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x10006970
mov ecx, edi
call fcn.10006a90
mov edx, eax
test edx, edx
jle 0x10006982
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 0x10006970
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x1000699b
push ecx
call fcn.10004df0
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.0x10005924
mov esi, dword [esp + 0x10]
jmp 0x10005681
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.100be889
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x100069ff
push 1
mov edx, 0x100f1e5c
mov ecx, edi
call fcn.10006c50
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100be889
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.100be889
mov esp, ebp
pop ebp
ret