Function at 0x40f9a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x478cd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f9e5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40fa17
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x30]
test edx, edx
mov byte [esp + 0x28], 1
jne 0x40fa38
xor eax, eax
jmp 0x40fa4b
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40fa40
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00401910
mov ebp, dword [esp + 0x18]
or ebx, 0xffffffff
cmp dword [ebp - 0xc], 0
jge 0x40fa6d
push 0x80070057
call fcn.00401000
mov cl, byte [ebp]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x30]
push edx
call fcn.0040a970
add esp, 4
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 1]
test eax, eax
jl 0x40fbc7
cmp eax, ecx
jg 0x40fbc7
add eax, ebp
push 0x481d20
push eax
call fcn.0045e0fc
add esp, 8
test eax, eax
je 0x40fbc7
sub eax, ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40fbc7
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404c90
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x28], 2
je 0x40fb2e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40fb20
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40fb20
push eax
call fcn.00401180
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40fb13
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
jmp 0x40fb2e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401910
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00416170
test eax, eax
jne 0x40fa81
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40fc12
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, 0x10
jge 0x40fa81
test eax, eax
jl 0x40fa81
push str.RECYCLER88
push ecx
call fcn.0045e0fc
add esp, 8
test eax, eax
je 0x40fa81
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x40fa81
lea eax, [esp + 0x14]
push eax
call fcn.0040a8b0
jmp 0x40fa7e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40fc5d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4