Function at 0x406450
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x450568
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0
call fcn.004193d5
mov eax, dword [esp + 0x64]
shl eax, 5
mov ecx, dword [eax + esi + 0x10070]
lea ebp, [eax + esi]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], ecx
lea edi, [ebp + 0x1005c]
push edx
mov ecx, edi
mov byte [esp + 0x5c], 1
call fcn.00406190
mov eax, dword [esp + 0x14]
push str.NULL
push eax
mov byte [esp + 0x60], 2
call fcn.00434540
add esp, 8
test eax, eax
sete al
test al, al
je 0x4065d7
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00406160
push eax
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x20]
mov bl, 3
push eax
mov byte [esp + 0x64], bl
call fcn.00406320
add esp, 0xc
mov eax, dword [eax]
push 0
push 0x1031
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 4
call fcn.0041977f
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x58], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x58], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x64], 0
je 0x4068a5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x58], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0
call fcn.004194a9
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ed
jmp 0x4069e4
lea ecx, [esp + 0x38]
call fcn.00424885
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x64], 5
call fcn.00406320
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 6
call fcn.00424911
test eax, eax
mov eax, dword [esp + 0x64]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x58], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4067c9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004011e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x64], eax
push 0x4560f0
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 7
call fcn.004062b0
mov ebx, dword [esp + 0x64]
push 0x5c
push ebx
call fcn.00434d33
add esp, 8
test eax, eax
jne 0x406683
or eax, 0xffffffff
jmp 0x406685
sub eax, ebx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00402030
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 8
call fcn.00402160
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x58], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4066c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00406320
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 9
call fcn.00424911
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x58], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40671c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x406764
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00406320
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00406320
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4067a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x58], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00406160
mov edi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x64], 0xa
call fcn.00406320
push edi
push eax
lea edx, [esp + 0x30]
mov bl, 0xb
push edx
mov byte [esp + 0x70], bl
call fcn.00406320
add esp, 0x18
mov eax, dword [eax]
push 0
push 0x1031
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0xc
call fcn.0041977f
test eax, eax
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x58], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406848
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x58], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40686d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x58], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 2
call fcn.004248a9
jmp 0x406567
mov eax, dword [ebp + 0x10074]
mov ebx, dword [esp + 0x60]
mov edi, dword [ebx]
cdq
push 0
push edx
mov edx, dword [edi + 0x28]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x24]
push 0x38
lea eax, [esi + 0x1907c]
lea edi, [esi + 4]
push str.1.1.4
push edi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0x1000
mov dword [esi + 0x10], eax
mov dword [esi + 0x1a07c], ecx
call fcn.00414fa0
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00405fa0
test eax, eax
je 0x406951
push 0
push edi
call fcn.00414fc0
add esp, 8
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov ebp, eax
call fcn.00405fd0
test ebp, ebp
jne 0x406951
mov ebp, dword [esi + 0x18074]
test ebp, ebp
je 0x406945
mov ecx, esi
call fcn.00405f60
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x18078]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0x3ea
call ebp
add esp, 0xc
push ebx
mov ecx, esi
call fcn.00405fa0
test eax, eax
jne 0x4068fd
push 4
push edi
call fcn.00414fc0
add esp, 8
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov ebx, eax
call fcn.00405fd0
test eax, eax
je 0x406972
test ebx, ebx
je 0x406951
push edi
call fcn.00414e50
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00419373
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0
call fcn.004194a9
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ea
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc