Function at 0x4026d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xadc
mov eax, dword [0x417038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x498], ax
lea eax, [ebp - 0x496]
push eax
call fcn.004082f0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x6a0], ax
lea eax, [ebp - 0x69e]
push eax
call fcn.004082f0
add esp, 0xc
xor esi, esi
push 0x200
lea eax, [ebp - 0x8a0]
push esi
push eax
call fcn.004082f0
add esp, 0xc
lea eax, [ebp - 0x6a0]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x8a0]
call fcn.00401ea0
test eax, eax
je 0x402a34
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x498]
push eax
push 0x104
call esi
lea eax, [ebp - 0x718]
push eax
lea eax, [ebp - 0x498]
push 0x104
push eax
call fcn.004048a7
add esp, 0xc
lea eax, [ebp - 0x498]
push 0x415c14
push 0x104
push eax
call fcn.004048a7
add esp, 0xc
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6f8]
push eax
push 0x10
push 0x418fcc
call fcn.0040484b
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x28e]
push eax
call fcn.004082f0
add esp, 0xc
cmp dword [0x417f08], 3
lea eax, [ebp - 0x290]
jne 0x40281e
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x415c60
lea eax, [ebp - 0x290]
push 0x104
push eax
call fcn.004048a7
add esp, 0xc
jmp 0x402826
push eax
push 0x104
call esi
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x498]
push 0x415c64
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x6f8]
call fcn.00402eaa
cmp eax, 1
jne 0x402871
mov dword [0x418fc8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404706
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push eax
call fcn.004082f0
add esp, 0xc
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push eax
call fcn.004082f0
add esp, 0xc
xor ecx, ecx
jmp 0x4028b0
movzx eax, word [ebp + ecx - 0x6f8]
mov word [ebp + ecx - 0x48], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4028b0
xor ecx, ecx
jmp 0x4028d0
movzx eax, word [ebp + ecx - 0x6f8]
mov word [ebp + ecx - 0x88], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4028d0
lea ecx, [ebp - 0x88]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4028f1
mov eax, dword [str._STOP]
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ecx], eax
mov eax, dword [0x415c24]
mov dword [ecx + 4], eax
mov eax, dword [0x415c28]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x20000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x402985
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [ebp - 0x48]
push eax
xor esi, esi
push esi
push 0x20000
call edi
test eax, eax
je 0x402985
lea ecx, [ecx]
cmp esi, 5
jge 0x402985
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
inc esi
call ebx
lea eax, [ebp - 0x48]
push eax
push 0
push 0x20000
call edi
test eax, eax
jne 0x402960
push 0x3e8
call ebx
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
jmp 0x4029a0
movzx eax, word [ebp + ecx - 0x89c]
mov word [ecx + 0x4190a0], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4029a0
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx - 0x81a]
mov word [ecx + 0x419120], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4029c0
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx - 0x7fa]
mov word [ecx + 0x419018], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4029e0
movzx eax, word [ebp - 0x81c]
mov word [0x419098], ax
movzx eax, word [ebp - 0x77a]
mov word [0x419010], ax
mov eax, dword [ebp - 0x6d8]
mov dword [0x41900c], eax
lea eax, [ebp - 0x718]
push eax
push 0x10
push 0x418fec
call fcn.0040484b
jmp 0x402be5
push 0x236
lea eax, [ebp - 0xad8]
push 0
push eax
call fcn.004082f0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x28e]
push eax
mov dword [ebp - 0xadc], esi
call fcn.004082f0
add esp, 0xc
lea eax, [ebp - 0x290]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [ebp - 0x290]
sub ecx, 0x41
lea edx, [ebp - 0xadc]
call fcn.0040311f
mov ecx, dword [ebp - 0xadc]
call fcn.00403200
cmp eax, 0xffffffff
je 0x402bed
lea edx, [ebp - 0xad8]
mov ecx, eax
call fcn.00402f4c
test eax, eax
je 0x402bed
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x9ca]
mov word [ecx + 0x419120], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402ac0
movzx eax, word [ebp - 0x9ce]
mov ecx, dword [ebp - 0x9d2]
mov word [0x419098], ax
movzx eax, word [ebp - 0x9d4]
mov word [0x419010], ax
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
movzx eax, cl
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
shr ecx, 0x18
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push 0x415cc0
push eax
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
movq qword [ebp - 0x16], xmm0
call fcn.004046d2
lea eax, [ebp - 0x28]
push eax
push 0x10
push 0x4190a0
call fcn.0040484b
mov ecx, dword [ebp - 0x9d8]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
add esp, 0x24
movzx eax, cl
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
shr ecx, 0x18
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push 0x415cc0
push eax
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
movq qword [ebp - 0x16], xmm0
call fcn.004046d2
lea eax, [ebp - 0x28]
push eax
push 0x10
push 0x419018
call fcn.0040484b
add esp, 0x24
lea eax, [ebp - 0x9aa]
push eax
push 0x10
push 0x418fcc
call fcn.0040484b
add esp, 0xc
lea eax, [ebp - 0x98a]
push eax
push 0x10
push 0x418fec
call fcn.0040484b
mov eax, dword [ebp - 0xad0]
mov dword [0x41900c], eax
mov esi, 1
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404706
mov esp, ebp
pop ebp
ret