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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101ac034]
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 0x10081825
add eax, 4
mov byte [esp + 0x11], 1
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x5c], eax
jmp 0x10081829
mov byte [esp + 0x11], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10081b29
cmp eax, 0x25
je 0x10081894
mov edi, edx
mov dword [esp + 0x14], edi
nop
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1008184c
cmp al, 0x25
jne 0x10081840
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 0x1008186e
push ecx
mov edx, edi
mov ecx, esi
call fcn.10082cb0
add esp, 4
jmp 0x10081887
test ecx, ecx
je 0x10081887
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.0x10081b29
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x10082a80
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 0x100818c0
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x100818cf.34
movzx eax, byte [eax + 0x10082af4]
jmp dword [eax*4 + 0x10082ad4]
mov byte [esp + 0x29], 1
jmp 0x10081905
mov byte [esp + 0x12], 0x2b
jmp 0x10081905
mov byte [esp + 0x12], 0x20
jmp 0x10081905
mov byte [esp + 0x2a], 1
jmp 0x10081905
mov byte [esp + 0x2b], 1
jmp 0x10081905
mov byte [esp + 0x3b], 1
jmp 0x10081905
mov byte [esp + 0x23], 0x2c
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x100818c0
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x100819a1
cmp byte [esp + 0x11], 0
je 0x1008195b
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10081940
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
jmp 0x10081969
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1009eac0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
jmp 0x10081969
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 0x10081996
mov byte [esp + 0x29], 1
cmp eax, 0x80000001
jl 0x1008198e
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
jmp 0x100819e0
mov dword [esp + 0x18], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
jmp 0x100819e0
xor eax, eax
cmp ecx, 0x30
jl 0x100819d7
mov edi, eax
lea ebx, [ebx]
cmp ecx, 0x39
jg 0x100819c7
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100819b0
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 0x10081a93
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x10081a64
cmp byte [esp + 0x11], 0
je 0x10081a39
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10081a1c
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, dword [esp + 0x48]
jmp 0x10081a47
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1009eac0
mov dword [esp + 0x4c], edx
mov esi, eax
mov edx, dword [esp + 0x54]
jmp 0x10081a47
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 0x10081a9a
cmp esi, 0x80000001
jl 0x10081a93
neg esi
jmp 0x10081a96
xor esi, esi
cmp ecx, 0x30
jl 0x10081a8b
jmp 0x10081a70
cmp ecx, 0x39
jg 0x10081a87
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10081a70
mov dword [esp + 0x54], edx
and esi, 0x7fffffff
jmp 0x10081a96
or esi, 0xffffffff
mov dword [esp + 0x2c], esi
cmp ecx, 0x6c
jne 0x10081ac2
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 1
mov dword [esp + 0x54], edx
cmp ecx, 0x6c
jne 0x10081ac7
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 2
mov dword [esp + 0x54], edx
jmp 0x10081ac7
mov byte [esp + 0x22], 0
xor eax, eax
mov dword [esp + 0x3c], 0x1017a7e0
mov byte [esp + 0x13], 0x11
mov edx, 0x1017a7e0
mov dword [esp + 0x40], eax
nop
movsx eax, byte [edx]
cmp ecx, eax
je 0x10081b00
inc dword [esp + 0x40]
add edx, 6
cmp edx, 0x1017a86a
jl 0x10081ae0
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
jmp 0x10081b1d
mov eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x1017a7e3]
lea ecx, [eax*2 + 0x1017a7e0]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x10081b29
jmp dword [eax*4 + 0x10082b08]
mov al, 1
mov byte [esp + 0x23], 0
jmp 0x10081b48
mov al, byte [esp + 0x22]
mov byte [esp + 0x23], 0
jmp 0x10081b48
mov al, byte [esp + 0x22]
test byte [ecx + 2], 1
je 0x10081c08
cmp byte [esp + 0x11], 0
je 0x10081b99
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10081b86
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 0x10081c93
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1009eac0
jmp 0x10081bcd
test al, al
je 0x10081bbe
mov ecx, dword [esp + 0x1c]
cmp al, 2
jne 0x10081bb3
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx - 4]
jmp 0x10081bcd
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
jmp 0x10081bcc
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
cdq
test edx, edx
jg 0x10081b75
jl 0x10081bd7
test eax, eax
jae 0x10081b75
test eax, eax
jne 0x10081bf2
cmp edx, 0x80000000
jne 0x10081bf2
mov dword [esp + 0x30], edx
mov cl, 0x2d
mov dword [esp + 0x14], eax
jmp 0x10081c8f
neg eax
mov cl, 0x2d
mov dword [esp + 0x14], eax
adc edx, 0
neg edx
mov dword [esp + 0x30], edx
jmp 0x10081c8f
cmp byte [esp + 0x11], 0
je 0x10081c50
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10081c35
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 0x10081c8d
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1009eac0
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x10081c8d
test al, al
je 0x10081c75
mov edi, dword [esp + 0x1c]
cmp al, 2
jne 0x10081c6a
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x1c], edi
mov edx, dword [edi - 4]
jmp 0x10081c85
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], edi
jmp 0x10081c83
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 0x10081c9b
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x3b]
test al, al
je 0x10081cb9
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 0x10081cd1
mov edi, 0x46
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], eax
jmp 0x10081d25
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 0x10081d0d
push ecx
push edi
call fcn.10080b90
add esp, 8
mov dword [esp + 0x44], eax
mov ecx, eax
jmp 0x10081d13
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, ecx
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x10082a5c
mov edx, dword [esp + 0x30]
dec edi
add edi, eax
cmp byte [esp + 0x13], 0xf
jne 0x10081d8a
push 0
push 0xa
push edx
push dword [esp + 0x20]
call fcn.10151970
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 0x10081d6c
push 0
push 0xa
push edx
push dword [esp + 0x6c]
call fcn.10151a80
cmp eax, 1
jne 0x10081d70
test edx, edx
jne 0x10081d70
xor ecx, ecx
jmp 0x10081d74
mov ecx, dword [esp + 0x70]
mov al, byte [ecx*2 + 0x1017d199]
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, 0x1017d370
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.101519e0
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 0x10081db4
jb 0x10081ddf
test esi, esi
jne 0x10081db4
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 0x10081e0b
sub esi, eax
add eax, esi
mov edi, edi
dec edi
mov byte [edi], 0x30
dec esi
jne 0x10081e00
mov dword [esp + 0x14], edi
cmp byte [esp + 0x23], 0
je 0x10081e53
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 0x10081e4f
lea ebx, [ebx]
lea eax, [esi + ecx]
mov al, byte [eax + edi]
mov byte [ecx + edi], al
dec edx
jne 0x10081e4a
mov al, byte [esp + 0x23]
inc ecx
dec esi
mov edx, 3
mov byte [ecx + edi], al
inc ecx
test esi, esi
jg 0x10081e30
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x12]
test cl, cl
je 0x10081e62
dec edi
mov dword [esp + 0x14], edi
mov byte [edi], cl
cmp byte [esp + 0x2a], 0
je 0x10081e92
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 5]
test al, al
je 0x10081e92
movzx eax, al
add eax, 0x1017d190
mov cl, byte [eax]
test cl, cl
je 0x10081e92
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x10081e82
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 0x10082944
cmp byte [esp + 0x29], 0
jne 0x100828a6
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 0x10082888
jg 0x10081eed
cmp dword [esp + 0x58], eax
jb 0x10082888
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.10082b50
mov edx, eax
test edx, edx
jle 0x100828a6
jmp 0x1008288c
cmp byte [esp + 0x11], 0
je 0x10081f29
mov ecx, dword [esp + 0x5c]
call fcn.10081700
mov dl, byte [esp + 0x13]
movapd xmm2, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x10081f3f
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 0x10081f6c
xorpd xmm2, xmmword [0x10193280]
mov dh, 0x2d
movsd qword [esp + 0x48], xmm2
mov byte [esp + 0x12], dh
jmp 0x10081f70
mov dh, byte [esp + 0x12]
cmp dl, 3
jne 0x10081f7e
test esi, esi
jle 0x10081f7e
dec esi
mov dword [esp + 0x2c], esi
movsd xmm1, qword [0x10193108]
and esi, 0xfff
movsd xmm4, qword [0x10193100]
cmp esi, 8
jl 0x10081fd3
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
jmp 0x10081fb0
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 0x10081fb0
test esi, esi
jle 0x10081fe0
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x10081fd7
cmp dl, 1
jne 0x10081ff3
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 0x1008202e
mov edi, 0x1018ddec
lea esi, [ecx + 3]
mov dword [esp + 0x14], edi
jmp 0x10081e9b
comisd xmm2, xmm3
jbe 0x10082160
movsd xmm5, qword [0x101931e8]
comisd xmm2, xmm5
movsd xmm6, qword [0x10193110]
movapd xmm3, xmm6
jb 0x10082073
cmp ecx, 0x15e
jg 0x1008206f
mulsd xmm3, xmm5
add ecx, 0x64
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10082052
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x101931b0]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x100820ad
lea esp, [esp]
cmp ecx, 0x15e
jg 0x100820a9
movapd xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10082090
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x10193120]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x100820de
cmp ecx, 0x15e
jg 0x100820da
movapd xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x100820c3
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x101930e8]
comisd xmm0, xmm2
movsd qword [esp + 0x48], xmm2
jbe 0x10082117
movsd xmm3, qword [0x10193188]
mov edi, edi
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x10082100
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
comisd xmm6, xmm2
jbe 0x10082135
lea ecx, [ecx]
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x10082120
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp ecx, 0x15e
jle 0x10082168
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 0x10081e9b
movsd xmm5, qword [0x10193120]
lea esi, [esp + 0x78]
cmp dl, 1
je 0x10082190
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x48], xmm2
jb 0x10082190
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp dl, 3
jne 0x10082223
cmp byte [esp + 0x2a], 0
sete byte [esp + 0x23]
cmp ecx, 0xfffffffc
jl 0x10082216
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x10082216
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 0x10082248
jg 0x100821f2
cmp edi, 0x37
jbe 0x10082248
add edi, 0xf
adc eax, 0
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, dword [esp + 0x14]
or eax, edx
je 0x10082238
push edx
push edi
call fcn.10080b90
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x1008223a
xor edx, edx
mov byte [esp + 0x13], 2
mov dword [esp + 0x40], edx
jmp 0x100821c1
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
cmp dl, 2
jne 0x100821bb
xor edx, edx
mov dword [esp + 0x40], edx
jmp 0x100821c1
xor eax, eax
mov dword [esp + 0x44], eax
mov esi, eax
test eax, eax
je 0x10082a5c
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 0x1008227d
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [0x10193120]
test eax, eax
jns 0x100822a0
mov byte [esi], 0x30
inc esi
jmp 0x100822d1
test edx, edx
jg 0x100822a8
mov al, 0x30
jmp 0x100822bf
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 0x100822a0
mov dword [esp + 0x60], edx
cmp byte [esp + 0x22], 0
je 0x100822dc
mov byte [esi], 0x2e
inc esi
inc eax
jns 0x1008230c
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 0x10082337
dec ecx
test edx, edx
jg 0x10082319
mov al, 0x30
jmp 0x10082330
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 0x10082310
cmp byte [esp + 0x23], 0
je 0x10082374
cmp byte [esp + 0x22], 0
je 0x10082374
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1008235d
mov edi, edi
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10082350
cmp byte [esi - 1], 0x2e
jne 0x10082374
cmp byte [esp + 0x2b], 0
je 0x10082370
mov byte [esi], 0x30
inc esi
jmp 0x10082374
dec esi
mov byte [esi], 0
cmp byte [esp + 0x13], 2
jne 0x10082406
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x1017d370]
mov byte [esi], al
test ecx, ecx
jns 0x100823a6
mov byte [esi + 1], 0x2d
add esi, 2
neg ecx
mov dword [esp + 0x30], ecx
jmp 0x100823ad
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x100823d7
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 0x10081e9b
cmp byte [esp + 0x29], 0
jne 0x10081e9b
mov eax, dword [esp + 0x18]
cmp esi, eax
jge 0x10081e9b
mov edx, eax
mov ecx, eax
sub edx, esi
cmp eax, edx
jl 0x1008244b
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 0x10082440
mov cl, byte [esp + 0x12]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x10082473
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 0x10081e9f
cmp byte [esp + 0x11], 0
jne 0x1008249c
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 0x10081e9f
lea edi, [esp + 0x78]
mov byte [esp + 0x78], 0x25
mov dword [esp + 0x14], edi
mov esi, 1
jmp 0x10081e9b
cmp byte [esp + 0x11], 0
je 0x100824df
mov ecx, dword [esp + 0x5c]
call fcn.10081780
test eax, eax
je 0x100824d5
movsx eax, byte [eax]
jmp 0x100824ed
mov dword [esp + 0x3c], 0
jmp 0x100824f1
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 0x1008253f
mov edi, dword [esp + 0x18]
mov eax, 1
sub eax, esi
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, 1
jle 0x1008252c
cmp byte [esp + 0x29], 0
jne 0x1008252c
mov ecx, dword [esp + 0x24]
lea edx, [edi - 1]
push 0x20
call fcn.10082c60
add esp, 4
mov dword [esp + 0x18], 0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [esi - 1]
call fcn.10082c60
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 0x10081e9b
cmp byte [esp + 0x11], 0
je 0x10082573
mov ecx, dword [esp + 0x5c]
call fcn.10081780
mov edi, eax
mov dword [esp + 0x14], eax
mov dl, 5
jmp 0x10082585
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 0x10082594
mov edi, 0x1018d3b4
mov dword [esp + 0x14], edi
jmp 0x100825a2
mov eax, dword [esp + 0x44]
cmp dl, 6
cmove eax, edi
mov dword [esp + 0x44], eax
test esi, esi
js 0x100825c8
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x10081e9b
cmp byte [esi + edi], 0
je 0x10081e9b
inc esi
cmp esi, eax
jl 0x100825b4
jmp 0x10081e9b
test edi, edi
jne 0x100825d3
xor esi, esi
jmp 0x10081e9b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100825d8
sub esi, ecx
and esi, 0x3fffffff
jmp 0x10081e9b
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x11], 0
mov dword [esp + 0x3c], eax
je 0x1008266d
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x1008261a
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1008267b
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x10082632
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1008267b
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10082653
cmp byte [ecx + 0xa], 1
jne 0x10082653
mov eax, dword [ecx + 0x10]
mov dl, byte [esp + 0x13]
jmp 0x1008267b
test dl, 1
je 0x10082660
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1008267b
mov dl, 1
call fcn.1009f4c0
mov dl, byte [esp + 0x13]
jmp 0x1008267b
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 0x100826a2
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 0x100826ca
mov edi, edi
mov al, byte [edx + eax]
test al, al
je 0x100826c6
cmp al, byte [esp + 0x3c]
jne 0x100826be
inc ecx
mov eax, dword [esp + 0x30]
inc edx
dec esi
jne 0x100826b0
mov dword [esp + 0x60], edx
cmp dword [esp + 0x48], 0
jne 0x100826e0
cmp byte [esp + 0x13], 0xa
mov dword [esp + 0x58], 1
je 0x100826e8
mov dword [esp + 0x58], 0
lea eax, [edx + 3]
add eax, ecx
cmp eax, 0x46
jle 0x10082777
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x10082759
test edx, edx
ja 0x10082759
jb 0x1008270d
cmp esi, 0x7fffff00
jae 0x10082759
cmp dword [0x101ad378], 0
je 0x1008274d
mov eax, dword [0x101b24c8]
test eax, eax
je 0x10082729
push eax
call dword [0x101ad3d0]
add esp, 4
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.10080aa0
mov eax, dword [0x101b24c8]
test eax, eax
je 0x10082747
push eax
call dword [0x101ad3d8]
add esp, 4
mov eax, dword [esp + 0x6c]
jmp 0x1008275f
push esi
call dword [0x101ad3a0]
add esp, 4
jmp 0x1008275b
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 0x10082a5c
mov edx, dword [esp + 0x60]
jmp 0x1008277f
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
xor esi, esi
cmp dword [esp + 0x58], esi
je 0x10082792
mov eax, dword [esp + 0x3c]
mov esi, 1
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x100827ba
jmp 0x100827a0
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x3c]
jne 0x100827b5
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x100827a0
cmp dword [esp + 0x58], 0
je 0x100827c9
mov eax, dword [esp + 0x3c]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x10081e9b
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10081b29
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [eax - 4]
test edx, edx
je 0x10082804
mov eax, dword [edx + 4]
test eax, eax
je 0x10082804
mov edx, dword [edx]
push eax
call fcn.10082cf0
add esp, 4
xor esi, esi
xor eax, eax
jmp 0x10081e9f
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10081b29
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 0x1008286e
call fcn.10082d40
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
inc edx
cmp edx, dword [ecx + 0x10]
jb 0x1008285f
push 1
mov edx, 0x1018de00
call fcn.10082cb0
add esp, 4
jmp 0x1008286e
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx + 8]
mov al, byte [0x1018de00]
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.10082d40
xor esi, esi
xor eax, eax
jmp 0x10081e9f
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 0x10082890
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
add ecx, esi
cmp ecx, dword [eax + 0x10]
jb 0x100828c3
push esi
mov edx, edi
mov ecx, eax
call fcn.10082cb0
add esp, 4
jmp 0x100828dc
test esi, esi
je 0x100828e0
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 0x1008297e
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cdq
add esi, eax
adc ecx, edx
js 0x10082921
jg 0x10082906
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 0x10]
jb 0x1008291d
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.10082b50
mov edx, eax
test edx, edx
jle 0x10082986
jmp 0x10082930
mov esi, eax
jmp 0x10082925
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 0x10082930
jmp 0x10082986
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp ecx, dword [edx + 0x10]
jb 0x10082965
push esi
mov esi, dword [esp + 0x28]
mov edx, edi
mov ecx, esi
call fcn.10082cb0
add esp, 4
jmp 0x10082986
test esi, esi
je 0x10082984
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 0x10082986
mov esi, edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10082a37
mov ecx, dword [esi]
test ecx, ecx
je 0x100829d1
cmp dword [ecx + 0x1c8], 0
je 0x100829ab
call fcn.10080f40
jmp 0x10082a31
cmp edx, dword [ecx + 0x120]
jb 0x100829d1
cmp edx, dword [ecx + 0x124]
jae 0x100829d1
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edx
jmp 0x10082a31
cmp dword [0x101ad378], 0
je 0x10082a27
mov eax, dword [0x101b24c8]
test eax, eax
je 0x100829f1
push eax
call dword [0x101ad3d0]
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call dword [0x101ad3ac]
mov ecx, dword [esp + 0x48]
add esp, 4
sub dword [0x101b2500], eax
dec dword [0x101b2524]
push ecx
call dword [0x101ad3a4]
mov eax, dword [0x101b24c8]
add esp, 4
test eax, eax
je 0x10082a31
push eax
call dword [0x101ad3d8]
jmp 0x10082a2e
push edx
call dword [0x101ad3a4]
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 0x10081834
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101506bb
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.101506bb
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
inc edx
cmp edx, dword [esi + 0x10]
jb 0x10082aaf
push 1
mov edx, 0x1018dde8
mov ecx, esi
call fcn.10082cb0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov al, byte [0x1018dde8]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101506bb
mov esp, ebp
pop ebp
ret