Function at 0x140072510
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx edi, dl
mov r14d, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r13, rax
movzx eax, dil
mov ebp, edi
imul ebp, ebx
imul r14b
inc ebp
movzx esi, al
imul ebp, r14d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
cmp r14d, ebp
je 0x14007257f
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x68
xor ecx, ecx
lea r8d, [rdx - 0x53]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor ecx, ecx
mov edx, 0x1c3
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x33c
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [0x140001b00]
mov r15, rax
xor eax, eax
movzx r9d, sil
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
lea r8d, [rcx + 0x16]
mov edx, 0x36a
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rax
movzx eax, sil
lea esi, [r13 - 0xa]
mov ecx, eax
mov dword [rsp + 0x60], eax
imul ecx, ebp
add ecx, edi
lea edx, [rcx + r14*2]
add edx, ebx
add esi, edx
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [rsi + rsi*4]
mov r13d, r14d
mov edx, 0x35d
mov rbx, rax
sub r13d, ecx
xor ecx, ecx
lea r8d, [rcx + 0x19]
sub r13d, r12d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x11a
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 6]
mov edx, 0x1a5
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx eax, dil
cmp esi, eax
jbe 0x140072788
lea rcx, str.joseph
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, qword [rsp + 0x68]
imul r15d, ebx
imul r15d, r12d
add edi, 0xfffffffa
imul eax, r15d, 0x78
sub r14d, eax
add edi, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
lea r8d, [rcx + 0xd]
mov edx, 0x362
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
mov r9d, dword [rsp + 0x60]
xor ecx, ecx
movzx eax, bl
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], 0x40
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ebp
lea ecx, [r13 - 8]
lea r8, str.loafer
lea rdx, str.c3a0
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, str.c4ret
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret