Function at 0x4044b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42fd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
call fcn.00421bae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x40]
cmp esi, edi
mov dword [esp + 0x38], edi
jne 0x4044f4
xor eax, eax
jmp 0x4044fd
push esi
call fcn.00412322
add esp, 4
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00401820
push 1
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
call fcn.004016a0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x40453a
cmp ecx, edi
jge 0x404530
push 0x80070057
call fcn.00401100
cmp word [eax], 0x5c
jne 0x40453a
xor bl, bl
jmp 0x40453c
mov bl, 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40455a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40457a
push 0x431e0c
call fcn.00412322
add esp, 4
push eax
push 0x431e0c
lea ecx, [esp + 0x14]
call fcn.00404130
mov ebx, dword [esp + 0xc]
cmp dword [ebx - 0xc], edi
jge 0x404588
or edi, 0xffffffff
jmp 0x4045ab
push 0x431e04
push ebx
call fcn.004122c4
add esp, 8
cmp eax, edi
jne 0x40459f
or edi, 0xffffffff
jmp 0x4045ab
sub eax, ebx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x4045ab
inc edi
push ebp
lea esp, [esp]
cmp edi, dword [ebx - 0xc]
jge 0x404765
call fcn.00421bae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
lea eax, [ebx - 0x10]
lea ebp, [esi - 0x10]
cmp eax, ebp
mov byte [esp + 0x3c], 1
je 0x40462b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
lea esi, [ebp + 0xc]
jl 0x404619
mov ecx, dword [eax]
cmp ecx, dword [ebp]
jne 0x404619
push eax
call fcn.00401480
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [esi], edx
dec edx
test edx, edx
jg 0x40460c
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
lea esi, [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], esi
jmp 0x40462b
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x4c]
call fcn.00401820
mov esi, dword [esp + 0x44]
mov ecx, dword [esi - 0xc]
lea eax, [edi + 1]
test eax, eax
jl 0x40479e
cmp eax, ecx
jge 0x40479e
lea eax, [esi + eax*2]
push 0x5c
push eax
call fcn.00413085
add esp, 8
test eax, eax
je 0x40479e
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x40479e
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x404687
push edi
lea ecx, [esp + 0x48]
call fcn.00401430
mov esi, dword [esp + 0x44]
test edi, edi
jl 0x4047bf
cmp edi, dword [esi - 8]
jg 0x4047bf
mov dword [esi - 0xc], edi
mov word [esi + edi*2], 0
call fcn.00421bae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x1c]
push 0x431df4
push eax
mov byte [esp + 0x48], 2
call fcn.00402720
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0040a157
mov ebp, dword [esp + 0x18]
push 0
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.0040a1d1
test eax, eax
jne 0x404704
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x404704
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.00409f7a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call fcn.0040a17d
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40473a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4045b0
lea eax, [ebx - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404787
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404765
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x404765
push 0x80070057
call fcn.00401100
int3