Function at 0x14001c840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
sub rsp, 0x318
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbp, rdx
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x14001c895
mov rcx, qword [0x1401fbba0]
mov r9d, 0x80
mov r8, rbp
mov edx, 0x4e76
call qword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
jmp 0x14001cc59
mov rax, qword [0x1401fbad8]
mov qword [rsp + 0x340], rbx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
mov rax, qword [0x1401fbb00]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0xc8
lea rdx, str.LISTBOX
mov r9d, 0x40000040
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x2f8], r14
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r8, [0x14001c4f0]
lea edx, [rbx + 0xe]
mov rcx, rsi
mov r9, rax
mov r14, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov rcx, r14
test eax, eax
jne 0x14001c94f
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x1401fbba0]
mov r9d, 0x80
mov r8, rbp
mov edx, 0x4e76
call qword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
jmp 0x14001cc49
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
mov qword [rsp + 0x300], r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x80
lea ecx, [rax + 1]
mov r13, rax
mov qword [rsp + 0x78], rax
cmp ecx, 1
mov rcx, qword [0x1401fbba0]
mov r8, rbp
jbe 0x14001ccad
mov edx, 0x4e77
mov qword [rsp + 0x310], rdi
call qword [sym.imp.USER32.dll_LoadStringW]
mov edi, ebx
test r13d, r13d
jle 0x14001ca15
nop word [rax + rax]
lea r9, [rsp + 0x90]
movsxd r8, ebx
mov edx, 0x189
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x90]
mov r8d, InitCommonControls
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001ca71
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ca71
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14001ca71
movzx eax, word [rax + 4]
inc ebx
add edi, eax
cmp ebx, r13d
jl 0x14001c9b0
lea eax, [rdi - 1]
mov qword [rsp + 0x308], r12
movsxd rcx, eax
imul rcx, rcx, 0x38
add rcx, 0x4c
call fcn.1400fa250
mov r12, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14001ca8a
mov rcx, qword [0x1401fbba0]
mov r9d, 0x80
mov r8, rbp
mov edx, 0x50a
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001cc31
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001cc39
xor ebx, ebx
mov qword [rsp + 0x2f0], r15
mov dword [rax], edi
mov qword [rax + 8], rbx
mov eax, ebx
mov r15d, ebx
mov dword [rsp + 0x60], ebx
test r13d, r13d
jle 0x14001cc14
mov r13d, ebx
nop
lea r9, [rsp + 0x90]
movsxd r8, eax
mov edx, 0x189
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x90]
mov r8d, InitCommonControls
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001cc8c
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001cc8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14001cc8c
mov ebp, ebx
cmp bx, word [rax + 4]
jae 0x14001cc00
imul rcx, r13, 0x38
lea rbx, [r12 + 0x2c]
lea r14, [rax + 0x12]
add rbx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [r14]
mov r8d, 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14001cc85
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
test rax, rax
je 0x14001cc73
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rbx], edi
lea ecx, [rdi + 0x400]
call fcn.1400fa250
mov qword [rbx - 8], rax
test rax, rax
je 0x14001cbb3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rbx - 8]
mov r8d, edi
mov rdx, rax
call fcn.1400fb0e0
mov r12, qword [rsp + 0x70]
mov edx, dword [rbx]
movsxd rax, r15d
imul rcx, rax, 0x38
add rcx, 0x14
add rcx, r12
call fcn.14001b1f0
test eax, eax
je 0x14001cc85
mov rax, qword [rsp + 0x80]
inc ebp
inc r15d
movzx eax, word [rax + 4]
inc r13
add rbx, 0x38
add r14, 0xe
cmp ebp, eax
jl 0x14001cb40
mov r14, qword [rsp + 0x68]
xor ebx, ebx
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp eax, dword [rsp + 0x78]
jl 0x14001cab0
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, r12
mov r15, qword [rsp + 0x2f0]
mov r12, qword [rsp + 0x308]
mov rdi, qword [rsp + 0x310]
mov r13, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x340]
mov r14, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x318
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x70]
jmp 0x14001cc98
mov rcx, qword [rsp + 0x68]
jmp 0x14001cc8f
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, r12
call fcn.1400f97e8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001cc29
mov edx, 0x4e76
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001cc41