Function at 0x403bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cedd9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5053a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x403ec4
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00408680
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.00406740
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax - 0xc]
cmp edx, ecx
jne 0x403c3c
test edx, edx
jns 0x403c36
push 0x80070057
call fcn.00408740
cmp word [eax], 0x5c
je 0x403c6f
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406740
mov ecx, 3
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
cmp edx, 1
jne 0x403c75
test edx, edx
jns 0x403c69
push 0x80070057
call fcn.00408740
cmp word [eax], 0x2f
jne 0x403c75
mov byte [ebp - 0x19], 0
jmp 0x403c79
mov byte [ebp - 0x19], 1
or edi, 0xffffffff
test cl, 2
je 0x403ca1
mov edx, dword [ebp - 0x20]
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403ca1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403cc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x19], 0
je 0x403cd7
push 1
push 0x4f609c
lea ecx, [ebp - 0x18]
call fcn.004071c0
mov eax, dword [ebp - 0x18]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x403cf6
push 0
lea ecx, [ebp - 0x18]
call fcn.00408460
mov eax, dword [ebp - 0x18]
push str.JJSciktyNotes
push eax
lea esi, [ebx + 0x498]
push str._s_s_
push esi
call fcn.00407520
mov eax, dword [esi]
mov ecx, 1
add esp, 0x10
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x403d2a
push 0
mov ecx, esi
call fcn.00408460
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x403d5b
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x403d51
push 0
mov ecx, esi
call fcn.00408460
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ecx
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004066e0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov edx, 1
mov ecx, dword [eax]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
or ecx, edx
jge 0x403d8b
push 0
mov ecx, eax
call fcn.00408460
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.00404e70
lea ecx, [ebx + 0x49c]
mov byte [ebp - 4], 3
push eax
call fcn.00406b20
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403dc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403de2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x468], 0
je 0x403e12
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x403e05
push 0
mov ecx, esi
call fcn.00408460
mov ecx, dword [ebx + 0x468]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebx + 0x46c], 0
je 0x403ea5
call fcn.00408990
mov ecx, eax
test ecx, ecx
jne 0x403e34
push 0x80004005
call fcn.00408740
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push dword [ebx + 0x49c]
push str.6.5MB
push 0x4f5ab0
push eax
call fcn.00407520
mov esi, dword [ebp - 0x14]
mov ecx, 1
add esp, 0x10
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x403e7e
push 0
lea ecx, [ebp - 0x14]
call fcn.00408460
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x46c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x403ea5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x403ec4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bf6
mov esp, ebp
pop ebp
ret 4