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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, 0x5175eb
call fcn.004bd4ad
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], 0
push 0x104
push 0
lea ecx, [ebp - 0x19c]
push ecx
call fcn.004c0800
add esp, 0xc
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x98], 0
push 4
call fcn.004bd502
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x94], edx
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
push 0x4171d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x18]
call fcn.00406750
mov byte [ebp - 4], 1
mov byte [ebp - 0xd], 0
lea ecx, [ebp + 8]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4167b1
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x4e8a70
call fcn.00406860
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
push 0x82
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 8]
push edx
call fcn.00406780
mov byte [ebp - 4], 1
call fcn.0040e630
add esp, 0xc
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0xe]
test eax, eax
jne 0x4167b1
push 0xc
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00416da0
lea ecx, [ebp - 0x78]
call fcn.00403480
jmp 0x41693a
call fcn.0040cb90
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
push str.7za.exe
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00407620
add esp, 0xc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004073c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00407110
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x4e8a8c
call fcn.00406860
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
push 0x86
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00406780
mov byte [ebp - 4], 1
call fcn.0040e630
add esp, 0xc
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0xf]
test eax, eax
jne 0x41689f
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41689f
push 0x11
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00416da0
lea ecx, [ebp - 0x90]
call fcn.00403480
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov al, byte [ebp - 0x10]
jmp 0x4169a9
mov dword [ebp - 0x20], 0
jmp 0x4168b1
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 2
jge 0x416926
push 0x4e868a
lea ecx, [ebp - 0x2c]
call fcn.004067e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push str._t7z
call fcn.004067e0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040bf40
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00407110
cmp dword [ebp - 0x24], 0
je 0x416922
cmp dword [ebp - 0x24], 0x103
je 0x416922
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x416924
jmp 0x416926
jmp 0x4168a8
cmp dword [ebp - 0x24], 0
je 0x41692e
jmp 0x41693a
mov byte [ebp - 0xd], 1
xor eax, eax
jne 0x416741
mov dword [ebp - 0x98], 1
push 0
push 0x32
push 0x466
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 8]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0x11], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8