Function at 0x408c60
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627bbc
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1010]
push eax
push 0x1000
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.adcon_
lea ecx, [ebp - 0x1010]
push ecx
lea esi, [ebx + 0x74]
push str._s_s
push esi
call fcn.00405900
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x10
push 0
push eax
call edi
push 0x6642b4
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.0040cfd0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00403160
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push 0
push eax
call edi
lea ecx, [ebp - 0x1030]
mov dword [ebp - 0x1014], 0
call fcn.0044fcd9
lea ecx, [ebp - 0x101c]
push 0x664810
push ecx
mov byte [ebp - 4], 5
call fcn.004013d0
push eax
lea edx, [ebp - 0x1018]
push esi
push edx
mov byte [ebp - 4], 6
call fcn.00402d70
add esp, 0x14
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408daf
push 0
lea ecx, [ebp + 0x10]
call fcn.00401990
mov edx, dword [ebp + 0x10]
mov edi, edx
mov edx, dword [ebp - 0x1018]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408dd9
push 0
lea ecx, [ebp - 0x1018]
call fcn.00401990
mov edx, dword [ebp - 0x1018]
mov esi, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408dfa
push 0
lea ecx, [ebp + 0xc]
call fcn.00401990
mov edx, dword [ebp + 0xc]
push edx
mov edx, edi
mov ecx, esi
call section..text
add esp, 4
test eax, eax
jne 0x408e1a
mov dword [ebp - 0x1014], 0xffffffff
jmp 0x408ea6
mov ecx, dword [ebp - 0x1018]
push 0
push 0
push ecx
lea ecx, [ebp - 0x1030]
call fcn.00450247
test eax, eax
jne 0x408e40
mov dword [ebp - 0x1014], 0xfffffffe
jmp 0x408ea6
lea ecx, [ebp - 0x1030]
call fcn.0044fbc5
lea esi, [eax + 1]
push esi
call fcn.0044cdd2
add esp, 4
mov edi, eax
push esi
push edi
lea ecx, [ebp - 0x1030]
mov byte [edi], 0
call fcn.0044f9ce
lea ecx, [ebp - 0x1030]
call fcn.0044fc74
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x6b885c
push edi
lea ecx, [ebx + 0x78]
call fcn.00578a20
test eax, eax
jne 0x408e9d
mov dword [ebp - 0x1014], 0xffffffff
push edi
call fcn.0044cdc7
add esp, 4
test byte [0x6babd0], 1
jne 0x408f19
or dword [0x6babd0], 1
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408ed0
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x6babc0], eax
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408efb
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x62a700
mov dword [0x6babc4], eax
call fcn.0054d902
add esp, 4
lea ecx, [ebp + 8]
xor esi, esi
push ecx
mov ecx, 0x6babc0
mov dword [0x6babcc], esi
mov dword [0x6babc8], esi
call fcn.004017f0
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x6babc4
call fcn.004017f0
push esi
push esi
push esi
push esi
push 0x6babc0
push 0x408ac0
call fcn.00461a85
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], 3
call fcn.0044fe47
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40901a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1014]
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.0054cec4
mov esp, ebp
pop ebp
ret 0x10