Function at 0x1400c9690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbp, qword [rsp + 0x258]
mov r14, r9
mov qword [rsp + 0x30], r9
movzx r12d, r8b
mov rdi, rdx
mov r13, rcx
cmp r8b, 0x40
jae 0x1400c96fe
xor ecx, ecx
mov edx, 0x210
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0xb]
mov edx, 0x222
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov edx, eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
imul eax, edx
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x88], eax
mov rcx, rbx
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400c9760
mov rsi, qword [rsp + 0x250]
movzx eax, r12b
imul cl
movzx r15d, al
mov rcx, rbx
nop
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400c9780
mov rax, qword [r14 + 0x20]
add cl, 0x50
add r15b, cl
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400c9796
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x1400c97a2
imul cl
movzx ecx, al
movzx eax, r12b
imul cl
mov rcx, rbx
movzx r14d, al
mov al, 7
imul byte [rsp + 0x78]
sub r14b, al
sub r14b, byte [rsp + 0x88]
sub r14b, dl
sub r14b, 2
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c97d5
add r14b, cl
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x1400c97e4
mov ecx, 0xffff
add r14b, al
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0xa8], rax
call fcn.1400e27d0
lea rdx, [rsp + 0xb0]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rbp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0xb0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movzx r10d, r15b
movsx r11d, r14b
imul r15d, dword [rsp + 0x50], 0x5a
movzx r9d, r12b
mov dword [rsp + 0x44], r15d
mov r8, rax
mov dword [rsp + 0x4c], r11d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x48], r9d
mov rcx, rbx
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c98a3
mov rax, rbx
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x1400c98b0
imul ecx, eax
mov edx, r10d
imul edx, r11d
imul eax, ecx, 0x380
mov rcx, rbx
imul edx, dword [rsp + 0xa8]
sub edx, eax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400c98d6
mov r12, qword [rsp + 0x38]
lea eax, [r15 + rdx]
mov rdx, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x68]
add ecx, eax
lea eax, [r12 + 0xf]
add ecx, r9d
add ecx, dword [rdx + 0x18]
add ecx, r15d
add eax, ecx
mov rcx, rbx
mov dword [r13], eax
nop dword [rax + rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400c9910
imul ecx, dword [rdx + 0x28]
mov eax, r11d
mov r11d, dword [rsp + 0x24]
imul eax, r12d
imul edx, eax, 0x276
mov eax, r11d
imul eax, dword [rsp + 0x20]
sub edx, eax
mov rax, rbx
sub edx, ecx
sub edx, r9d
add edx, 0xffffff7d
inc rax
cmp byte [rax + rbp], 0
jne 0x1400c9947
lea ecx, [rdx + r10]
add ecx, eax
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400c9960
add ecx, eax
movsx r14, r14b
mov rdx, rbx
mov dword [r13 + 4], ecx
add r12d, r12d
nop dword [rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x1400c9980
imul r8d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x10]
mov eax, r10d
imul eax, r14d
imul ecx, r9d
sub ecx, r8d
lea r8d, [rcx + rax*2]
mov rax, rbx
sub r8d, dword [rsp + 0x20]
add r8d, r12d
add r8d, r11d
sub r8d, edx
nop word [rax + rax]
inc rax
cmp byte [rax + rbp], 0
jne 0x1400c99c0
add r8d, eax
mov rax, rbx
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x1400c99d0
add eax, 0x2f
add eax, r8d
mov dword [r13 + 8], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0xb0]
mov edx, 0x104
mov qword [r13 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rcx, rbx
mov qword [r13 + 0x18], rax
lea rax, str.c6a1
mov qword [r13 + 0x20], rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400c9a12
mov rax, rbx
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x1400c9a20
mov r11, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x48]
imul ecx, eax
mov rdx, rbx
imul ecx, dword [r11 + 0x10]
imul ecx, r8d
inc rdx
cmp byte [rdx + rbp], 0
jne 0x1400c9a42
imul r15d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x24]
mov eax, 0xde
imul r15d, dword [rsp + 0x20]
sub eax, r15d
add edx, eax
lea eax, [rcx + rdx*2]
mov rdx, rbx
sub eax, dword [rsp + 0xa8]
sub eax, r14d
add eax, dword [rsp + 0x44]
add eax, r9d
add eax, r10d
mov dword [r13 + 0x28], eax
nop dword [rax]
inc rdx
cmp byte [rdx + rbp], 0
jne 0x1400c9a90
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1400c9aa0
mov r15d, dword [rsp + 0x20]
imul edx, eax
mov eax, dword [rsp + 0x98]
mov ecx, 0x30
sub ecx, r9d
imul eax, dword [rsp + 0x50]
add ecx, ecx
sub ecx, eax
mov eax, r15d
add edx, ecx
mov rcx, rbx
imul eax, dword [rsp + 0x78]
add edx, eax
sub edx, r8d
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400c9ae0
lea eax, [r12 + rdx]
add ecx, eax
mov rax, rbx
add ecx, r10d
add ecx, dword [r11 + 0x18]
add ecx, r14d
mov dword [r13 + 0x2c], ecx
inc rax
cmp byte [rax + rbp], 0
jne 0x1400c9b00
mov edx, dword [rsp + 0x4c]
mov ecx, dword [r11 + 0x28]
imul edx, dword [rsp + 0x28]
imul ecx, r8d
sub ecx, edx
sub ecx, r12d
add ecx, r9d
add ecx, r15d
sub ecx, eax
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400c9b30
lea edx, [rcx - 0x52]
add edx, eax
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400c9b40
lea rax, str.c6a6
add edx, ebx
mov qword [r13 + 0x38], rax
mov rax, r13
mov dword [r13 + 0x30], edx
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret