Function at 0x10001250
Capabilities:
Copy file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100086f2
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 5
nop dword [eax]
push 0
push esi
push 0x402
push dword [0x1000e580]
call edi
push 0xd2
add esi, 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x64
jle 0x10001290
push 0
push 0
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x460], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x45c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100012f4
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.10002a00
lea edx, [ebp - 0x470]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.10002200
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
cmp ecx, 8
jb 0x10001371
mov edx, dword [ebp - 0x470]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001367
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001367
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
xor eax, eax
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
push 0x104
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x478], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x474], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100013d0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.10002a00
lea edx, [ebp - 0x488]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.10002200
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
cmp dword [ebp - 0x444], 0x10
mov esi, dword [ebp - 0x448]
mov edx, esi
cmovae ecx, dword [ebp - 0x458]
push 2
sub esp, 8
call fcn.100024d0
add esp, 0xc
mov dword [ebp - 0x4b8], 0
cmp esi, eax
mov dword [ebp - 0x4a8], 0
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x4a4], 0
cmovb eax, esi
cmp dword [ebp - 0x444], 0x10
push eax
cmovae ecx, dword [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x4b8]
call fcn.10002c40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x444]
cmp ecx, 0x10
jb 0x100014b2
mov edx, dword [ebp - 0x458]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100014a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001503
push ecx
push edx
call fcn.100078b8
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp ecx, 8
jb 0x10001513
mov edx, dword [ebp - 0x488]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001509
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
xor eax, eax
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
push str.essential.dat
lea edx, [ebp - 0x4b8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a0]
call fcn.10001980
add esp, 4
push 0x10009368
lea edx, [ebp - 0x4d0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4ec]
call fcn.10001980
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov esi, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x10]
sub ecx, edx
cmp ecx, 0x11
jb 0x100015a7
lea eax, [edx + 0x11]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x1000158e
mov eax, dword [edi]
push 0x11
lea esi, [eax + edx]
push str.QuizInterview.exe
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x11], 0
jmp 0x100015c6
push 0x11
push str.QuizInterview.exe
mov byte [ebp - 0x4d4], 0
mov ecx, edi
push dword [ebp - 0x4d4]
push 0x11
call fcn.10001d50
mov edi, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x4d8]
cmp ecx, 0x10
jb 0x10001648
mov edx, dword [ebp - 0x4ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000163e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000163e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
cmp dword [ebp - 0x42c], 0x10
lea ecx, [ebp - 0x440]
push 0
cmovae ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x4a0]
cmp dword [ebp - 0x48c], 0x10
push ecx
cmovae eax, dword [ebp - 0x4a0]
push eax
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0xf
mov byte [ebp - 0x4ec], 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x42c]
cmp ecx, 0x10
jb 0x100016cf
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100016c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017a1
push ecx
push edx
call fcn.100078b8
add esp, 8
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp ecx, 0x10
jb 0x10001724
mov edx, dword [ebp - 0x4a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000171a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017a1
push ecx
push edx
call fcn.100078b8
add esp, 8
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0xf
mov byte [ebp - 0x4a0], 0
cmp ecx, 0x10
jb 0x10001775
mov edx, dword [ebp - 0x4b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000176b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017a1
push ecx
push edx
call fcn.100078b8
add esp, 8
mov ecx, dword [ebp - 0x4bc]
cmp ecx, 0x10
jb 0x100017b1
mov edx, dword [ebp - 0x4d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100017a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100017a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0xf
mov byte [ebp - 0x4d0], 0
push 0x40
push str.Desktop_shortcut
push str.Software_extracted_shortcut_on_desktop
push dword [0x1000e584]
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
je 0x1000182d
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100078aa
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_ExitProcess]