Function at 0x403a00
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4634c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x44], 0
mov edi, dword [esp + 0x4c]
cmp dword [edi - 0xc], 0
jne 0x403a73
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
call fcn.004268df
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a8d
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ecx
mov byte [esp + 0x48], 1
lea eax, [edi - 0x10]
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
lea edi, [esp + 0x18]
mov dword [esi], eax
call fcn.00403e50
add esp, 4
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 2
call fcn.00402c00
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403590
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 3
call fcn.00402c00
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
call fcn.00427d00
mov bl, 4
mov byte [esp + 0x44], bl
mov edi, dword [esp + 0x18]
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.00427d73
test eax, eax
jne 0x403bb0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.00427d26
lea eax, [edi - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
jmp 0x403a44
lea ecx, [esp + 0x20]
call fcn.00427a15
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.00427cc3
test eax, eax
jne 0x403c3a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00427fb6
mov byte [esp + 0x44], 5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x24]
call eax
test eax, eax
je 0x403c91
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403a00
add esp, 4
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x403bb0
lea ecx, [esp + 0x20]
call fcn.00427945
mov esi, dword [esp + 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov byte [esp + 0x44], 1
lea ecx, [esp + 0x20]
jne 0x403cc1
call fcn.00427d26
lea eax, [edi - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x403a3c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403c16
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x403c2e
call fcn.00427d26
lea eax, [edi - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ce7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret