Function at 0x100ebef0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178155
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x74], eax
mov ecx, dword [eax + 0x3c8]
test ecx, ecx
je 0x100ec43a
call fcn.100efbb0
test al, al
je 0x100ec43a
lea eax, [ebp - 0x64]
push eax
call fcn.10133cd0
lea eax, [ebp - 0x64]
push eax
call fcn.10136590
mov ecx, eax
add esp, 8
mov esi, 0x18
movzx eax, byte [ecx + 8]
cdq
sub esi, eax
mov eax, 0
mov edi, esi
sbb eax, edx
mov ebx, eax
shld ebx, edi, 4
shl edi, 4
sub edi, esi
sbb ebx, eax
movzx eax, byte [ecx + 4]
cdq
shld ebx, edi, 2
shl edi, 2
sub edi, eax
mov esi, edi
sbb ebx, edx
mov eax, ebx
shld eax, esi, 4
shl esi, 4
sub esi, edi
sbb eax, ebx
shld eax, esi, 2
movzx eax, byte [ecx]
xor ecx, ecx
cdq
shl esi, 2
sub esi, eax
mov eax, esi
mov dword [ebp - 0x68], esi
or eax, ecx
jne 0x100ebfc4
mov esi, dword [ebp - 0x74]
mov ecx, dword [esi]
test ecx, ecx
je 0x100ec43a
push eax
call dword [0x101b07e0]
jmp 0x100ec43a
mov eax, esi
mov ebx, 0x88888889
mul ebx
lea edi, [ebx - 1]
mov dword [ebp - 0x64], eax
mov esi, edx
mov eax, dword [ebp - 0x68]
mul edi
push 0
mov edi, eax
mov dword [ebp - 0x6c], edx
mov eax, ecx
mul ebx
push 0x3c
mov ebx, edx
mov ecx, eax
xor eax, eax
mov edx, 0x88888888
mul edx
add ecx, esi
mov dword [ebp - 0x60], eax
mov esi, eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], edi
adc ecx, 0
xor eax, eax
add ebx, ecx
adc eax, eax
add esi, ebx
adc edx, eax
shrd esi, edx, 5
shr edx, 5
push edx
push esi
mov dword [ebp - 0x60], edx
call fcn.1016b3d0
mov ecx, eax
call fcn.1016fbc0
sub esp, 8
movsd qword [ebp - 0x70], xmm0
fld qword [ebp - 0x70]
fstp qword [esp]
call fcn.10141220
mov edx, dword [ebp - 0x60]
add esp, 8
fstp qword [ebp - 0x70]
cvttsd2si eax, qword [ebp - 0x70]
mov ecx, esi
movzx ebx, ax
mov dword [ebp - 0x6c], ebx
call fcn.1016fbc0
sub esp, 8
movsd qword [ebp - 0x64], xmm0
fld qword [ebp - 0x64]
fstp qword [esp]
call fcn.10141220
mov edx, dword [ebp - 0x68]
add esp, 8
fstp qword [ebp - 0x64]
cvttsd2si eax, qword [ebp - 0x64]
movzx ebx, bx
push 0
push 0x3c
movzx eax, ax
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, edx
shl ecx, 2
sub eax, ecx
movzx esi, ax
mov eax, esi
mov dword [ebp - 0x60], eax
imul eax, ebx, 0xe10
sub edx, eax
mov eax, 0
sbb eax, eax
push eax
push edx
call fcn.1016b3d0
movzx edi, ax
mov eax, edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.10047940
lea ecx, [ebp - 0x5c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x5c], eax
mov dword [eax], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 1
cmp edi, 0xa
jae 0x100ec14f
cmp esi, 0xa
jae 0x100ec14f
cmp word [ebp - 0x6c], 0xa
jae 0x100ec206
movaps xmm0, xmmword [0x101b8210]
xor ecx, ecx
push esi
push edi
push ebx
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x100ec136
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x23]
jmp 0x100ec299
cmp word [ebp - 0x6c], 0xa
jae 0x100ec1f8
push esi
push edi
push ebx
cmp edi, 0xa
jae 0x100ec189
movaps xmm0, xmmword [str.hXM_fHRHXM_fHRHM_f]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100ec170
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100ec299
cmp esi, 0xa
jae 0x100ec1b9
movaps xmm0, xmmword [0x101b7000]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100ec1a0
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100ec299
mov cl, 0x16
mov dword [ebp - 0x20], 0x72332616
mov dword [ebp - 0x1c], 0x33362c36
xor eax, eax
mov dword [ebp - 0x18], 0x362c3672
mov word [ebp - 0x14], 0x7233
mov byte [ebp - 0x12], 0
nop dword [eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xd
jae 0x100ec1ef
mov cl, byte [ebp - 0x20]
jmp 0x100ec1e0
mov byte [ebp - 0x12], 0
jmp 0x100ec296
cmp word [ebp - 0x60], 0xa
jae 0x100ec261
cmp word [ebp - 0x68], 0xa
jae 0x100ec22c
movaps xmm0, xmmword [0x101b6fd0]
xor ecx, ecx
push esi
push edi
push ebx
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100ec216
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100ec299
push esi
push edi
push ebx
mov cl, 0x32
mov dword [ebp - 0x20], 0x12561732
mov dword [ebp - 0x1c], 0x56171208
xor eax, eax
mov dword [ebp - 0x18], 0x2120812
mov word [ebp - 0x14], 0x5617
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xd
jae 0x100ec1ef
mov cl, byte [ebp - 0x20]
jmp 0x100ec252
push esi
push edi
push ebx
mov cl, 0x19
mov dword [ebp - 0x20], 0x397d3c19
mov dword [ebp - 0x1c], 0x7d3c3923
xor eax, eax
mov dword [ebp - 0x18], 0x3c392339
mov word [ebp - 0x14], 0x7d
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100ec292
mov cl, byte [ebp - 0x20]
jmp 0x100ec283
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1f]
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x40]
push eax
call fcn.100492e0
mov esi, eax
add esp, 0x2c
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x100ec2f0
mov ecx, eax
call fcn.100432e0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100ec2d5
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100479d0
add esp, 8
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10046f40
lea ecx, [ebp - 0x40]
call fcn.100432e0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100ec30d
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.100479d0
movaps xmm0, xmmword [0x101b81e0]
lea eax, [ebp - 0x58]
add esp, 8
mov word [ebp - 0x14], 0x3167
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x40]
movups xmmword [ebp - 0x24], xmm0
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
push eax
mov byte [ebp - 0x12], 0
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100ec360
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov esi, dword [ebp - 0x74]
add esp, 0x24
mov esi, dword [esi + 0x200]
mov byte [ebp - 4], 2
test esi, esi
je 0x100ec3b2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100ec3b2
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x40]
call fcn.100432e0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100ec3cf
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.100432e0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100ec413
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret