Function at 0x40edc8
Capabilities:
Check if file exists
Create thread
Delete file

Disassembly:
mov eax, 0x4e0d2b
call fcn.004b1eac
sub esp, 0x13c
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x51c747
mov dword [ebp - 4], ebx
call fcn.004b1bc6
push 0x104
lea eax, [ebp - 0x140]
push ebx
push eax
call fcn.004b5210
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 4]
push 4
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x3c], ebx
call fcn.004b1c1b
add esp, 0x10
mov dword [eax], ebx
push ebx
push ebx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x148]
push eax
push 0x40f3fb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x14]
call fcn.00404035
push dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
mov byte [ebp + 0xf], bl
call edi
test eax, eax
jne 0x40eeaa
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4e7120
call fcn.004040c9
push 0x82
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], ecx
push eax
call fcn.00403f4a
mov byte [ebp - 4], 1
call fcn.0040868c
add esp, 0xc
test al, al
jne 0x40eeaa
push 0xc
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0040f1da
lea ecx, [ebp - 0x34]
call fcn.0040291c
jmp 0x40efbd
call fcn.004073a1
mov eax, dword [esi + 4]
add eax, 4
mov dword [ebp - 0x18], 1
push 0x4e7128
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404709
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00404532
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00405cf0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4e7120
call fcn.004040c9
push 0x86
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push eax
call fcn.00403f4a
mov byte [ebp - 4], 1
call fcn.0040868c
add esp, 0xc
test al, al
jne 0x40ef45
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x40ef45
push 0x11
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0040f1da
lea ecx, [ebp - 0x34]
call fcn.0040291c
jmp 0x40eff5
mov edi, ebx
push 0x4e5992
lea ecx, [ebp - 0x10]
call fcn.00404074
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
push ecx
mov ecx, esp
push str._t7z
call fcn.00404074
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 4]
add eax, 4
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004069ef
mov ecx, dword [ebp - 0x10]
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40efb9
cmp eax, 0x103
je 0x40efb5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 2
jl 0x40ef47
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40efbd
mov byte [ebp + 0xf], 1
mov eax, dword [esi + 4]
push ebx
push 0x32
push 0x466
mov dword [ebp - 0x3c], 1
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x14]
call esi
mov bl, byte [ebp + 0xf]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8