Function at 0x1005f9f0
Capabilities:
Create directory
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7d69
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10106040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0xf
mov byte [eax + 0x10], 0
lea edi, [eax + 0x28]
mov dword [ebp - 4], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea esi, [eax + 0x40]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x38], esi
mov byte [esi], 0
movups xmmword [eax + 0x58], xmm0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0xf
mov byte [eax + 0x58], 0
mov byte [ebp - 4], 3
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
call fcn.100bd7a3
push str.appdata
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movd xmm0, eax
mov eax, dword [ebp - 0x34]
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x88], xmm0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100bdc44
add esp, 0xc
test eax, eax
jne 0x1005fbc7
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1005fbc7
push 0x104
push eax
call fcn.100bd7fd
add esp, 8
test eax, eax
je 0x1005fbc7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.1003ead0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xa
push 0x100f10d4
cmp eax, 0xa
jb 0x1005fb77
cmp edx, 0xf
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xa]
cmova esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.100ab8d0
mov byte [esi + 0xa], 0
add esp, 0xc
mov esi, dword [ebp - 0x38]
jmp 0x1005fb88
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x38]
push 0xa
call fcn.10042fe0
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]
push dword [ebp - 0x30]
call fcn.100b61b5
movups xmm0, xmmword [ebp - 0x28]
add esp, 4
movq xmm1, qword [ebp - 0x18]
movq qword [ebp - 0x48], xmm1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x3c], xmm1
jmp 0x1005fc01
push str.GetSettingsPath
push str.___s:_failed_to_get_settings_path._n
call fcn.100a17e0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov eax, 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x44], eax
add esp, 8
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x3c], xmm0
movups xmm0, xmmword [ebp - 0x58]
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x98], xmm0
cmp edi, ecx
je 0x1005fc70
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1005fc42
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1005fc38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
mov eax, edx
push ecx
push eax
call fcn.100aa232
add esp, 8
movups xmm0, xmmword [ebp - 0x98]
mov dword [edi + 0x10], 0
mov eax, 0xf
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x58], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
cmp eax, 0xf
jbe 0x1005fca3
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005fc99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
push ecx
push edx
call fcn.100aa232
add esp, 8
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x38], 0
je 0x1005fed4
mov ecx, dword [edi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xc
jb 0x1005fef4
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1005fccd
mov eax, dword [edi]
push 0xc
push str.HeadCore.log
push ecx
push eax
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.1002a1a0
lea eax, [ebp - 0x88]
cmp esi, eax
je 0x1005fd55
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1005fd22
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1005fd18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
mov eax, edx
push ecx
push eax
call fcn.100aa232
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x88], 0
movq xmm0, qword [ebp - 0x78]
movq qword [esi + 0x10], xmm0
jmp 0x1005fd58
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1005fd8c
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005fd82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
push ecx
push edx
call fcn.100aa232
add esp, 8
cmp dword [edi + 0x14], 0xf
mov eax, edi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x30], edi
jbe 0x1005fd9f
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
test esi, esi
je 0x1005fdb8
push esi
push 0x3a
push eax
call fcn.100abfc0
add esp, 0xc
test eax, eax
je 0x1005fdb8
sub eax, dword [ebp - 0x30]
jmp 0x1005fdbb
or eax, 0xffffffff
cmp esi, eax
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
cmovb eax, esi
cmp dword [edi + 0x14], 0xf
movups xmmword [ebp - 0x70], xmm0
jbe 0x1005fddd
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.10042f00
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x70]
lea esi, [edi + 0x10]
cmp esi, eax
je 0x1005fe54
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1005fe27
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1005fe1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
mov eax, edx
push ecx
push eax
call fcn.100aa232
add esp, 8
movups xmm0, xmmword [ebp - 0x70]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x70], 0
movq xmm0, qword [ebp - 0x60]
movq qword [esi + 0x10], xmm0
jmp 0x1005fe57
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1005fe84
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005fe7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005fef9
push ecx
push edx
call fcn.100aa232
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x34]
push eax
push 0x1005f970
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1005fea8
cmp eax, 0xffffffff
jne 0x1005febd
push str.GetWindowHandle
push str.___s:_window_handle_not_found._n
call fcn.100a17e0
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [edi + 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 0xf
jbe 0x1005fecb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1005fed7
mov edi, dword [ebp - 0x34]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9d10
mov esp, ebp
pop ebp
ret
call fcn.10029650
call fcn.100bb9d8
int3