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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10004e27
mov cl, dl
and cl, 2
mov byte [esp + 0xf], cl
je 0x10004e1e
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x44], eax
and dl, 1
mov dword [esp + 0x6c], edx
jmp 0x10004e2f
mov byte [esp + 0x6c], cl
mov byte [esp + 0xf], cl
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], esi
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005189
movsd xmm0, qword [0x100dfb90]
movsd qword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x100dfa38]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x100dfa30]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [0x100dfa40]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x100dfaf8]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x100dfae8]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x100dfac8]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [0x100dfa50]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [0x100dfa28]
movsd qword [esp + 0xe0], xmm0
cmp eax, 0x25
je 0x10004f42
mov esi, edx
mov dword [esp + 0x14], esi
mov al, byte [edx + 1]
inc edx
test al, al
je 0x10004efd
cmp al, 0x25
jne 0x10004ef1
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 0x10004f1d
mov edx, esi
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x10004f31
mov eax, dword [edi + 8]
sub eax, edx
mov dword [edi + 0xc], ecx
add eax, ecx
push esi
push eax
call fcn.100a9420
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je case.default.0x10005189
mov esi, dword [esp + 0x10]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x10006222
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
nop dword [eax]
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x10004f7f.34
movzx eax, byte [eax + 0x10006274]
jmp dword [eax*4 + 0x10006258]
mov byte [esp + 0x28], 1
jmp 0x10004fae
mov byte [esp + 0x3a], 1
jmp 0x10004fae
mov byte [esp + 0xd], 1
jmp 0x10004fae
mov byte [esp + 0x1e], 1
jmp 0x10004fae
mov byte [esp + 0x1f], 1
jmp 0x10004fae
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10004f70
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
cmp ecx, 0x2a
jne 0x10005013
cmp byte [esp + 0xf], 0
je 0x10004fde
mov ecx, dword [esp + 0x44]
call fcn.10004d20
mov edx, dword [esp + 0x3c]
jmp 0x10004fe7
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 0x10005043
cmp ecx, 0x30
jl 0x10005043
mov edi, dword [esp + 0x34]
nop dword [eax]
cmp ecx, 0x39
ja 0x10005037
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10005020
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
cmp ecx, 0x2e
jne 0x100050c6
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
cmp ecx, 0x2a
jne 0x100050a0
cmp byte [esp + 0xf], 0
je 0x10005081
mov ecx, dword [esp + 0x44]
call fcn.10004d20
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 0x100050c9
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 0x100050c9
cmp ecx, 0x30
jl 0x100050cd
cmp ecx, 0x39
ja 0x100050cd
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 0x100050a5
jmp 0x100050cd
or esi, 0xffffffff
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
cmp ecx, 0x6c
jne 0x10005114
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x3c], eax
cmp dl, cl
jne 0x10005105
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 0x1000511e
cmp dl, 0x6c
mov al, dl
movsx ecx, al
sete byte [esp + 0x26]
jmp 0x1000511e
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
xor eax, eax
mov dword [esp + 0x2c], 0x100dd5b8
mov byte [esp + 0xe], 0
mov edx, 0x100dd5b8
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x10005152
inc dword [esp + 0x20]
add edx, 6
cmp edx, 0x100dd642
jl 0x10005136
mov dl, byte [esp + 0xe]
jmp 0x1000517c
cmp byte [esp + 0x6c], 0
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x100dd5b8]
mov dword [esp + 0x2c], eax
jne 0x10005175
test byte [eax + 2], 2
jne case.default.0x10005189
mov dl, byte [eax + 3]
mov byte [esp + 0xe], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x10005189
jmp dword [eax*4 + 0x10006288]
xor al, al
mov cl, 1
jmp 0x1000519e
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x2c]
test byte [edx + 2], 1
je 0x10005246
cmp byte [esp + 0xf], 0
je 0x100051be
mov ecx, dword [esp + 0x44]
call fcn.10004d20
jmp 0x100051ec
test al, al
je 0x100051d5
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
jmp 0x100051ee
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
test cl, cl
jne 0x100051e8
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
cdq
mov ecx, edx
test ecx, ecx
jg 0x10005226
jl 0x100051f8
test eax, eax
jae 0x10005226
test eax, eax
jne 0x10005213
cmp ecx, 0x80000000
jne 0x10005213
mov dword [esp + 0x18], ecx
mov cl, 0x2d
mov dword [esp + 0x54], eax
jmp 0x1000529f
neg eax
mov dword [esp + 0x54], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x18], ecx
mov cl, 0x2d
jmp 0x1000529f
cmp byte [esp + 0x3a], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
je 0x10005239
mov cl, 0x2b
jmp 0x1000529f
mov cl, byte [esp + 0xd]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x1000529f
cmp byte [esp + 0xf], 0
je 0x1000525c
mov ecx, dword [esp + 0x44]
call fcn.10004d20
mov dword [esp + 0x18], edx
jmp 0x10005299
test al, al
je 0x1000527b
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 0x1000529d
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005296
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 0x100052b1
mov byte [esp + 0x1e], al
cmp byte [esp + 0x3b], 0
je 0x100052ce
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 0x100052e8
lea eax, [esp + 0xe8]
mov dword [esp + 0x20], 0x46
mov dword [esp + 0x30], eax
jmp 0x1000530c
lea eax, [esi + 0xa]
mov dword [esp + 0x20], eax
cdq
push edx
push eax
call fcn.10004280
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x10006210
mov ecx, dword [esp + 0x20]
dec ecx
add eax, ecx
cmp byte [esp + 0xe], 0x10
mov dword [esp + 0x14], eax
jne 0x100053d9
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 + 0x68], 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 + 0x68]
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 0x100053b9
push 0
push 0xa
push ecx
push edi
call fcn.100c5c20
cmp eax, 1
jne 0x100053bb
test edx, edx
jne 0x100053bb
xor esi, esi
mov ecx, dword [esp + 0x14]
mov al, byte [esi*2 + 0x100ddd01]
mov byte [ecx - 1], al
sub ecx, 2
mov al, byte [esi*2 + 0x100ddd00]
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, 0x100db98c
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 + 0x68], eax
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.100c5300
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 + 0x68]
test edx, edx
ja 0x10005407
jb 0x10005434
test esi, esi
jne 0x10005407
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 0x10005460
dec ecx
dec eax
mov byte [ecx], 0x30
test eax, eax
jg 0x10005453
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0xd]
test al, al
je 0x1000546f
dec ecx
mov dword [esp + 0x14], ecx
mov byte [ecx], al
cmp byte [esp + 0x1e], 0
je 0x100054a0
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 5]
test al, al
je 0x100054a0
movzx eax, al
add eax, 0x100dae40
mov dl, byte [eax]
test dl, dl
je 0x100054a0
nop
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x10005490
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
sub eax, ecx
dec esi
add esi, eax
jmp 0x10006132
cmp byte [esp + 0xf], 0
je 0x1000556e
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005559
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 0x100054f7
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005584
test al, 4
je 0x10005514
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100c5ff0
mov dl, byte [esp + 0xe]
movaps xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x10005584
test al, 0x12
je 0x10005559
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.100074b0
movsd xmm1, qword [esp + 0x98]
add esp, 8
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005584
movsd xmm1, qword [esp + 0x80]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005584
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 0x100055b6
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xd], 0x2d
jmp 0x100055d2
cmp byte [esp + 0x3a], 0
je 0x100055c4
mov byte [esp + 0xd], 0x2b
jmp 0x100055d2
mov al, byte [esp + 0xd]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xd], al
cmp dl, 4
jne 0x100055e0
test esi, esi
je 0x100055e0
dec esi
mov dword [esp + 0x40], esi
movsd xmm2, qword [esp + 0xb8]
mov ecx, esi
movsd xmm4, qword [esp + 0x98]
cmp esi, 8
jl 0x10005639
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 0x10005610
mov dl, byte [esp + 0xe]
test ecx, ecx
jle 0x10005649
nop dword [eax]
dec ecx
mulsd xmm2, xmm4
test ecx, ecx
jg 0x10005640
cmp dl, 2
jne 0x1000565b
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 0x10005695
mov dword [esp + 0x14], 0x100d5b30
lea esi, [ecx + 3]
jmp 0x10006132
comisd xmm1, xmm3
jbe 0x10005809
movsd xmm5, qword [esp + 0xc8]
comisd xmm1, xmm5
movsd xmm7, qword [esp + 0xc0]
movaps xmm3, xmm7
jb 0x100056e0
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x100056dc
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x100056c0
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0xd0]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005712
cmp ecx, 0x15e
jg 0x1000570e
movaps xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x100056f6
mov dword [esp + 0x18], ecx
movsd xmm6, qword [esp + 0xd8]
movaps xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm1, xmm0
jb 0x10005744
cmp ecx, 0x15e
jg 0x10005740
movaps xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm1, xmm0
jae 0x10005728
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0x88]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x1000577a
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005776
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005760
mov dword [esp + 0x18], ecx
divsd xmm1, xmm3
movsd xmm0, qword [esp + 0xe0]
comisd xmm0, xmm1
movsd qword [esp + 0x48], xmm1
jbe 0x100057aa
mulsd xmm1, xmm6
sub ecx, 8
comisd xmm0, xmm1
ja 0x10005793
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
comisd xmm7, xmm1
jbe 0x100057c5
mulsd xmm1, xmm5
dec ecx
comisd xmm7, xmm1
ja 0x100057b0
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp ecx, 0x15e
jle 0x10005812
mov al, byte [esp + 0xd]
cmp al, 0x2d
jne 0x100057dc
mov ecx, str._Inf
jmp 0x100057eb
cmp al, 0x2b
mov ecx, str.Inf
mov eax, 0x100d5b44
cmovne ecx, eax
cmp byte [ecx], 0
mov esi, ecx
mov dword [esp + 0x14], ecx
je 0x100057fc
inc esi
cmp byte [esi], 0
jne 0x100057f6
sub esi, ecx
and esi, 0x3fffffff
jmp 0x10006132
movsd xmm5, qword [esp + 0x88]
lea esi, [esp + 0xe8]
cmp dl, 2
je 0x1000583d
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jb 0x1000583d
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp dl, 4
jne 0x1000586f
cmp byte [esp + 0x1e], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x10005867
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x10005867
sub eax, ecx
mov dword [esp + 0x40], eax
mov al, 2
mov byte [esp + 0xe], al
jmp 0x1000587b
mov al, 3
mov byte [esp + 0xe], al
jmp 0x1000587b
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 0x100058bc
add eax, 0xf
cdq
push edx
push eax
call fcn.10004280
add esp, 8
mov dword [esp + 0x64], eax
mov esi, eax
test eax, eax
je 0x10006210
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 0x100058ef
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x100058fd
mov byte [esi], 0x30
inc esi
jmp 0x10005949
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x88]
mov dword [esp + 0x20], eax
test edx, edx
jg 0x10005918
mov al, 0x30
jmp 0x1000592f
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 0x10005910
mov dword [esp + 0x58], edx
movsd qword [esp + 0x48], xmm1
cmp byte [esp + 0x26], 0
je 0x10005954
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 0x10005a2d
cmp dword [esp + 0x20], 8
jb 0x10005a07
mov edi, dword [esp + 0x20]
and edi, 0x80000007
jns 0x10005985
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x100dfb80]
neg edi
movaps xmm3, xmmword [0x100dfb50]
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 0x100059b0
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 0x10005a2d
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x3c], eax
call fcn.100a9260
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 0x10005a69
dec ecx
test edx, edx
jg 0x10005a3a
mov al, 0x30
jmp 0x10005a62
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 0x10005a31
cmp byte [esp + 0x27], 0
je 0x10005aa4
cmp byte [esp + 0x26], 0
je 0x10005aa4
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x10005a8d
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10005a80
cmp byte [esi - 1], 0x2e
jne 0x10005aa4
cmp byte [esp + 0x1f], 0
je 0x10005aa0
mov byte [esi], 0x30
inc esi
jmp 0x10005aa4
dec esi
mov byte [esi], 0
cmp byte [esp + 0xe], 3
jne 0x10005b4d
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
movzx eax, byte [edx + 4]
mov al, byte [eax + 0x100db98c]
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 0x10005b1a
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 0x10005b1e
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 0x10006132
mov eax, dword [esp + 0x28]
test al, al
jne 0x10006136
mov eax, dword [esp + 0x34]
cmp esi, eax
jge 0x10006132
sub eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov edx, esi
cmp esi, eax
jl 0x10005ba7
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 0x10005b90
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 0x10006132
push dword [esp + 0x30]
lea eax, [edx + ecx]
push 0x30
push eax
call fcn.100a9260
add esp, 0xc
jmp 0x10006132
cmp byte [esp + 0xf], 0
jne 0x10006128
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 0x10006128
lea eax, [esp + 0xe8]
mov byte [esp + 0xe8], 0x25
mov dword [esp + 0x14], eax
mov esi, 1
jmp 0x10006132
cmp byte [esp + 0xf], 0
je 0x10005c71
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005c67
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 0x10005c67
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10005c52
cmp byte [ecx + 0xa], 1
jne 0x10005c52
mov eax, dword [ecx + 0x10]
jmp 0x10005c5e
test dl, 1
jne 0x10005c67
mov dl, 1
call fcn.10020bb0
test eax, eax
je 0x10005c67
movsx eax, byte [eax]
jmp 0x10005c7f
mov dword [esp + 0x2c], 0
jmp 0x10005c83
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 0x10005d25
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov edx, ecx
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 1
jle 0x10005cda
cmp byte [esp + 0x28], 0
jne 0x10005cda
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x10005cc0
mov ecx, edi
call fcn.100062d0
mov edx, eax
test edx, edx
jle 0x10005cd2
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 0x10005cc0
mov dword [esp + 0x34], 0
mov eax, dword [edi + 0xc]
dec esi
add eax, esi
cmp eax, dword [edi + 0x10]
jl 0x10005cf4
mov edx, esi
mov ecx, edi
call fcn.100062d0
mov esi, eax
test esi, esi
jle 0x10005d25
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 0x10005cf8
lea eax, [esp + 0xe8]
mov byte [esp + 0xe8], dl
mov esi, 1
mov dword [esp + 0x14], eax
jmp 0x10006132
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe8]
mov esi, 1
mov byte [esp + 0xe8], dl
mov dword [esp + 0x14], eax
jmp 0x10006132
mov al, byte [esp + 0xf]
test al, al
je 0x10005dd7
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005ded
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 0x10005d82
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10005de9
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10005dab
cmp byte [ecx + 0xa], 1
jne 0x10005dab
mov ecx, dword [ecx + 0x10]
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10005de9
test dl, 1
je 0x10005dc0
mov dl, byte [esp + 0xe]
xor ecx, ecx
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x10005de9
mov dl, 1
call fcn.10020bb0
mov dl, byte [esp + 0xe]
mov ecx, eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xf]
jmp 0x10005de9
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 0x10005df8
mov ecx, 0x100d5b48
mov dword [esp + 0x14], ecx
jmp 0x10005e0a
cmp dl, 7
jne 0x10005e0a
mov edx, dword [esp + 0x64]
test al, al
cmove edx, ecx
mov dword [esp + 0x64], edx
test esi, esi
js 0x10005e34
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x10006132
nop dword [eax]
cmp byte [esi + ecx], 0
je 0x10006132
inc esi
cmp esi, eax
jl 0x10005e20
jmp 0x10006132
mov esi, ecx
test ecx, ecx
je 0x10006130
cmp byte [ecx], 0
je 0x100057fc
inc esi
cmp byte [esi], 0
jne 0x10005e47
sub esi, ecx
and esi, 0x3fffffff
jmp 0x10006132
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0xf], 0
mov dword [esp + 0x20], eax
je 0x10005ed1
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x10005e8a
mov dword [esp + 0x58], 0
jmp 0x10005eeb
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 0x10005ea2
xor eax, eax
jmp 0x10005edf
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10005ebf
cmp byte [ecx + 0xa], 1
jne 0x10005ebf
mov eax, dword [ecx + 0x10]
jmp 0x10005edf
test dl, 1
je 0x10005ec8
xor eax, eax
jmp 0x10005edf
mov dl, 1
call fcn.10020bb0
jmp 0x10005edf
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 0x10005f01
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 0x10005f3d
mov edi, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x10005f2d
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 0x10005f10
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 0x10005f52
cmp byte [esp + 0xe], 0xb
jne 0x10005f52
mov eax, 1
jmp 0x10005f54
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [eax*2 + 1]
add eax, edx
add eax, ecx
cmp eax, 0x46
jle 0x10005f8b
cdq
push edx
push eax
call fcn.10004280
add esp, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov ecx, eax
test eax, eax
je 0x10006210
mov edx, dword [esp + 0x2c]
jmp 0x10005f96
lea ecx, [esp + 0xe8]
mov dword [esp + 0x14], ecx
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x10005fa9
mov eax, dword [esp + 0x20]
mov esi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x10005fd1
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 0x10005fc8
mov byte [esi + ecx], dl
inc esi
inc eax
cmp eax, edi
jl 0x10005fb3
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x30], 0
je 0x10005fe0
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
jmp 0x10006132
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x10006128
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10006128
mov esi, dword [edi + 0xc]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006026
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x10006128
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100a9420
add esp, 0xc
jmp 0x10006128
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 0x100060d4
cmp byte [edx], 0
mov ecx, edx
je 0x10006076
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x10006070
mov esi, dword [edi + 0xc]
sub ecx, edx
and ecx, 0x3fffffff
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006095
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x100060a9
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100a9420
add esp, 0xc
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x100060c5
push 1
mov edx, 0x100d5b5c
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x100060d0
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 0x100060f5
cmp byte [edx], 0
je 0x100060ed
inc ecx
cmp byte [ecx], 0
jne 0x100060e7
sub ecx, edx
and ecx, 0x3fffffff
mov esi, dword [edi + 0xc]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x1000610c
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x10006120
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100a9420
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 0x10006173
test al, al
jne 0x10006173
mov eax, dword [edi + 0xc]
mov edx, ecx
add eax, ecx
cmp eax, dword [edi + 0x10]
jl 0x10006161
mov ecx, edi
call fcn.100062d0
mov edx, eax
test edx, edx
jle 0x10006173
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 0x10006161
mov ecx, dword [edi + 0xc]
add ecx, esi
push esi
cmp ecx, dword [edi + 0x10]
jl 0x1000618e
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10006490
add esp, 4
jmp 0x100061a5
mov eax, dword [edi + 8]
push dword [esp + 0x18]
sub eax, esi
mov dword [edi + 0xc], ecx
add eax, ecx
push eax
call fcn.100a9420
add esp, 0xc
mov edx, dword [esp + 0x34]
test edx, edx
jle 0x100061e2
cmp byte [esp + 0x28], 0
je 0x100061e2
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x100061d0
mov ecx, edi
call fcn.100062d0
mov edx, eax
test edx, edx
jle 0x100061e2
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 0x100061d0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x100061fb
push ecx
call fcn.100046a0
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.0x10005189
mov esi, dword [esp + 0x10]
jmp 0x10004ee6
mov byte [edi + 0x19], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x10006243
push 1
mov edx, 0x100d5b2c
mov ecx, edi
call fcn.10006490
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [eax + ecx - 1], 0x25
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret