Function at 0x4b8d36
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x114
mov eax, 0x63b910
call fcn.0040eae7
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
xor eax, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push dword [edi]
lea eax, [ebp - 0x88]
mov dword [ebp - 4], ecx
push eax
call fcn.004b2664
pop ecx
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x58]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0040471e
mov ecx, eax
call fcn.004b3e12
push 0x6b92e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00401918
push 0x6b9320
lea ecx, [ebp - 0x58]
call fcn.00401918
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b8dff
and dword [ebp - 0x8c], eax
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call fcn.004bf917
pop ecx
pop ecx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00407db9
cmp dword [edi + 8], ebx
jne 0x4b8f75
lea eax, [edi + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4b8e13
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov esi, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.004018a7
push 0x6b9320
lea ecx, [ebp - 0x70]
call fcn.00401918
test esi, esi
lea ecx, [ebp - 0x70]
mov eax, 0x650024
cmovne eax, esi
push eax
call fcn.00401918
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
call fcn.004bfd23
add esp, 0xc
test esi, esi
jne 0x4b8e9d
and dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
push 4
push str.aaaa
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403856
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 4
jmp 0x4b8ec8
push 0x3a8
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004040a3
lea eax, [ebp - 0xa0]
push eax
call fcn.004b2b82
add esp, 0x20
mov esi, eax
push 2
mov dword [ebp - 4], 5
pop ebx
and dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xc8]
push 2
push 0x650030
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.00403856
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 6
push eax
call fcn.004b5fa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x118]
add ecx, 0x28
push eax
call fcn.004b60ea
mov ecx, dword [ebp - 0x118]
push esi
lea ecx, [ecx + 0x28]
call fcn.004b2338
lea ecx, [ebp - 0xc8]
call fcn.004038dd
test bl, 2
je 0x4b8f61
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.004038dd
mov dword [ebp - 4], 2
test bl, 1
je 0x4b8f75
lea ecx, [ebp - 0x28]
call fcn.004038dd
xor ebx, ebx
push ebx
call fcn.0050650d
push edx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004b264b
add esp, 0x10
push 0xf
pop esi
push 2
push 0x650014
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], bl
call fcn.00403856
mov ebx, dword [ebp - 0x120]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.004b5fa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
add ecx, 0x28
push eax
call fcn.004b60ea
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ecx + 0x28]
call fcn.004b2338
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004038dd
push dword [edi + 0x40]
lea eax, [ebp - 0xf8]
push eax
call fcn.004b2664
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 6
push str.intert
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
call fcn.00403856
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
call fcn.004b5fa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
add ecx, 0x28
push eax
call fcn.004b60ea
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ecx + 0x28]
call fcn.004b2338
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004038dd
push dword [edi + 4]
lea eax, [ebp - 0xe0]
push eax
call fcn.004b2664
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 2
push 0x650008
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
call fcn.00403856
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
call fcn.004b5fa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
add ecx, 0x28
push eax
call fcn.004b60ea
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ecx + 0x28]
call fcn.004b2338
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.004038dd
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 3
push 0x650018
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
call fcn.00403856
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
lea eax, [edi + 0x28]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404e35
lea eax, [ebp - 0xa0]
push eax
call fcn.004b2b82
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
call fcn.004b5fa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
add ecx, 0x28
push eax
call fcn.004b60ea
mov ecx, dword [ebp - 0x118]
push esi
lea ecx, [ecx + 0x28]
call fcn.004b2338
lea ecx, [ebp - 0xa0]
call fcn.004038dd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.004038dd
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push eax
call fcn.00404e35
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
push edi
push eax
call fcn.004b87ee
pop ecx
pop ecx
push 8
pop edi
mov ecx, eax
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], edi
jb 0x4b91e3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004018a7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.0040199e
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x4b9226
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404e35
lea eax, [ebp - 0xa0]
push eax
call fcn.004b2b82
add esp, 0x20
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.004ba6a0
lea ecx, [ebp - 0xa0]
call fcn.004038dd
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
lea ecx, [ebp - 0x40]
setne bl
call fcn.0040199e
lea ecx, [ebp - 0xe0]
call fcn.004038dd
lea ecx, [ebp - 0xf8]
call fcn.004038dd
lea ecx, [ebp - 0x110]
call fcn.004038dd
lea ecx, [ebp - 0x58]
call fcn.0040199e
lea ecx, [ebp - 0x88]
call fcn.004038dd
lea ecx, [ebp - 0x70]
call fcn.0040199e
mov al, bl
call fcn.0040ea91
ret 8