Function at 0x406ac0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x432560
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x43e524]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004013f0
mov dword [esp + 0x94], ebx
cmp dword [esp + 0x80], 0x10
mov edi, dword [esp + 0x6c]
jae 0x406b3b
lea edi, [esp + 0x6c]
push 0x2f
push edi
call fcn.0041e8e0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x406b7b
push 0x5c
push edi
call fcn.0041e8e0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x406b7b
cmp dword [esp + 0x80], 0x10
jb 0x406b74
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041dbb6
add esp, 4
xor al, al
jmp 0x406eba
mov byte [esi], 0
mov eax, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b90
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00401520
mov byte [esp + 0x94], 1
mov byte [esi], 0x2f
mov eax, dword [esp + 0x44]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x406bbf
call fcn.0041de6c
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x406bd2
lea eax, [esp + 0x34]
cmp byte [eax + esi], 0x2f
je 0x406be5
push 0x2f
push 1
lea ecx, [esp + 0x38]
call fcn.00407710
lea ecx, [esp + 0x18]
push ecx
call fcn.004032c0
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
mov byte [esp + 0x94], 3
mov ecx, dword [esp + 0x44]
xor esi, esi
cmp ecx, ebx
mov byte [esp + 0x17], 0
jle 0x406c76
cmp esi, ecx
jbe 0x406c20
call fcn.0041de6c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x406c2e
lea eax, [esp + 0x34]
cmp byte [eax + esi], 0x2f
je 0x406c52
cmp esi, ecx
jbe 0x406c3d
call fcn.0041de6c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x406c4b
lea eax, [esp + 0x34]
movzx edx, byte [eax + esi]
push edx
jmp 0x406c62
lea eax, [esp + 0x4c]
push eax
lea ebx, [esp + 0x1c]
call fcn.00404d30
push 0x2f
push 1
lea ecx, [esp + 0x54]
call fcn.00407710
mov ecx, dword [esp + 0x44]
inc esi
cmp esi, ecx
jl 0x406c15
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x406c85
call fcn.0041de6c
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jbe 0x406c9f
call fcn.0041de6c
xor ebx, ebx
cmp ebp, ebx
je 0x406cab
cmp ebp, dword [esp + 0x18]
je 0x406cb0
call fcn.0041de6c
cmp esi, edi
je 0x406df4
cmp ebp, ebx
jne 0x406cd8
call fcn.0041de6c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x406ccd
call fcn.0041de6c
cmp dword [esi + 0x18], 0x10
jb 0x406cdd
mov eax, dword [esi + 4]
jmp 0x406ce0
mov eax, dword [ebp]
jmp 0x406cc3
lea eax, [esi + 4]
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406d07
mov byte [esp + 0x17], 1
jmp 0x406d0b
test bl, bl
je 0x406d2d
cmp ebp, edi
jne 0x406d28
call fcn.0041de6c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x406d20
call fcn.0041de6c
add esi, 0x1c
jmp 0x406c90
mov eax, dword [ebp]
jmp 0x406d16
mov ebx, 0x10
cmp dword [esp + 0x64], ebx
jb 0x406d45
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041dbb6
add esp, 4
mov esi, dword [esp + 0x24]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
cmp esi, edi
je 0x406dab
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x406d9b
add esi, 0x18
xor ebx, ebx
jmp 0x406d70
cmp dword [esi], 0x10
jb 0x406d81
mov edx, dword [esi - 0x14]
push edx
call fcn.0041dbb6
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x406d70
mov esi, dword [esp + 0x24]
push esi
call fcn.0041dbb6
add esp, 4
mov ebx, 0x10
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x48], ebx
jb 0x406dd7
mov edx, dword [esp + 0x34]
push edx
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
jmp 0x406b65
mov esi, 0x10
cmp dword [esp + 0x64], esi
jb 0x406e0c
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041dbb6
add esp, 4
mov eax, dword [esp + 0x24]
mov ebp, 0xf
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
cmp eax, ebx
je 0x406e67
mov edi, dword [esp + 0x28]
cmp eax, edi
je 0x406e5a
lea esi, [eax + 0x18]
cmp dword [esi], 0x10
jb 0x406e42
mov edx, dword [esi - 0x14]
push edx
call fcn.0041dbb6
add esp, 4
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov byte [esi - 0x14], 0
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x406e31
mov esi, 0x10
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0041dbb6
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x406e93
mov eax, dword [esp + 0x34]
push eax
call fcn.0041dbb6
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
cmp dword [esp + 0x80], esi
jb 0x406eb6
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0041dbb6
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0041d9bb
add esp, 0x84
ret