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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565acd
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x433f36
push 0x80004005
call fcn.00404160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x433f69
push 0x80004005
call fcn.00404160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x220]
call fcn.00404f00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx - 0xc]
test eax, eax
jns 0x433fb9
or eax, 0xffffffff
jmp 0x433fd8
push 0x5958c8
push ecx
call fcn.0053d6a8
add esp, 8
test eax, eax
jne 0x433fd0
or eax, 0xffffffff
jmp 0x433fd8
sub eax, dword [ebp - 0x220]
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00410460
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.004063a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43403c
push 0x80004005
call fcn.00404160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov ecx, str.CNTemp
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x43407d
mov edx, ecx
movzx esi, dx
push esi
call fcn.00448b35
test eax, eax
je 0x43408d
push esi
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405160
jmp 0x43408d
push str.CNTemp
lea ecx, [ebp - 0x21c]
call fcn.0042c520
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x22c]
push edx
mov byte [ebp - 4], 5
call fcn.004104e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.004063a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4340e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43410a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x224]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x224]
lea ecx, [edi + 0x160]
push edx
call fcn.004063a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434157
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43417d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4341a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret