Function at 0x140096e70
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, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov r13, qword [rsp + 0x240]
mov r14d, r9d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0xc0
lea r8d, [rcx + 0xc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x1a6
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea r8d, [rcx + 0x10]
mov edx, 0x1b1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2f4
lea r8d, [rcx + 0x18]
mov rdi, rax
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea ecx, [r13*2]
mov rbp, rax
lea eax, [rbx*4]
imul r15d, r14d, 0xfffffffb
mov dword [rsp + 0x68], eax
sub r15d, ecx
add r15d, 0xb
imul ecx, r15d, 0xb
sub eax, ecx
add eax, 2
add eax, ebp
add eax, edi
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [rsi + rsi*2]
add ecx, ecx
mov qword [rsp + 0x78], rax
movzx eax, r14b
mov r12d, 0xffffffec
mov edx, 0x3c2
sub r12d, ecx
mov ecx, dword [rsp + 0x64]
sub al, cl
sub r12d, r13d
sub r12d, ecx
xor ecx, ecx
sub al, bpl
lea r8d, [rcx + 0x15]
sub r12d, ebx
mov byte [rsp + 0x60], al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x18c
lea r8d, [rcx + 0xb]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x395
lea r8d, [rcx + 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ecx, byte [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x70], rax
cmp r15d, ecx
jne 0x14009706f
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r9
movzx eax, dil
movzx edx, r14b
shl dl, 2
mov r9d, r14d
imul bl
movzx r8d, al
lea ecx, [rdx + r14]
movzx eax, bpl
sub r8b, cl
lea rdx, [0x1400ed4d4]
mov ecx, ebx
imul byte [rsp + 0x78]
add r8b, al
sub r8b, r13b
add r8b, 3
add r8b, r12b
add r8b, byte [rsp + 0x80]
add r8b, sil
movzx eax, r8b
lea r8, [0x1400ed3f4]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
lea r8d, [rcx + 0xd]
mov edx, 0x362
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r9d, r9d
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r9
mov r9d, dword [rsp + 0x64]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], 1
lea r8, [0x1400ed3f4]
lea rdx, [0x1400ed3f4]
mov ecx, r14d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, r13d
shl edx, 4
mov rsi, rax
imul ecx, edi, 0xb
add edx, ecx
xor ecx, ecx
lea edi, [r15 + 5]
sub edx, ebx
lea r8d, [rcx + 3]
add edx, dword [rsp + 0x70]
add edx, dword [rsp + 0x78]
add edx, dword [rsp + 0x64]
add edi, edx
mov edx, 0x27c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, str.underground
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [0x1400ed3f4]
movsxd rbx, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.retina
xor r9d, r9d
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov rcx, qword [rsp + 0x70]
lea ecx, [rcx*2 + 0xa6]
sub ebp, ecx
imul eax, eax, 0x31
lea ecx, [rdi + 1]
add ebp, ebp
imul ecx, esi
sub ebp, ecx
mov ecx, 2
sub ecx, dword [rsp + 0x80]
imul ecx, r13d
add ebp, ecx
add ebp, eax
movsx rax, byte [rsp + 0x60]
add eax, ebp
sub eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x88]
sub eax, dword [rsp + 0x90]
sub eax, r12d
add eax, r14d
add eax, dword [rsp + 0x64]
add eax, r15d
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1f0]
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