Function at 0x41d1b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f018
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4620f4]
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 esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
push ecx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
lea ecx, [esi - 8]
call fcn.0041f5c0
test al, al
jne 0x41d2a6
push str.Error_occurred_while_creating_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x14]
push 0x4000a
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fa95
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fd30
mov dword [ecx + 0xc], 0x44fd04
mov dword [ecx + 0x10], 0x38c
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00412b70
push eax
mov eax, dword [esi - 4]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004030c0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x41d4a6
lea esp, [esp]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x41d4a6
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, esi
test esi, esi
jne 0x41d280
jmp 0x41d4a6
xor edi, edi
test ebx, ebx
je 0x41d3a7
mov eax, dword [ebx + 4]
push ebx
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x41d30d
push str.Not_enough_memory_to_complete_the_operation.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x14]
push 0x40006
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fa9e
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fe08
mov dword [ecx + 0xc], 0x44fddc
mov dword [ecx + 0x10], 0x395
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00412b70
mov byte [ebp - 4], 2
jmp 0x41d388
mov eax, dword [ebx + 8]
push edi
call eax
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41d3a7
mov ecx, dword [ebx + 0xc]
push edi
call ecx
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Access_to_the_file_is_denied.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x14]
push 0x40014
push 0x44feac
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21faa6
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fef0
mov dword [ecx + 0xc], 0x44fec4
mov dword [ecx + 0x10], 0x39d
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00416a40
add esp, 0x28
mov byte [ebp - 4], 3
push eax
mov eax, dword [esi - 4]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402f20
jmp 0x41d4a6
mov eax, dword [esi - 4]
lea ecx, [ebp - 0x30]
mov eax, dword [eax + 4]
add eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042c470
mov eax, dword [esi - 4]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov eax, dword [eax + esi]
test eax, eax
je 0x41d3d7
cmp dword [eax + 4], 0
jne 0x41d48d
lea ecx, [ebp - 0x38]
call fcn.00436e20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41d46f
push str.Error_occurred_while_creating_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x4000a
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push 0x44fedc
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fab0
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44ffc0
mov dword [ecx + 0xc], str.winnt_dir::CreateDir
mov dword [ecx + 0x10], 0x3a7
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 4]
mov byte [ebp - 4], 6
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00402f20
jmp 0x41d481
mov eax, dword [esi - 4]
push 0x465148
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004030c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00436eb0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0042c690
test edi, edi
je 0x41d4a6
mov eax, dword [ebx + 0xc]
push edi
call eax
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41d4b7
push dword [ebp - 0x28]
call fcn.00404a15
add esp, 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.004051a4
mov esp, ebp
pop ebp
ret 8