Function at 0x14001f2b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov dword [rsp + 0xb0], 0
lea rax, [0x1400d9bc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
mov r8d, 0xf1
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14001f32f
xor eax, eax
jmp 0x14001f821
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14001f35f
xor eax, eax
jmp 0x14001f821
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14001f381
xor eax, eax
jmp 0x14001f821
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 4]
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx + 2]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x120]
call fcn.14001b800
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
jne 0x14001f489
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xc8], rax
lea rax, [0x1400d9bc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xc0]
call fcn.140006510
movzx eax, ax
cmp eax, 0x20
jne 0x14001f423
mov dword [rsp + 0x48], 1
jmp 0x14001f42b
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
and al, 1
shl al, 5
mov rcx, qword [rsp + 0x120]
movzx ecx, byte [rcx + 0xf1]
and cl, 0xdf
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 0xf1], al
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
mov edx, eax
mov rcx, qword [rsp + 0xc8]
call fcn.140008250
movzx eax, al
test eax, eax
jne 0x14001f489
xor eax, eax
jmp 0x14001f821
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x14001f51b
mov eax, dword [rsp + 0x128]
and rax, 0xffff
cwde
mov dword [rsp + 0x54], eax
lea rax, [0x1400d9bc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd0], rax
movzx eax, word [rsp + 0x138]
movzx eax, ax
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x148]
mov dword [rsp + 0x20], edx
mov r9, qword [rsp + 0x140]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov qword [rsp + 0x30], rax
jmp 0x14001f619
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0xf1]
shr al, 5
and al, 1
movzx eax, al
test eax, eax
je 0x14001f5b5
lea rax, [0x1400d9bc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x28], 0x2040
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.USER32.dll_LoadImageA]
mov qword [rsp + 0x98], rax
xor eax, eax
cmp eax, 1
je 0x14001f5a6
cmp qword [rsp + 0x30], 0
je 0x14001f5a6
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x30], rax
je 0x14001f5a6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
jmp 0x14001f619
lea rax, [rsp + 0x100]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x128]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
lea rax, [0x1400d9bc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_LoadBitmapA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14001f660
mov dword [rsp + 0x5c], 0
xor eax, eax
cmp eax, 1
je 0x14001f657
cmp qword [rsp + 0x30], 0
je 0x14001f657
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001f657
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x5c]
jmp 0x14001f821
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x120]
mov r8d, dword [rax + 0x10c]
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x14001f6dd
mov dword [rsp + 0x64], 0
xor eax, eax
cmp eax, 1
je 0x14001f6d4
cmp qword [rsp + 0x30], 0
je 0x14001f6d4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14001f6d4
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x64]
jmp 0x14001f821
mov dword [rsp + 0x3c], 0
jmp 0x14001f6f1
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x3c], eax
jge 0x14001f73a
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x14001f738
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax*2]
mov rcx, qword [rsp + 0x120]
add rcx, 0x88
mov rdx, rax
call fcn.140003950
jmp 0x14001f6e7
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x4c], eax
je 0x14001f7ab
mov dword [rsp + 0x74], 0
xor eax, eax
cmp eax, 1
je 0x14001f7a5
cmp qword [rsp + 0x30], 0
je 0x14001f7a5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x14001f7a5
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x74]
jmp 0x14001f821
call fcn.14000f790
movzx eax, al
test eax, eax
je 0x14001f7e7
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf8]
call fcn.14001ed20
mov dword [rsp + 0x7c], 1
xor eax, eax
cmp eax, 1
je 0x14001f81d
cmp qword [rsp + 0x30], 0
je 0x14001f81d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x14001f81d
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x7c]
add rsp, 0x118
ret