Function at 0x441560
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x56b114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x94], esi
lea ecx, [ebp - 0x40]
push 0xf
push str.C:_R2MiniClient
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e340
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x4f97d0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x441619
mov edx, 0x51ea80
mov ecx, 0x56ec10
call fcn.00416850
push eax
call fcn.00416b00
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x10], 0
add esp, 4
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
jmp 0x4417e2
mov edx, dword [ebp - 0x94]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441640
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e140
push 0xd
push str.R2MiniClient
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00413350
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x441723
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x441723
mov edx, 0x51eab8
mov ecx, 0x56ec10
call fcn.00416850
push eax
call fcn.00416b00
add esp, 4
push dword [ebp - 0x94]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
cmp edx, 8
jb 0x4417e2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4417d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4417ff
jmp 0x4417d8
push dword [ebp - 0x94]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x90]
call fcn.004158e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
push eax
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.00416030
lea ecx, [ebp - 0x90]
call fcn.004157f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44179e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441794
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441804
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x4417e2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4417d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441809
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov eax, esi
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.004c360c
mov esp, ebp
pop ebp
ret
call fcn.004cac9c
call fcn.004cac9c
call fcn.004cac9c
int3