Function at 0x426fc0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x40]
call fcn.0045764e
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0x616ba8
lea ecx, [ebp - 0x10]
call fcn.0056cdab
mov byte [ebp - 4], 1
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x10]
push str._s.
push eax
call fcn.0056db14
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x42702d
add eax, 0xc
jmp 0x427032
mov eax, 0x616ba8
push 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004576f5
test eax, eax
je 0x427193
mov bl, 2
lea ecx, [ebp - 0x40]
call fcn.00457436
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], eax
call fcn.00457610
test eax, eax
jne 0x427189
push 0xffffffffffffffff
push 0x616ba8
lea ecx, [ebp + 8]
call fcn.0056cdab
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004579d1
mov byte [ebp - 4], 3
mov eax, dword [eax]
push eax
lea ecx, [ebp + 8]
call fcn.0056d454
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4270b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x40]
call eax
push 0xffffffffffffffff
push 0x616ba8
test eax, eax
je 0x42712a
lea ecx, [ebp - 0x14]
call fcn.0056cdab
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
test eax, eax
je 0x4270e1
add eax, 0xc
jmp 0x4270e6
mov eax, 0x616ba8
push eax
push esi
lea ecx, [ebp - 0x14]
push 0x596404
push ecx
call fcn.0056db14
mov eax, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
je 0x427114
mov ecx, dword [ebp - 0x20]
add eax, 0xc
push eax
call fcn.00426fc0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x427178
mov ecx, dword [ebp - 0x20]
mov eax, 0x616ba8
push eax
call fcn.00426fc0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x427178
lea ecx, [ebp - 0x18]
call fcn.0056cdab
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x427142
add eax, 0xc
jmp 0x427147
mov eax, 0x616ba8
push eax
push esi
lea edx, [ebp - 0x18]
push 0x596404
push edx
call fcn.0056db14
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x427166
add eax, 0xc
jmp 0x42716b
mov eax, 0x616ba8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.0056bf07
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0056bf07
cmp dword [ebp - 0x24], 0
jne 0x427047
lea ecx, [ebp - 0x40]
call fcn.00457350
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4271d5
mov byte [ebp - 4], al
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00457680
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00457680
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4