Function at 0x1400ccd90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push 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 rdi, r8
movsxd r14, edx
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r12d, [rdi + r13]
mov ebx, eax
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
add bl, r12b
xor ecx, ecx
mov qword [rsp + 0x68], rax
add bl, dil
add bl, r13b
add bl, al
movsx esi, bl
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, esi
mov ebp, r13d
mov r15, rax
imul ecx, esi
sub ebp, ecx
sub ebp, edi
add ebp, dword [rsp + 0x68]
lea edi, [rbp + 4]
add dil, al
cmp bl, al
jge 0x1400ccecf
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea ebx, [rbp + 1]
shl bl, 2
sub bl, r15b
add bl, sil
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx rax, byte [rsp + 0x60]
xor edx, edx
movzx ecx, bl
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
movzx r9d, dil
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], ecx
lea r8, str.councilman
lea rdx, str.c0a4
mov ecx, ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x357
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.c2a4
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x263
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, str.step_son
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x104
lea r8d, [rcx + 0x1d]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [rbx*4 + 1]
mov ebx, edi
neg ebx
imul ecx, dword [rsp + 0x68]
sub ebx, ecx
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.USER32.dll_GetActiveWindow]
add r13b, 4
shl dil, 5
movzx ecx, sil
sub cl, dil
mov edi, dword [rsp + 0x64]
sub cl, bl
add cl, r13b
add cl, byte [rsp + 0x70]
movsx r13d, cl
imul r13d, eax
cmp edi, ebx
jne 0x1400cd017
movsx ecx, r15b
xor r15d, r15d
lea r8, str.rain
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], esi
lea rdx, str.page
xor ecx, ecx
mov r9d, esi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LockResource]
lea r8d, [r15 + 0x11]
mov edx, 0x1b5
xor ecx, ecx
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.page
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
jmp 0x1400cd01a
xor r15d, r15d
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 7]
mov edx, 0x221
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x255
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rax, byte [rsp + 0x60]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
lea r8, str.c0a4
lea rdx, str.page
mov r9d, r13d
mov ecx, ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, str.wine
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret