Function at 0x40ab20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b00e
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x496684]
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, 1
mov dword [ebp - 4], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x29c], esp
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405160
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x48]
call fcn.00409a70
mov bl, 3
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x29c], esp
push 0xffffffffffffffff
push 0
lea edx, [ebp + 0x24]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00405160
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x64]
call fcn.00409a70
mov byte [ebp - 4], 5
xor esi, esi
xor eax, eax
push esi
mov ecx, ebx
mov word [ebp - 0x2c], ax
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.00405b60
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x40ac01
lea eax, [ebp - 0x48]
push eax
call fcn.00419ac0
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x40acc9
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x40ac29
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], edi
jb 0x40ac4f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042ca67
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x40ac70
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042ca67
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov byte [ebp - 4], cl
mov edi, 0x10
cmp dword [ebp + 0x1c], edi
jb 0x40ac95
mov edx, dword [ebp + 8]
push edx
call fcn.0042ca67
add esp, 4
mov ebx, 0xf
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x38], edi
jb 0x40acbc
mov eax, dword [ebp + 0x24]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], esi
xor eax, eax
jmp 0x40aefa
push ebx
lea edx, [ebp - 0x298]
or ecx, 0xffffffff
call fcn.00419b70
mov eax, dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x29c], eax
test eax, eax
jle 0x40ad9d
push 0
lea ecx, [ebp - 0x64]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
call fcn.00405b60
push ebx
lea edx, [ebp - 0x298]
mov ecx, esi
call fcn.00419b70
lea eax, [ebp - 0x294]
add esp, 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ad20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
lea ecx, [ebp - 0x2c]
call fcn.00403010
cmp dword [ebp - 0x8c], 0x91
jne 0x40ad5f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40ad56
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40ad6b
lea eax, [ebp - 0x2c]
cmp dword [ebx], 1
je 0x40ad7c
mov dword [0x499bf4], 0x80000
jmp 0x40ad8b
mov ecx, dword [ebx + 4]
push eax
push esi
call fcn.004197e0
mov dword [0x499bf4], eax
inc esi
cmp esi, dword [ebp - 0x29c]
jl 0x40acef
mov edi, 8
cmp dword [ebx], 1
je 0x40adb1
mov dword [0x499bf4], 0x80000
jmp 0x40ae33
mov esi, dword [ebx + 4]
cmp dword [esi + 4], 0xffffffff
je 0x40adc1
mov edi, dword [esi]
call fcn.00418eb0
mov edi, dword [esi]
mov dword [esi + 4], 0xffffffff
test edi, edi
je 0x40ae0c
cmp dword [edi + 0x7c], 0
je 0x40add9
call fcn.00418eb0
mov eax, dword [edi]
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x40ae03
cmp byte [eax], 0
je 0x40adfa
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x29c]
push eax
call fcn.0042ca67
add esp, 4
push edi
call fcn.0042efdd
add esp, 4
push esi
mov dword [esi], 0
mov dword [0x499bf4], 0
call fcn.0042ca67
add esp, 4
push ebx
call fcn.0042ca67
add esp, 4
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x40ae48
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ca67
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], edi
jb 0x40ae72
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042ca67
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x40ae97
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042ca67
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
mov byte [ebp - 4], dl
mov edi, 0x10
cmp dword [ebp + 0x1c], edi
jb 0x40aec0
mov eax, dword [ebp + 8]
push eax
call fcn.0042ca67
add esp, 4
mov esi, 0xf
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x38], edi
jb 0x40aeeb
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], 0
mov eax, 1
mov byte [ebp + 0x24], 0
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.0042ca72
mov esp, ebp
pop ebp
ret 0x38