Function at 0x403bf0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x449bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464ca0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
call fcn.0040e56f
mov dword [esp + 0x48], 0
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403c46
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x50]
push ebp
lea ecx, [esp + 0x18]
push str._s.
push ecx
mov byte [esp + 0x54], 1
call fcn.004033e0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.0040e5fd
test eax, eax
je 0x403e17
mov bl, 2
lea esp, [esp]
lea ecx, [esp + 0x28]
call fcn.0040e3cd
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.0040e532
test eax, eax
jne 0x403e08
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403c3c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], bl
call fcn.0040e88d
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 3
call fcn.00403320
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
je 0x403d7b
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403c3c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x50]
push esi
push ebp
lea ecx, [esp + 0x20]
push 0x44e958
push ecx
mov byte [esp + 0x58], 4
call fcn.004033e0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add esp, 0x10
push edi
call fcn.00403bf0
jmp 0x403dc7
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403c3c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x50]
push esi
push ebp
lea ecx, [esp + 0x20]
push 0x44e958
push ecx
mov byte [esp + 0x58], 5
call fcn.004033e0
mov edi, dword [esp + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x48], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403de7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
jne 0x403c90
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.0040e2fd
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x403e6e
push 0x44e944
call fcn.004084a0
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040e595
xor eax, eax
jmp 0x403ea5
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040e595
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4