Function at 0x426716
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x5e3987
call fcn.00594e8c
sub esp, 0x68
mov dword [ebp - 0x5c], ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0058b106
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b108
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x5c]
call fcn.004283cb
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jne 0x426843
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x5c]
call fcn.004284a3
mov byte [ebp - 0x61], al
movzx eax, byte [ebp - 0x61]
test eax, eax
jne 0x4267bc
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0xa], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0058b12a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
jmp 0x42699b
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42681a
push 8
call fcn.005b955b
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x40], 0
je 0x4267f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004265f0
mov dword [ebp - 0x68], eax
jmp 0x4267fc
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push 0x6384c8
lea eax, [ebp - 0x38]
push eax
call fcn.005971f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0058b12a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
jmp 0x42699b
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00428456
push 0x5f6078
lea ecx, [ebp - 0x10]
call fcn.004167a5
push 0
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
lea ecx, [ebp - 0x2c]
call fcn.0058b199
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x426906
lea ecx, [ebp - 0x2c]
call fcn.0058aee7
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.0058b0cd
test eax, eax
je 0x426895
jmp 0x426872
lea ecx, [ebp - 0x2c]
call fcn.00428acd
test eax, eax
je 0x4268ea
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0058b322
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x70]
lea ecx, [ebp - 0x10]
call fcn.0040b132
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0040b121
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x5c]
call fcn.00426716
jmp 0x426901
push ecx
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
lea ecx, [ebp - 0x2c]
call fcn.0058b322
mov ecx, dword [ebp - 0x5c]
call fcn.00426716
jmp 0x426872
lea ecx, [ebp - 0x2c]
call fcn.0058ae17
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x426977
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + 0xa]
test eax, eax
jne 0x426977
push 8
call fcn.005b955b
pop ecx
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x58], 0
je 0x426955
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.004265f0
mov dword [ebp - 0x74], eax
jmp 0x426959
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
push 0x6384c8
lea eax, [ebp - 0x50]
push eax
call fcn.005971f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0058b12a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4