Function at 0x14000b804
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
cmp qword [rcx + 8], rbx
jne 0x14000bc9f
mov qword [rcx + 0x50], rdx
mov dword [rcx + 0x4c], r8d
mov eax, r8d
neg eax
sbb esi, esi
and esi, 0xf8000000
add esi, 0x88000000
neg r8d
sbb edi, edi
and edi, 0xffffffe0
add edi, 0x80800a0
lea r9, [rcx + 0x40]
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r8, [0x1400c2d40]
lea rdx, [0x1400c84b0]
lea rcx, [0x1400c58d0]
call fcn.14000ca58
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, ebx
mov rdx, r15
mov rcx, r14
call fcn.14000c7c4
mov r12d, ebx
lea rsi, [r14 + 0x78]
cmp qword [rsi - 0x18], rbx
jne 0x14000bc3e
mov rdi, qword [0x1400c6808]
test rdi, rdi
jne 0x14000b9fd
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.140061fe0
mov r8d, 0x104
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000b914
mov rdi, rbx
jmp 0x14000b9fd
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x14000b90c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000b93e
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140006170
nop
mov r8d, 1
lea rdx, [0x1400adae4]
lea rcx, [rbp - 0x60]
call fcn.14000993c
mov r8d, 0xc
lea rdx, str.Resource.dll
lea rcx, [rbp - 0x60]
call fcn.14000993c
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [0x1400c6808], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000b9ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bccf
call fcn.14005cb40
mov rdi, qword [0x1400c6808]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
mov eax, r12d
neg eax
sbb rdx, rdx
and edx, 0x4e
add rdx, 0x148
lea r8, [0x1400adb48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14000bb9c
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r13d, eax
test eax, eax
je 0x14000bb9c
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000bb9c
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14000bb93
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000bb8a
mov r8d, r13d
mov rdx, r15
mov rcx, rax
call fcn.140061930
mov qword [rsp + 0x60], rbx
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14000bb81
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
call fcn.140008dd0
mov r13, rax
cmp dword [rax + 0x34], ebx
jne 0x14000bb76
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15b, 1
cmp qword [r13], rbx
jne 0x14000bb0d
mov dword [rsp + 0x78], 1
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x78]
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
movzx r15d, r15b
test eax, eax
cmovne r15d, ebx
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15b, r15b
je 0x14000bb71
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x50], ebx
test eax, eax
jne 0x14000bb6b
movsxd rax, r12d
lea rcx, [rax + rax*4]
shl rcx, 4
add rcx, 0x58
add rcx, r14
lea rdx, [rbp - 0x60]
call fcn.14000ad08
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rsi - 0x18], rbx
je 0x14000bc3e
mov r10d, ebx
cmp dword [rsi - 8], ebx
jle 0x14000bc3e
mov eax, dword [rsi - 4]
mov r11d, ebx
test eax, eax
jle 0x14000bc31
mov eax, r10d
imul eax, dword [rsi + 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r9, eax
mov eax, r11d
imul eax, dword [rsi]
cdqe
add r9, rax
add r9, qword [rsi - 0x10]
movzx r8d, byte [r9 + 3]
movzx ecx, byte [r9]
imul ecx, r8d
mov eax, 0x80808081
mul ecx
shr edx, 7
mov byte [r9], dl
movzx ecx, byte [r9 + 1]
imul ecx, r8d
mov eax, 0x80808081
mul ecx
shr edx, 7
mov byte [r9 + 1], dl
movzx ecx, byte [r9 + 2]
imul ecx, r8d
mov eax, 0x80808081
mul ecx
shr edx, 7
mov byte [r9 + 2], dl
inc r11d
mov eax, dword [rsi - 4]
cmp r11d, eax
jl 0x14000bbbc
inc r10d
cmp r10d, dword [rsi - 8]
jl 0x14000bbb5
inc r12d
add rsi, 0x50
cmp r12d, 2
jl 0x14000b8cb
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [r14 + 0xf8], rax
mov edx, 0x7f85
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [r14 + 0x100], rax
mov edx, 0x7f82
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [r14 + 0x108], rax
mov edx, 0x7f83
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [r14 + 0x110], rax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14005ccc0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140067514
int3