Function at 0x10002de0
Capabilities:
Create directory
Create thread
Hide thread from debugger
Terminate thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f9ee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24
push esi
mov eax, dword [0x1008f080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0xc], 1
mov esi, dword [ebx + 8]
mov dword [ebp - 0x30], 0
jne 0x1000302b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10003024
mov dword [0x1008fd20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1008fd24], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
push str.appdata
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 1
call fcn.1004c8b7
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.10003060
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 5
push str.xxx_
cmp eax, 5
jb 0x10002ec4
cmp edx, 0xf
lea esi, [ebp - 0x28]
lea eax, [ecx + 5]
cmova esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.10048d00
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x10002ed5
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 5
call fcn.10003130
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x1008fd44]
cmp ecx, 0xf
jbe 0x10002f22
mov eax, dword [0x1008fd30]
inc ecx
cmp ecx, 0x1000
jb 0x10002f18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000304a
mov eax, edx
push ecx
push eax
call fcn.10046e96
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov eax, 0x7fffffff
movups xmmword [0x1008fd30], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [0x1008fd40], xmm0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1008fd40]
sub eax, ecx
cmp eax, 9
jb 0x10003045
cmp dword [0x1008fd44], 0xf
mov eax, 0x1008fd30
push 9
cmova eax, dword [0x1008fd30]
push str.debug.log
push ecx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.10003290
mov ecx, dword [0x1008fd5c]
cmp ecx, 0xf
jbe 0x10002fb8
mov eax, dword [0x1008fd48]
inc ecx
cmp ecx, 0x1000
jb 0x10002fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000304a
mov eax, edx
push ecx
push eax
call fcn.10046e96
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
push 0
push 0
push 0
push 0x10002b90
movups xmmword [0x1008fd48], xmm0
push 0
movq xmm0, qword [ebp - 0x18]
push 0
movq qword [0x1008fd58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000302b
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10003017
push str.NtSetInformationThread
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003017
push 0
push 0
push 0x11
push esi
call eax
test eax, eax
je 0x1000302b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
jmp 0x10003030
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.10002200
call fcn.1004c77a
int3