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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101a5034]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x20], esi
push edi
xor edi, edi
mov dword [esp + 0x44], ecx
test byte [esi + 0x19], 2
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x14], edi
je 0x10080065
add eax, 4
mov byte [esp + 0x11], 1
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x5c], eax
jmp 0x10080069
mov byte [esp + 0x11], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10080369
cmp eax, 0x25
je 0x100800d4
mov edi, edx
mov dword [esp + 0x14], edi
nop
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1008008c
cmp al, 0x25
jne 0x10080080
mov eax, dword [esi + 0xc]
mov ecx, edx
sub ecx, edi
mov dword [esp + 0x54], edx
lea edx, [eax + ecx]
cmp edx, dword [esi + 0x10]
jb 0x100800ae
push ecx
mov edx, edi
mov ecx, esi
call fcn.100814f0
add esp, 4
jmp 0x100800c7
test ecx, ecx
je 0x100800c7
mov eax, dword [esi + 8]
push ecx
sub eax, ecx
mov dword [esi + 0xc], edx
add eax, edx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x54]
cmp byte [edx], 0
je case.default.0x10080369
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x100812c0
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x23], al
mov byte [esp + 0x12], al
mov byte [esp + 0x29], al
jmp 0x10080100
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x1008010f.34
movzx eax, byte [eax + 0x10081334]
jmp dword [eax*4 + 0x10081314]
mov byte [esp + 0x29], 1
jmp 0x10080145
mov byte [esp + 0x12], 0x2b
jmp 0x10080145
mov byte [esp + 0x12], 0x20
jmp 0x10080145
mov byte [esp + 0x2a], 1
jmp 0x10080145
mov byte [esp + 0x2b], 1
jmp 0x10080145
mov byte [esp + 0x3b], 1
jmp 0x10080145
mov byte [esp + 0x23], 0x2c
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10080100
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x100801e1
cmp byte [esp + 0x11], 0
je 0x1008019b
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10080180
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
jmp 0x100801a9
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1009d2d0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
jmp 0x100801a9
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x100801d6
mov byte [esp + 0x29], 1
cmp eax, 0x80000001
jl 0x100801ce
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
jmp 0x10080220
mov dword [esp + 0x18], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
jmp 0x10080220
xor eax, eax
cmp ecx, 0x30
jl 0x10080217
mov edi, eax
lea ebx, [ebx]
cmp ecx, 0x39
jg 0x10080207
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100801f0
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], edx
and eax, 0x7fffffff
mov dword [esp + 0x18], eax
cmp ecx, 0x2e
jne 0x100802d3
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x100802a4
cmp byte [esp + 0x11], 0
je 0x10080279
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x1008025c
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, dword [esp + 0x48]
jmp 0x10080287
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1009d2d0
mov dword [esp + 0x4c], edx
mov esi, eax
mov edx, dword [esp + 0x54]
jmp 0x10080287
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov esi, dword [eax - 4]
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], edx
test esi, esi
jns 0x100802da
cmp esi, 0x80000001
jl 0x100802d3
neg esi
jmp 0x100802d6
xor esi, esi
cmp ecx, 0x30
jl 0x100802cb
jmp 0x100802b0
cmp ecx, 0x39
jg 0x100802c7
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100802b0
mov dword [esp + 0x54], edx
and esi, 0x7fffffff
jmp 0x100802d6
or esi, 0xffffffff
mov dword [esp + 0x2c], esi
cmp ecx, 0x6c
jne 0x10080302
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 1
mov dword [esp + 0x54], edx
cmp ecx, 0x6c
jne 0x10080307
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 2
mov dword [esp + 0x54], edx
jmp 0x10080307
mov byte [esp + 0x22], 0
xor eax, eax
mov dword [esp + 0x3c], 0x10174d10
mov byte [esp + 0x13], 0x11
mov edx, 0x10174d10
mov dword [esp + 0x40], eax
nop
movsx eax, byte [edx]
cmp ecx, eax
je 0x10080340
inc dword [esp + 0x40]
add edx, 6
cmp edx, 0x10174d9a
jl 0x10080320
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
jmp 0x1008035d
mov eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x10174d13]
lea ecx, [eax*2 + 0x10174d10]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x10080369
jmp dword [eax*4 + 0x10081348]
mov al, 1
mov byte [esp + 0x23], 0
jmp 0x10080388
mov al, byte [esp + 0x22]
mov byte [esp + 0x23], 0
jmp 0x10080388
mov al, byte [esp + 0x22]
test byte [ecx + 2], 1
je 0x10080448
cmp byte [esp + 0x11], 0
je 0x100803d9
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x100803c6
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x12]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
jmp 0x100804d3
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1009d2d0
jmp 0x1008040d
test al, al
je 0x100803fe
mov ecx, dword [esp + 0x1c]
cmp al, 2
jne 0x100803f3
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx - 4]
jmp 0x1008040d
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
jmp 0x1008040c
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
cdq
test edx, edx
jg 0x100803b5
jl 0x10080417
test eax, eax
jae 0x100803b5
test eax, eax
jne 0x10080432
cmp edx, 0x80000000
jne 0x10080432
mov dword [esp + 0x30], edx
mov cl, 0x2d
mov dword [esp + 0x14], eax
jmp 0x100804cf
neg eax
mov cl, 0x2d
mov dword [esp + 0x14], eax
adc edx, 0
neg edx
mov dword [esp + 0x30], edx
jmp 0x100804cf
cmp byte [esp + 0x11], 0
je 0x10080490
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10080475
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x100804cd
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1009d2d0
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x100804cd
test al, al
je 0x100804b5
mov edi, dword [esp + 0x1c]
cmp al, 2
jne 0x100804aa
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x1c], edi
mov edx, dword [edi - 4]
jmp 0x100804c5
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], edi
jmp 0x100804c3
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
xor cl, cl
mov byte [esp + 0x12], cl
or eax, edx
jne 0x100804db
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x3b]
test al, al
je 0x100804f9
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x18]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x2c], esi
cmp esi, 0x25
jge 0x10080511
mov edi, 0x46
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], eax
jmp 0x10080565
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
adc ecx, edx
add edi, 0xa
mov eax, edi
mov dword [esp + 0x58], edi
adc ecx, 0
or eax, ecx
je 0x1008054d
push ecx
push edi
call fcn.1007f3d0
add esp, 8
mov dword [esp + 0x44], eax
mov ecx, eax
jmp 0x10080553
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, ecx
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x1008129c
mov edx, dword [esp + 0x30]
dec edi
add edi, eax
cmp byte [esp + 0x13], 0xf
jne 0x100805ca
push 0
push 0xa
push edx
push dword [esp + 0x20]
call fcn.1014d8f0
mov dword [esp + 0x60], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x70], eax
cmp eax, 4
jge 0x100805ac
push 0
push 0xa
push edx
push dword [esp + 0x6c]
call fcn.1014da00
cmp eax, 1
jne 0x100805b0
test edx, edx
jne 0x100805b0
xor ecx, ecx
jmp 0x100805b4
mov ecx, dword [esp + 0x70]
mov al, byte [ecx*2 + 0x10177439]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
add eax, 0x10177610
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], eax
push eax
push ecx
push edx
push esi
dec edi
call fcn.1014d960
mov dword [esp + 0x34], ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x60]
mov byte [edi], al
mov eax, dword [esp + 0x70]
test edx, edx
ja 0x100805f4
jb 0x1008061f
test esi, esi
jne 0x100805f4
mov edx, dword [esp + 0x40]
mov eax, edx
mov ecx, dword [esp + 0x58]
sub eax, edi
mov esi, dword [esp + 0x2c]
dec eax
add eax, ecx
mov dword [esp + 0x14], edi
cmp esi, eax
jle 0x1008064b
sub esi, eax
add eax, esi
mov edi, edi
dec edi
mov byte [edi], 0x30
dec esi
jne 0x10080640
mov dword [esp + 0x14], edi
cmp byte [esp + 0x23], 0
je 0x10080693
dec eax
mov ecx, 3
cdq
idiv ecx
xor ecx, ecx
mov esi, eax
inc edx
sub edi, esi
mov dword [esp + 0x14], edi
test esi, esi
jle 0x1008068f
lea ebx, [ebx]
lea eax, [esi + ecx]
mov al, byte [eax + edi]
mov byte [ecx + edi], al
dec edx
jne 0x1008068a
mov al, byte [esp + 0x23]
inc ecx
dec esi
mov edx, 3
mov byte [ecx + edi], al
inc ecx
test esi, esi
jg 0x10080670
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x12]
test cl, cl
je 0x100806a2
dec edi
mov dword [esp + 0x14], edi
mov byte [edi], cl
cmp byte [esp + 0x2a], 0
je 0x100806d2
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 5]
test al, al
je 0x100806d2
movzx eax, al
add eax, 0x10177430
mov cl, byte [eax]
test cl, cl
je 0x100806d2
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x100806c2
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x58]
sub edx, edi
dec esi
add esi, edx
mov eax, dword [esp + 0x18]
sub eax, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x10081184
cmp byte [esp + 0x29], 0
jne 0x100810e6
mov dword [esp + 0x60], eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
cdq
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
adc ecx, edx
mov eax, dword [eax + 0x10]
js 0x100810c8
jg 0x1008072d
cmp dword [esp + 0x58], eax
jb 0x100810c8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.10081390
mov edx, eax
test edx, edx
jle 0x100810e6
jmp 0x100810cc
cmp byte [esp + 0x11], 0
je 0x10080769
mov ecx, dword [esp + 0x5c]
call fcn.1007ff40
mov dl, byte [esp + 0x13]
movapd xmm2, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x1008077f
mov eax, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x1c], eax
movsd xmm2, qword [eax - 8]
movsd qword [esp + 0x48], xmm2
test esi, esi
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm2
mov dword [esp + 0x2c], esi
jbe 0x100807ac
xorpd xmm2, xmmword [0x1018cc70]
mov dh, 0x2d
movsd qword [esp + 0x48], xmm2
mov byte [esp + 0x12], dh
jmp 0x100807b0
mov dh, byte [esp + 0x12]
cmp dl, 3
jne 0x100807be
test esi, esi
jle 0x100807be
dec esi
mov dword [esp + 0x2c], esi
movsd xmm1, qword [0x1018caf0]
and esi, 0xfff
movsd xmm4, qword [0x1018cae8]
cmp esi, 8
jl 0x10080813
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
jmp 0x100807f0
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
dec ecx
jne 0x100807f0
test esi, esi
jle 0x10080820
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x10080817
cmp dl, 1
jne 0x10080833
movapd xmm0, xmm1
addsd xmm2, xmm0
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x60], xmm2
xor ecx, ecx
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x60]
ucomisd xmm0, qword [esp + 0x70]
mov dword [esp + 0x30], ecx
lahf
test ah, 0x44
jnp 0x1008086e
mov edi, 0x10187804
lea esi, [ecx + 3]
mov dword [esp + 0x14], edi
jmp 0x100806db
comisd xmm2, xmm3
jbe 0x100809a0
movsd xmm5, qword [0x1018cbd0]
comisd xmm2, xmm5
movsd xmm6, qword [0x1018caf8]
movapd xmm3, xmm6
jb 0x100808b3
cmp ecx, 0x15e
jg 0x100808af
mulsd xmm3, xmm5
add ecx, 0x64
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10080892
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1018cb98]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x100808ed
lea esp, [esp]
cmp ecx, 0x15e
jg 0x100808e9
movapd xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x100808d0
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1018cb08]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1008091e
cmp ecx, 0x15e
jg 0x1008091a
movapd xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10080903
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x1018cad0]
comisd xmm0, xmm2
movsd qword [esp + 0x48], xmm2
jbe 0x10080957
movsd xmm3, qword [0x1018cb70]
mov edi, edi
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x10080940
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
comisd xmm6, xmm2
jbe 0x10080975
lea ecx, [ecx]
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x10080960
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp ecx, 0x15e
jle 0x100809a8
xor eax, eax
mov byte [esp + 0x78], dh
test dh, dh
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
setne al
mov dword [esp + eax + 0x78], 0x666e49
lea esi, [eax + 3]
jmp 0x100806db
movsd xmm5, qword [0x1018cb08]
lea esi, [esp + 0x78]
cmp dl, 1
je 0x100809d0
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x48], xmm2
jb 0x100809d0
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp dl, 3
jne 0x10080a63
cmp byte [esp + 0x2a], 0
sete byte [esp + 0x23]
cmp ecx, 0xfffffffc
jl 0x10080a56
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x10080a56
sub eax, ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x2c], eax
mov edx, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
xor eax, eax
test edx, edx
cmovg eax, edx
cdq
mov edi, eax
mov dword [esp + 0x14], edx
mov eax, ecx
cdq
add edi, eax
mov eax, dword [esp + 0x18]
adc dword [esp + 0x14], edx
cdq
add edi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
js 0x10080a88
jg 0x10080a32
cmp edi, 0x37
jbe 0x10080a88
add edi, 0xf
adc eax, 0
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, dword [esp + 0x14]
or eax, edx
je 0x10080a78
push edx
push edi
call fcn.1007f3d0
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x10080a7a
xor edx, edx
mov byte [esp + 0x13], 2
mov dword [esp + 0x40], edx
jmp 0x10080a01
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
cmp dl, 2
jne 0x100809fb
xor edx, edx
mov dword [esp + 0x40], edx
jmp 0x10080a01
xor eax, eax
mov dword [esp + 0x44], eax
mov esi, eax
test eax, eax
je 0x1008129c
movzx eax, byte [esp + 0x2b]
test ecx, ecx
mov edi, esi
mov dword [esp + 0x14], edi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x2b]
or al, byte [esp + 0x2a]
mov byte [esp + 0x22], al
mov al, byte [esp + 0x12]
mov dword [esp + 0x60], edx
test al, al
je 0x10080abd
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [0x1018cb08]
test eax, eax
jns 0x10080ae0
mov byte [esi], 0x30
inc esi
jmp 0x10080b11
test edx, edx
jg 0x10080ae8
mov al, 0x30
jmp 0x10080aff
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 + 0x40]
dec eax
mov dword [esp + 0x40], eax
jns 0x10080ae0
mov dword [esp + 0x60], edx
cmp byte [esp + 0x22], 0
je 0x10080b1c
mov byte [esi], 0x2e
inc esi
inc eax
jns 0x10080b4c
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x40], eax
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
add esi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x60]
test ecx, ecx
jle 0x10080b77
dec ecx
test edx, edx
jg 0x10080b59
mov al, 0x30
jmp 0x10080b70
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
test ecx, ecx
jg 0x10080b50
cmp byte [esp + 0x23], 0
je 0x10080bb4
cmp byte [esp + 0x22], 0
je 0x10080bb4
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x10080b9d
mov edi, edi
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10080b90
cmp byte [esi - 1], 0x2e
jne 0x10080bb4
cmp byte [esp + 0x2b], 0
je 0x10080bb0
mov byte [esi], 0x30
inc esi
jmp 0x10080bb4
dec esi
mov byte [esi], 0
cmp byte [esp + 0x13], 2
jne 0x10080c46
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x10177610]
mov byte [esi], al
test ecx, ecx
jns 0x10080be6
mov byte [esi + 1], 0x2d
add esi, 2
neg ecx
mov dword [esp + 0x30], ecx
jmp 0x10080bed
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x10080c17
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x30], ecx
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 + 0x30]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x3b]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x100806db
cmp byte [esp + 0x29], 0
jne 0x100806db
mov eax, dword [esp + 0x18]
cmp esi, eax
jge 0x100806db
mov edx, eax
mov ecx, eax
sub edx, esi
cmp eax, edx
jl 0x10080c8b
mov esi, edi
sub esi, edx
lea esp, [esp]
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x10080c80
mov cl, byte [esp + 0x12]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x10080cb3
add edi, eax
mov ecx, edx
shr ecx, 2
mov eax, 0x30303030
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, eax
jmp 0x100806df
cmp byte [esp + 0x11], 0
jne 0x10080cdc
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
xor esi, esi
xor eax, eax
jmp 0x100806df
lea edi, [esp + 0x78]
mov byte [esp + 0x78], 0x25
mov dword [esp + 0x14], edi
mov esi, 1
jmp 0x100806db
cmp byte [esp + 0x11], 0
je 0x10080d1f
mov ecx, dword [esp + 0x5c]
call fcn.1007ffc0
test eax, eax
je 0x10080d15
movsx eax, byte [eax]
jmp 0x10080d2d
mov dword [esp + 0x3c], 0
jmp 0x10080d31
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x3c], eax
cmp esi, 1
jle 0x10080d7f
mov edi, dword [esp + 0x18]
mov eax, 1
sub eax, esi
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, 1
jle 0x10080d6c
cmp byte [esp + 0x29], 0
jne 0x10080d6c
mov ecx, dword [esp + 0x24]
lea edx, [edi - 1]
push 0x20
call fcn.100814a0
add esp, 4
mov dword [esp + 0x18], 0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [esi - 1]
call fcn.100814a0
add esp, 4
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x78]
mov esi, 1
mov byte [esp + 0x78], al
mov dword [esp + 0x14], edi
jmp 0x100806db
cmp byte [esp + 0x11], 0
je 0x10080db3
mov ecx, dword [esp + 0x5c]
call fcn.1007ffc0
mov edi, eax
mov dword [esp + 0x14], eax
mov dl, 5
jmp 0x10080dc5
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edi, dword [eax - 4]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x10080dd4
mov edi, 0x10186e14
mov dword [esp + 0x14], edi
jmp 0x10080de2
mov eax, dword [esp + 0x44]
cmp dl, 6
cmove eax, edi
mov dword [esp + 0x44], eax
test esi, esi
js 0x10080e08
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x100806db
cmp byte [esi + edi], 0
je 0x100806db
inc esi
cmp esi, eax
jl 0x10080df4
jmp 0x100806db
test edi, edi
jne 0x10080e13
xor esi, esi
jmp 0x100806db
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10080e18
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100806db
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x11], 0
mov dword [esp + 0x3c], eax
je 0x10080ead
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10080e5a
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10080ebb
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x10080e72
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10080ebb
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10080e93
cmp byte [ecx + 0xa], 1
jne 0x10080e93
mov eax, dword [ecx + 0x10]
mov dl, byte [esp + 0x13]
jmp 0x10080ebb
test dl, 1
je 0x10080ea0
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10080ebb
mov dl, 1
call fcn.1009dcd0
mov dl, byte [esp + 0x13]
jmp 0x10080ebb
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor ecx, ecx
mov dword [esp + 0x30], eax
test eax, eax
sete cl
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x10080ee2
cmp dl, 0xa
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x30], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x60], edx
test esi, esi
je 0x10080f0a
mov edi, edi
mov al, byte [edx + eax]
test al, al
je 0x10080f06
cmp al, byte [esp + 0x3c]
jne 0x10080efe
inc ecx
mov eax, dword [esp + 0x30]
inc edx
dec esi
jne 0x10080ef0
mov dword [esp + 0x60], edx
cmp dword [esp + 0x48], 0
jne 0x10080f20
cmp byte [esp + 0x13], 0xa
mov dword [esp + 0x58], 1
je 0x10080f28
mov dword [esp + 0x58], 0
lea eax, [edx + 3]
add eax, ecx
cmp eax, 0x46
jle 0x10080fb7
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x10080f99
test edx, edx
ja 0x10080f99
jb 0x10080f4d
cmp esi, 0x7fffff00
jae 0x10080f99
cmp dword [0x101a5cf8], 0
je 0x10080f8d
mov eax, dword [0x101aae10]
test eax, eax
je 0x10080f69
push eax
call dword [0x101a5d50]
add esp, 4
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.1007f2e0
mov eax, dword [0x101aae10]
test eax, eax
je 0x10080f87
push eax
call dword [0x101a5d58]
add esp, 4
mov eax, dword [esp + 0x6c]
jmp 0x10080f9f
push esi
call dword [0x101a5d20]
add esp, 4
jmp 0x10080f9b
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], eax
mov edi, eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x1008129c
mov edx, dword [esp + 0x60]
jmp 0x10080fbf
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
xor esi, esi
cmp dword [esp + 0x58], esi
je 0x10080fd2
mov eax, dword [esp + 0x3c]
mov esi, 1
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x10080ffa
jmp 0x10080fe0
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x3c]
jne 0x10080ff5
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x10080fe0
cmp dword [esp + 0x58], 0
je 0x10081009
mov eax, dword [esp + 0x3c]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x100806db
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10080369
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [eax - 4]
test edx, edx
je 0x10081044
mov eax, dword [edx + 4]
test eax, eax
je 0x10081044
mov edx, dword [edx]
push eax
call fcn.10081530
add esp, 4
xor esi, esi
xor eax, eax
jmp 0x100806df
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10080369
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
mov eax, dword [eax - 4]
lea esi, [eax + eax*4]
add esi, esi
mov edx, dword [edx + esi*8 + 0xc]
test edx, edx
je 0x100810ae
call fcn.10081580
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
inc edx
cmp edx, dword [ecx + 0x10]
jb 0x1008109f
push 1
mov edx, 0x10187818
call fcn.100814f0
add esp, 4
jmp 0x100810ae
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx + 8]
mov al, byte [0x10187818]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + esi*8 + 0x10]
call fcn.10081580
xor esi, esi
xor eax, eax
jmp 0x100806df
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
dec edx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x100810d0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
add ecx, esi
cmp ecx, dword [eax + 0x10]
jb 0x10081103
push esi
mov edx, edi
mov ecx, eax
call fcn.100814f0
add esp, 4
jmp 0x1008111c
test esi, esi
je 0x10081120
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
push esi
sub eax, esi
add eax, ecx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x29], 0
je 0x100811be
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cdq
add esi, eax
adc ecx, edx
js 0x10081161
jg 0x10081146
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 0x10]
jb 0x1008115d
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.10081390
mov edx, eax
test edx, edx
jle 0x100811c6
jmp 0x10081170
mov esi, eax
jmp 0x10081165
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [esi + 0xc]
dec edx
mov ecx, dword [esi + 8]
mov byte [ecx + eax], 0x20
inc dword [esi + 0xc]
test edx, edx
jg 0x10081170
jmp 0x100811c6
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp ecx, dword [edx + 0x10]
jb 0x100811a5
push esi
mov esi, dword [esp + 0x28]
mov edx, edi
mov ecx, esi
call fcn.100814f0
add esp, 4
jmp 0x100811c6
test esi, esi
je 0x100811c4
mov eax, dword [edx + 8]
push esi
sub eax, esi
mov dword [edx + 0xc], ecx
add eax, ecx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x24]
jmp 0x100811c6
mov esi, edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10081277
mov ecx, dword [esi]
test ecx, ecx
je 0x10081211
cmp dword [ecx + 0x1c8], 0
je 0x100811eb
call fcn.1007f780
jmp 0x10081271
cmp edx, dword [ecx + 0x120]
jb 0x10081211
cmp edx, dword [ecx + 0x124]
jae 0x10081211
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edx
jmp 0x10081271
cmp dword [0x101a5cf8], 0
je 0x10081267
mov eax, dword [0x101aae10]
test eax, eax
je 0x10081231
push eax
call dword [0x101a5d50]
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call dword [0x101a5d2c]
mov ecx, dword [esp + 0x48]
add esp, 4
sub dword [0x101aae48], eax
dec dword [0x101aae6c]
push ecx
call dword [0x101a5d24]
mov eax, dword [0x101aae10]
add esp, 4
test eax, eax
je 0x10081271
push eax
call dword [0x101a5d58]
jmp 0x1008126e
push edx
call dword [0x101a5d24]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x54]
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x10080074
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov byte [eax + 0x18], 1
mov dword [eax + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
inc edx
cmp edx, dword [esi + 0x10]
jb 0x100812ef
push 1
mov edx, 0x10187800
mov ecx, esi
call fcn.100814f0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov al, byte [0x10187800]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret