Function at 0x40aee0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4220d6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x428060]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428060]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0xac], ebp
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x6c], ax
mov edi, 7
push ebp
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebp
call fcn.00401de0
mov byte [esp + 0xac], 1
xor ecx, ecx
push 1
mov eax, 0x424fac
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], cx
call fcn.00402100
mov byte [esp + 0xac], 2
xor edx, edx
push 1
mov eax, 0x424fb0
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
call fcn.00402100
mov byte [esp + 0xac], 3
jmp 0x40afb0
mov eax, dword [esp + 0x30]
mov edi, 8
cmp dword [esp + 0x44], edi
jae 0x40afc3
lea eax, [esp + 0x30]
mov ebx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x68]
call fcn.0040b750
cmp eax, 0xffffffff
je 0x40afe7
lea ecx, [esp + 0x48]
push ecx
push ebx
lea edi, [esp + 0x6c]
call fcn.00402dc0
jmp 0x40afb0
push 0xffffffffffffffff
lea eax, [esp + 0x68]
push ebp
mov ecx, eax
call fcn.00401de0
cmp dword [esp + 0x44], edi
jb 0x40b008
mov edx, dword [esp + 0x30]
push edx
call fcn.0040f38f
add esp, 4
xor eax, eax
mov ebx, 7
mov byte [esp + 0xac], 1
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], ax
cmp dword [esp + 0x60], edi
jb 0x40b037
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0040f38f
add esp, 4
mov eax, dword [esp + 0x78]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x40b047
call fcn.0040f353
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x40b055
lea eax, [esp + 0x68]
cmp word [eax + esi*2], 0x5c
je 0x40b067
push 0x5c
lea esi, [esp + 0x68]
call fcn.00403380
lea edx, [esp + 0x14]
push edx
call fcn.00409480
xor eax, eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], ax
mov byte [esp + 0xac], 5
mov ecx, dword [esp + 0x78]
xor edi, edi
cmp ecx, ebp
jbe 0x40b108
cmp edi, ecx
jbe 0x40b0a8
call fcn.0040f353
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
jae 0x40b0bb
lea eax, [esp + 0x68]
cmp word [eax + edi*2], 0x5c
je 0x40b0e0
cmp edi, ecx
jbe 0x40b0cb
call fcn.0040f353
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x40b0d9
lea eax, [esp + 0x68]
movzx ecx, word [eax + edi*2]
push ecx
jmp 0x40b0f3
lea edx, [esp + 0x80]
push edx
lea ebx, [esp + 0x18]
call fcn.0040b6b0
push 0x5c
lea esi, [esp + 0x84]
call fcn.00403380
mov ecx, dword [esp + 0x78]
inc edi
cmp edi, ecx
jb 0x40b0a8
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x40b117
call fcn.0040f353
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x20], edi
jbe 0x40b130
call fcn.0040f353
test ebx, ebx
je 0x40b13a
cmp ebx, dword [esp + 0x14]
je 0x40b13f
call fcn.0040f353
cmp esi, edi
je 0x40b283
test ebx, ebx
jne 0x40b199
call fcn.0040f353
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b15c
call fcn.0040f353
lea eax, [esi + 4]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x40b16b
mov eax, dword [eax]
push 0
push eax
call ebp
test eax, eax
jne 0x40b17f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x40b1a1
test ebx, ebx
jne 0x40b19d
call fcn.0040f353
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b194
call fcn.0040f353
add esi, 0x1c
jmp 0x40b121
mov eax, dword [ebx]
jmp 0x40b152
mov eax, dword [ebx]
jmp 0x40b18a
cmp dword [esp + 0x98], edi
jb 0x40b1ba
mov eax, dword [esp + 0x84]
push eax
call fcn.0040f38f
add esp, 4
mov eax, dword [esp + 0x20]
xor ebx, ebx
xor ecx, ecx
mov ebp, 7
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
cmp eax, ebx
je 0x40b228
mov edi, dword [esp + 0x24]
cmp eax, edi
je 0x40b21a
lea esi, [eax + 0x18]
lea esp, [esp]
cmp dword [esi], 8
jb 0x40b201
mov edx, dword [esi - 0x14]
push edx
call fcn.0040f38f
add esp, 4
xor eax, eax
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40b1f0
mov eax, dword [esp + 0x20]
push eax
call fcn.0040f38f
add esp, 4
mov edi, 8
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0x7c], edi
jb 0x40b254
mov eax, dword [esp + 0x68]
push eax
call fcn.0040f38f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
cmp dword [esp + 0xcc], edi
jb 0x40b27c
mov edx, dword [esp + 0xb8]
push edx
call fcn.0040f38f
add esp, 4
xor al, al
jmp 0x40b367
mov ebp, 8
cmp dword [esp + 0x98], ebp
jb 0x40b2a1
mov eax, dword [esp + 0x84]
push eax
call fcn.0040f38f
add esp, 4
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], 0
mov word [esp + 0x84], cx
test esi, esi
je 0x40b30b
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x40b2fe
add esi, 0x18
cmp dword [esi], ebp
jb 0x40b2e5
mov edx, dword [esi - 0x14]
push edx
call fcn.0040f38f
add esp, 4
xor eax, eax
mov dword [esi], ebx
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40b2d5
mov edx, dword [esp + 0x20]
push edx
call fcn.0040f38f
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0x7c], ebp
jb 0x40b339
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0040f38f
add esp, 4
xor edx, edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 0
mov word [esp + 0x68], dx
cmp dword [esp + 0xcc], ebp
jb 0x40b365
mov eax, dword [esp + 0xb8]
push eax
call fcn.0040f38f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0040efdf
add esp, 0x9c
ret