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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101819f5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101dadb0]
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 0x100f562a
call fcn.100f8e10
test al, al
je 0x100f562a
lea eax, [ebp - 0x64]
push eax
call fcn.1013d1a0
lea eax, [ebp - 0x64]
push eax
call fcn.1013fa60
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 0x100f51b4
mov esi, dword [ebp - 0x74]
mov ecx, dword [esi]
test ecx, ecx
je 0x100f562a
push eax
call dword [0x101ba7a0]
jmp 0x100f562a
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.10174880
mov ecx, eax
call fcn.10179070
sub esp, 8
movsd qword [ebp - 0x70], xmm0
fld qword [ebp - 0x70]
fstp qword [esp]
call fcn.1014a6f0
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.10179070
sub esp, 8
movsd qword [ebp - 0x64], xmm0
fld qword [ebp - 0x64]
fstp qword [esp]
call fcn.1014a6f0
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.10174880
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.100484a0
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 0x100f533f
cmp esi, 0xa
jae 0x100f533f
cmp word [ebp - 0x6c], 0xa
jae 0x100f53f6
movaps xmm0, xmmword [0x101c2230]
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 0x100f5326
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x23]
jmp 0x100f5489
cmp word [ebp - 0x6c], 0xa
jae 0x100f53e8
push esi
push edi
push ebx
cmp edi, 0xa
jae 0x100f5379
movaps xmm0, xmmword [0x101c17d0]
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 0x100f5360
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100f5489
cmp esi, 0xa
jae 0x100f53a9
movaps xmm0, xmmword [str.Nkntnkntnk]
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 0x100f5390
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100f5489
mov cl, 0x15
mov dword [ebp - 0x20], 0x71302515
mov dword [ebp - 0x1c], 0x30352f35
xor eax, eax
mov dword [ebp - 0x18], 0x352f3571
mov word [ebp - 0x14], 0x7130
mov byte [ebp - 0x12], 0
nop dword [eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xd
jae 0x100f53df
mov cl, byte [ebp - 0x20]
jmp 0x100f53d0
mov byte [ebp - 0x12], 0
jmp 0x100f5486
cmp word [ebp - 0x60], 0xa
jae 0x100f5451
cmp word [ebp - 0x68], 0xa
jae 0x100f541c
movaps xmm0, xmmword [str.__tH_f]
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 0x100f5406
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
jmp 0x100f5489
push esi
push edi
push ebx
mov cl, 0x70
mov dword [ebp - 0x20], 0x50145570
mov dword [ebp - 0x1c], 0x1455504a
xor eax, eax
mov dword [ebp - 0x18], 0x40504a50
mov word [ebp - 0x14], 0x1455
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xd
jae 0x100f53df
mov cl, byte [ebp - 0x20]
jmp 0x100f5442
push esi
push edi
push ebx
mov cl, 0x56
mov dword [ebp - 0x20], 0x76327356
mov dword [ebp - 0x1c], 0x3273766c
xor eax, eax
mov dword [ebp - 0x18], 0x73766c76
mov word [ebp - 0x14], 0x32
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100f5482
mov cl, byte [ebp - 0x20]
jmp 0x100f5473
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1f]
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x40]
push eax
call fcn.10049e30
mov esi, eax
add esp, 0x2c
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x100f54e0
mov ecx, eax
call fcn.10043e40
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100f54c5
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10048530
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.10047aa0
lea ecx, [ebp - 0x40]
call fcn.10043e40
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100f54fd
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10048530
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.10048530
movaps xmm0, xmmword [str..KCOG_G_I]
lea eax, [ebp - 0x58]
add esp, 8
mov word [ebp - 0x14], 0x5d0b
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 0x100f5550
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [ebp - 0x74]
add esp, 0x24
mov esi, dword [esi + 0x200]
mov byte [ebp - 4], 2
test esi, esi
je 0x100f55a2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100f55a2
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x40]
call fcn.10043e40
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100f55bf
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.10043e40
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100f5603
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10048530
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.10048530
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.1011f880
mov esp, ebp
pop ebp
ret