Function at 0x10002e854
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1000a1108]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r15b, r9b
mov r14d, edx
mov r12, rcx
mov rdi, qword [0x1000a1d70]
movzx ebx, r8w
mov r8d, 0xf1
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
cmp rax, rsi
jne 0x10002e8bc
xor al, al
jmp 0x10002ec9e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rsi
jne 0x10002e8d4
xor al, al
jmp 0x10002ec9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp rax, rsi
jne 0x10002e8ec
xor al, al
jmp 0x10002ec9e
lea rbp, [rax + 8]
movzx eax, word [rax + 6]
mov rcx, rax
mov qword [rsp + 0x58], rax
mov eax, 0x20
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov r13, rax
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov esi, r8d
mov edx, r8d
cmp r8w, word [rdi + 6]
jae 0x10002e986
lea rcx, [rax + 8]
lea r9d, [r8 + 0x20]
cmp word [rbp], r8w
je 0x10002e95b
mov dword [rcx - 8], esi
inc esi
movzx eax, word [rbp]
mov dword [rcx - 4], eax
mov byte [rcx], 4
mov byte [rcx + 1], r8b
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
jmp 0x10002e975
mov dword [rcx - 8], 8
mov dword [rcx - 4], r8d
mov byte [rcx], r8b
mov byte [rcx + 1], 1
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
inc edx
add rbp, 2
add rcx, r9
movzx eax, word [rdi + 6]
cmp edx, eax
jl 0x10002e937
mov edx, r14d
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r12, rax
xor r9d, r9d
mov edx, 0x41e
lea r8d, [r9 + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x31]
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x60], rax
xor ebp, ebp
cmp rax, rbp
jne 0x10002e9d7
lea ecx, [rbp + 0x11]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0xa0]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rsp + 0xa0]
cdq
mov r14d, eax
xor r14d, edx
sub r14d, edx
mov r8d, 2
mov rdx, rbx
mov rcx, qword [0x1000a1d70]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [0x1000a1d70]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9d, 0x20
cmp word [rax + 0xe], r9w
jne 0x10002eae9
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [0x1000a1d70]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rbp, rax
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x78]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
movzx edx, word [rdi + 4]
movzx ecx, word [rdi + 2]
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, 0x2a020
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rbx, rax
xor r8d, r8d
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_Add]
mov r9, rbx
xor r8d, r8d
mov edx, 0x430
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
nop
xor esi, esi
cmp rbp, rsi
je 0x10002eb80
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
xor ebp, ebp
cmp eax, ebp
je 0x10002eb82
mov qword [rsp + 0x40], rbp
jmp 0x10002eb82
mov qword [rsp + 0x40], rbp
mov rdx, rbx
mov rcx, qword [0x1000a1d70]
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rbx, rax
mov qword [rsp + 0x40], rax
movzx edx, word [rdi + 4]
movzx ecx, word [rdi + 2]
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, 0x2a011
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rsi, rax
cmp r15b, bpl
je 0x10002eb41
mov r8d, 0xc0c0c0
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
jmp 0x10002eb50
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_Add]
mov r9, rsi
xor r8d, r8d
mov edx, 0x430
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
nop
cmp rbx, rbp
je 0x10002eb82
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebp
cmovne rbx, rbp
mov qword [rsp + 0x40], rbx
jmp 0x10002eb82
xor ebp, ebp
movzx edx, word [rdi + 4]
movzx ecx, word [rdi + 2]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
call fcn.1000518ec
mov r9, r13
mov r8, qword [rsp + 0x58]
mov edx, 0x444
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x200c
lea r8d, [r9 + 1]
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edi, r14w
cmp dword [rsp + 0x48], edi
cmovg edi, dword [rsp + 0x48]
movzx ecx, di
shl ecx, 0x10
mov ebx, dword [rsp + 0x40]
movzx eax, bx
or ecx, eax
movsxd r9, ecx
xor r8d, r8d
mov edx, 0x420
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
add di, 7
movzx ecx, di
shl ecx, 0x10
add bx, 7
movzx eax, bx
or ecx, eax
movsxd r9, ecx
xor r8d, r8d
mov edx, 0x41f
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x453
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x30], 0x16
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x439
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
bts eax, 8
mov r9d, eax
xor r8d, r8d
mov edx, 0x438
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
nop
cmp r13, rbp
je 0x10002ec9c
mov rcx, r13
call fcn.10007a394
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.10007a3b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret