Function at 0x4011e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4591b1
mov eax, dword fs:[0]
push eax
mov eax, 0x2288
call fcn.0043e420
mov eax, dword [0x471080]
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, edx
mov dword [ebp - 0x2294], eax
mov esi, ecx
test eax, eax
je 0x4014af
lea eax, [ebp - 0x244]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
jae 0x4014af
test eax, eax
je 0x4014af
push 0
call fcn.00441e6f
push eax
call fcn.00441c9f
add esp, 8
xor edi, edi
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 7
mov word [ebp - 0x2274], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2274]
cmp eax, esi
je 0x4012a3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x401294
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2274]
push eax
call fcn.004017c0
push 0xa
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
push 0x14
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00441c7e
cdq
mov ecx, 0x7fff
idiv ecx
push edx
call fcn.00441d9e
lea eax, [ebp - 0x38]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4012d7
sub eax, edx
lea ecx, [ebp - 0x2274]
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401900
xor eax, eax
mov dword [ebp - 0x227c], 0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x2278], 7
mov word [ebp - 0x228c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401320
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228c]
call fcn.004017c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2274]
cmp dword [ebp - 0x2260], 8
lea ecx, [ebp - 0x228c]
push dword [ebp - 0x2264]
cmovae eax, dword [ebp - 0x2274]
push eax
call fcn.00401900
push eax
lea ecx, [ebp - 0x225c]
call fcn.004016b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2278]
cmp edx, 8
jb 0x4013bc
mov ecx, dword [ebp - 0x228c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4013b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015e9
push edx
push ecx
call fcn.0043dbf3
add esp, 8
xor eax, eax
mov dword [ebp - 0x227c], 0
cmp dword [ebp - 0x2248], 8
mov word [ebp - 0x228c], ax
lea eax, [ebp - 0x225c]
cmovae eax, dword [ebp - 0x225c]
push 0
push eax
mov dword [ebp - 0x2278], 7
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4014cc
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x2248]
cmp edx, 8
jb 0x401441
mov ecx, dword [ebp - 0x225c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015e9
push edx
push ecx
call fcn.0043dbf3
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2260]
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 7
mov word [ebp - 0x225c], ax
cmp edx, 8
jb 0x4014a5
mov ecx, dword [ebp - 0x2274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40149b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015e9
push edx
push ecx
call fcn.0043dbf3
add esp, 8
inc edi
cmp edi, 0x32
jl 0x401260
xor al, al
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.0043dbb2
mov esp, ebp
pop ebp
ret
push 0x2000
lea eax, [ebp - 0x2244]
push 0
push eax
call fcn.0043fa60
add esp, 0xc
lea ecx, [ebp - 0x2244]
cmp dword [ebp - 0x2248], 8
lea eax, [ebp - 0x225c]
cmovae eax, dword [ebp - 0x225c]
push 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x401515
mov byte [ebp - 0x228d], al
jmp 0x401549
lea edx, [ebp - 0x2244]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401520
mov ecx, dword [ebp - 0x2294]
lea eax, [ebp - 0x2244]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004017c0
mov byte [ebp - 0x228d], 1
mov edx, dword [ebp - 0x2248]
cmp edx, 8
jb 0x401585
mov ecx, dword [ebp - 0x225c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40157b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015e9
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov edx, dword [ebp - 0x2260]
xor eax, eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 7
mov word [ebp - 0x225c], ax
cmp edx, 8
jb 0x4015de
mov ecx, dword [ebp - 0x2274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4015d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015ee
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov al, byte [ebp - 0x228d]
jmp 0x4014b1
call fcn.004420bc
call fcn.004420bc
int3