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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5756e9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x868], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x8c0], eax
call fcn.00456a20
mov dword [ebp - 4], 0
mov esi, dword [esi]
push 0
push 0
push esi
lea ecx, [ebp - 0x880]
call fcn.00456f03
test eax, eax
jne 0x42f014
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
mov eax, 0xfffffffd
jmp 0x42f664
xor eax, eax
push 0x1c
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
call fcn.00456715
cmp dword [ebp - 0x84c], 0x19780625
lea ecx, [ebp - 0x880]
je 0x42f085
call fcn.004569bb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
or eax, 0xffffffff
jmp 0x42f664
call fcn.0045690c
lea edi, [eax - 0x1c]
push edi
call fcn.00440742
add esp, 4
mov esi, eax
push edi
push esi
lea ecx, [ebp - 0x880]
call fcn.00456715
mov edx, dword [ebp - 0x84c]
push edx
lea ecx, [ebp - 0x880]
call fcn.0045690c
sub eax, 0x1c
push eax
push esi
call fcn.0042ed10
add esp, 0xc
cmp dword [ebp - 0x844], eax
je 0x42f0fc
push esi
call fcn.00440737
add esp, 4
lea ecx, [ebp - 0x880]
call fcn.004569bb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
mov eax, 0xfffffffe
jmp 0x42f664
lea ecx, [ebp - 0x880]
call fcn.004569bb
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00543b50
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [ebp - 0x628]
push 0
push edx
call fcn.00543b50
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0
push 0x58dae0
lea ecx, [ebp - 0x218]
push ecx
call ebx
push 0x208
lea edx, [ebp - 0x830]
push 0
push edx
call fcn.00543b50
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push 0
push 0x58dae0
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x830]
push edx
lea ecx, [ebp - 0x854]
call fcn.00404420
mov byte [ebp - 4], 1
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x858]
call fcn.00404420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.00456a20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x858]
push 0
push 0x1001
push ecx
lea ecx, [ebp - 0x8bc]
call fcn.00456f03
test eax, eax
jne 0x42f239
push esi
call fcn.00440737
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.00456b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.004023c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.004023c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
mov eax, 0xfffffffc
jmp 0x42f664
mov edx, dword [ebp - 0x83c]
push edx
push esi
lea ecx, [ebp - 0x8bc]
call fcn.00456757
lea ecx, [ebp - 0x8bc]
call fcn.004569bb
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x868]
call fcn.0042eda0
test eax, eax
je 0x42f1e7
push 0x208
lea edx, [ebp - 0x420]
push 0
push edx
call fcn.00543b50
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0x58dae0
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x85c]
call fcn.00404420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.00456a20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x85c]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x894]
call fcn.00456f03
test eax, eax
jne 0x42f313
push esi
call fcn.00440737
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.00456b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.004023c0
jmp 0x42f1f0
mov eax, dword [ebp - 0x83c]
sub edi, eax
push edi
add eax, esi
push eax
lea ecx, [ebp - 0x894]
call fcn.00456757
push esi
call fcn.00440737
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.004569bb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.00456b50
lea ecx, [ebp - 0x8a8]
call fcn.00456a20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x85c]
push 0
push 0
push ecx
lea ecx, [ebp - 0x8a8]
call fcn.00456f03
test eax, eax
je 0x42f3c2
push 2
lea edx, [ebp - 0x864]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.00456715
lea ecx, [ebp - 0x8d4]
call fcn.00456a20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x854]
push 0
push 0
push eax
lea ecx, [ebp - 0x8d4]
call fcn.00456f03
test eax, eax
jne 0x42f3d1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.00456b50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
jmp 0x42f2fa
xor ecx, ecx
xor edi, edi
cmp cx, word [ebp - 0x864]
jae 0x42f5bc
mov bl, 9
mov edx, dword [ebp - 0x8c0]
push edx
lea ecx, [ebp - 0x860]
call fcn.00402a10
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x860]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x42f682
cmp eax, ecx
jg 0x42f682
cmp word [edx + eax*2], 0x5c
je 0x42f447
lea eax, [ecx - 1]
test eax, eax
js 0x42f682
cmp eax, ecx
jg 0x42f682
cmp word [edx + eax*2], 0x2f
je 0x42f447
push 0x588d00
lea ecx, [ebp - 0x860]
call fcn.00409c50
push 1
lea eax, [ebp - 0x84d]
push eax
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 0x84d], 0
call fcn.00456715
push 1
push 0
push 1
lea ecx, [ebp - 0x8a8]
call fcn.004567a4
movzx ecx, byte [ebp - 0x84d]
add ecx, 2
push ecx
call fcn.00440742
movzx edx, byte [ebp - 0x84d]
push edx
mov esi, eax
push 0
push esi
call fcn.00543b50
movzx eax, byte [ebp - 0x84d]
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x8a8]
call fcn.00456715
movzx ecx, byte [ebp - 0x84d]
push ecx
push esi
lea ecx, [ebp - 0x868]
call fcn.0042eea0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x868]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x860]
call fcn.00409220
push esi
call fcn.00440737
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.00456a20
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x860]
push 0
push 0x1001
push edx
lea ecx, [ebp - 0x894]
call fcn.00456f03
test eax, eax
je 0x42f68c
push 4
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00456715
mov ecx, dword [ebp - 0x86c]
push ecx
call fcn.00440742
mov edx, dword [ebp - 0x86c]
push edx
mov esi, eax
push 0
push esi
call fcn.00543b50
mov eax, dword [ebp - 0x86c]
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x8d4]
call fcn.00456715
mov ecx, dword [ebp - 0x86c]
push ecx
push esi
lea ecx, [ebp - 0x894]
call fcn.00456757
push esi
call fcn.00440737
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.004569bb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x894]
call fcn.00456b50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x868]
call fcn.004023c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.004023c0
movzx edx, word [ebp - 0x864]
inc edi
cmp edi, edx
jl 0x42f3e4
lea ecx, [ebp - 0x8d4]
call fcn.004569bb
lea ecx, [ebp - 0x8a8]
call fcn.004569bb
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x830]
push eax
call esi
lea ecx, [ebp - 0x420]
push ecx
call esi
lea edx, [ebp - 0x628]
push edx
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.00456b50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.00456b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.004023c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.00456b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.004023c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.004023c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005437e5
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401090
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x894]
call fcn.00456b50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x868]
call fcn.004023c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.004023c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.00456b50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.00456b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.004023c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.00456b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.004023c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.004023c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.00456b50
xor eax, eax
jmp 0x42f664