Function at 0x4062d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bbc5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x438040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
test esi, esi
je 0x40634d
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40634d
cmp word [esi], 0
je 0x40634d
cmp word [ebx], 0
je 0x40634d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x40634d
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00401320
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004072a0
test al, al
jne 0x406361
lea ecx, [ebp - 0x30]
call fcn.00401300
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x2c]
call fcn.004031f0
lea ecx, [ebp - 0x34]
call fcn.00401320
push 0x5c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004077f0
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x406397
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004075e0
mov byte [ebp - 4], 4
jmp 0x4063b3
push 0x2f
call fcn.004077f0
test eax, eax
je 0x4063c4
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004075e0
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x34]
call fcn.00403180
lea ecx, [ebp - 0x20]
call fcn.00401300
mov dword [ebp - 0x14], 0
sub esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.00407470
mov dword [ebp - 0x18], eax
test eax, eax
js 0x406681
mov eax, dword [ebp - 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x406692
mov ecx, dword [ebp - 0x34]
cmp dword [ecx - 0xc], 0
je 0x406410
mov eax, dword [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004031f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push 0x433f20
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x4066a3
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x40646f
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
push 0x434138
push ecx
call dword [eax]
test eax, eax
jns 0x40646c
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x40646f
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
test eax, eax
je 0x4066b4
lea ecx, [ebp - 0x20]
call fcn.00401320
lea ecx, [ebp - 0x1c]
call fcn.00401320
mov edi, dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
test edi, edi
je 0x4064c8
cmp word [edi], 0
je 0x4064c8
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push edi
push esi
push str._s_s
push eax
call fcn.00407c20
add esp, 0x10
lea eax, [ebp - 0x1c]
push ebx
push edi
push esi
push str._s_s_s.lnk
push eax
call fcn.00407c20
add esp, 0x14
jmp 0x4064f0
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push esi
push 0x434030
push eax
call fcn.00407c20
add esp, 0xc
lea eax, [ebp - 0x1c]
push ebx
push esi
push str._s_s.lnk
push eax
call fcn.00407c20
add esp, 0x10
mov esi, dword [ebp - 0x20]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
cmp dword [eax - 4], 1
jle 0x406516
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00401540
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi]
push 1
push eax
push edi
call dword [ecx + 0x18]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
js 0x4066c9
cmp byte [ebp + 0x1c], 0
je 0x4065ec
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4065ec
push str.SHGetSetFolderCustomSettingsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x406572
push str.SHGetSetFolderCustomSettings
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4065ec
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x88], 0x3c
mov dword [ebp - 0x84], 0x10
cmp dword [eax - 4], 1
jle 0x4065b9
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00401540
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
cmp dword [esi - 4], 1
jle 0x4065de
push dword [esi - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00401540
mov esi, dword [ebp - 0x20]
push 2
push esi
lea eax, [ebp - 0x88]
push eax
call ebx
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.00401300
lea ecx, [ebp - 0x20]
call fcn.00401300
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40660d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
call fcn.00401300
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406626
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.00401300
lea ecx, [ebp - 0x2c]
call fcn.00401300
lea ecx, [ebp - 0x30]
call fcn.00401300
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x436a68
push eax
call fcn.004118aa
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push 0x436a68
push eax
call fcn.004118aa
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 0x436a68
push eax
call fcn.004118aa
push 0x436a68
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x80004005
push eax
call fcn.004118aa
push 0x436a68
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edi
push eax
call fcn.004118aa
int3