Function at 0x10027e20
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10468f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x10028123
sub eax, 1
jne 0x1002815d
movq xmm0, qword [str.C:Imperial]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], eax
mov ax, word [0x1006d6f0]
mov word [ebp - 0x14], ax
mov al, byte [0x1006d6f2]
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [ebp - 0xc], 0xb
mov dword [ebp - 8], 0xf
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x11], 0
call esi
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x10027ebc
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027eb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028173
push ecx
push edx
call fcn.10041fcb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
movups xmmword [ebp - 0x1c], xmm0
call fcn.1000aab0
movups xmm0, xmmword [str.C:ImperialLogs]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x1f
mov dword [ebp - 0xc], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x10027f3e
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027f34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028178
push ecx
push edx
call fcn.10041fcb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
movups xmmword [ebp - 0x1c], xmm0
call fcn.1000aab0
movups xmm0, xmmword [str.C:ImperialConfigs]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x1f
mov dword [ebp - 0xc], 0x13
movups xmmword [eax], xmm0
mov cx, word [0x1006d718]
mov word [eax + 0x10], cx
mov cl, byte [0x1006d71a]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x10027fd4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002817d
push ecx
push edx
call fcn.10041fcb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
movups xmmword [ebp - 0x1c], xmm0
call fcn.1000aab0
movups xmm0, xmmword [str.C:ImperialResources]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x1f
mov dword [ebp - 0xc], 0x15
movups xmmword [eax], xmm0
mov ecx, dword [0x1006d72c]
mov dword [eax + 0x10], ecx
mov cl, byte [0x1006d730]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x10028068
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002805e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028182
push ecx
push edx
call fcn.10041fcb
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
push 0x20
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
movups xmmword [ebp - 0x20], xmm0
call fcn.1000aab0
movups xmm0, xmmword [str.C:ImperialResourcesFonts]
mov edx, eax
mov dword [ebp - 0xc], 0x1f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x1b
push 0
movups xmmword [edx], xmm0
movq xmm0, qword [0x1006d744]
movq qword [edx + 0x10], xmm0
mov cx, word [0x1006d74c]
mov word [edx + 0x18], cx
mov al, byte [0x1006d74e]
mov byte [edx + 0x1a], al
lea eax, [ebp - 0x20]
mov byte [edx + 0x1b], 0
cmp dword [ebp - 0xc], 0x10
cmovae eax, dword [ebp - 0x20]
push eax
call esi
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x10
jb 0x1002810c
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028102
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028187
push ecx
push edx
call fcn.10041fcb
add esp, 8
push 0
push 0
push 0
push 0x100263e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1002815d
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
push 9
movups xmmword [esi], xmm0
push str.DETACHING
push esi
mov dword [esi + 0x10], 9
mov dword [esi + 0x14], 0xf
call fcn.100438a0
add esp, 0xc
mov byte [esi + 9], 0
call fcn.1003ae30
add esp, 0x18
call fcn.10039150
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.100421e2
mov esp, ebp
pop ebp
ret 0xc
call fcn.1004748f
call fcn.1004748f
call fcn.1004748f
call fcn.1004748f
call fcn.1004748f
int3