Function at 0x18002e810
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, 0xb8
call fcn.18001bf90
mov qword [rsp + 0x50], rax
mov r8d, 0xf1
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18002e862
xor eax, eax
jmp 0x18002ebe2
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18002e886
xor eax, eax
jmp 0x18002ebe2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18002e8a5
xor eax, eax
jmp 0x18002ebe2
mov rcx, qword [rsp + 0x30]
call fcn.180044830
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
movzx r8d, word [rax + 4]
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 2]
mov rcx, qword [rsp + 0xc0]
call fcn.18002e740
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x80], 0
jne 0x18002e965
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xc8]
call fcn.18002ecb0
mov byte [rsp + 0xa8], al
movzx edx, byte [rsp + 0xa8]
and dl, 1
shl dl, 5
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rax + 0xf1]
and cl, 0xdf
or cl, dl
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0xf1], cl
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 6]
mov rcx, qword [rsp + 0x70]
call fcn.1800394a0
movzx eax, al
test eax, eax
jne 0x18002e965
xor eax, eax
jmp 0x18002ebe2
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [rsp + 0x60], eax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18002ed00
movzx eax, byte [rsp + 0xd0]
test eax, eax
je 0x18002e9df
mov rcx, qword [rsp + 0xc8]
call fcn.18002ebf0
mov eax, eax
and rax, 0xffff
cwde
mov dword [rsp + 0x78], eax
movzx r8d, word [rsp + 0xd8]
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe0]
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.180036340
jmp 0x18002ea67
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xf1]
shr al, 5
and al, 1
movzx eax, al
test eax, eax
je 0x18002ea35
call fcn.18001bf90
mov dword [rsp + 0x28], 0x2040
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18002ed50
jmp 0x18002ea67
lea rax, [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x90]
call fcn.18002ec90
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.180036300
cmp qword [rsp + 0x40], 0
jne 0x18002ea90
mov dword [rsp + 0x98], 0
lea rcx, [rsp + 0x40]
call fcn.18002ed20
mov eax, dword [rsp + 0x98]
jmp 0x18002ebe2
lea rcx, [rsp + 0x40]
call fcn.18002ed80
mov rdx, rax
mov rax, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x10c]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x18002eae7
mov dword [rsp + 0x9c], 0
lea rcx, [rsp + 0x40]
call fcn.18002ed20
mov eax, dword [rsp + 0x9c]
jmp 0x18002ebe2
mov dword [rsp + 0x7c], 0
jmp 0x18002eafc
mov eax, dword [rsp + 0x7c]
add eax, 1
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x7c], eax
jge 0x18002eb3c
movsxd rcx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + rcx*2]
test eax, eax
je 0x18002eb3a
movsxd rcx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rcx*2]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x88
call fcn.180023a60
jmp 0x18002eaf1
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0xc0]
add rcx, 0x88
call fcn.18002ecf0
cmp dword [rsp + 0x58], eax
je 0x18002eb8d
mov dword [rsp + 0xa0], 0
lea rcx, [rsp + 0x40]
call fcn.18002ed20
mov eax, dword [rsp + 0xa0]
jmp 0x18002ebe2
call fcn.18002ec00
movzx eax, al
test eax, eax
je 0x18002ebc6
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
sub r8d, eax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.180039550
mov dword [rsp + 0xa4], 1
lea rcx, [rsp + 0x40]
call fcn.18002ed20
mov eax, dword [rsp + 0xa4]
add rsp, 0xb8
ret