Function at 0x140010220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov qword [rbp - 9], rcx
movzx ebx, dx
mov r8d, 0xf0
mov edx, ebx
mov rcx, qword [0x1401d54f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor ecx, ecx
mov r12d, ecx
mov qword [rbp - 0x19], rcx
mov esi, ecx
test rax, rax
je 0x1400102aa
mov rdx, rax
mov rcx, qword [0x1401d54f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400102aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov qword [rbp - 0x19], rax
mov r8d, 5
mov rdx, rbx
mov rcx, qword [0x1401d54f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001063e
mov rdx, rax
mov rcx, qword [0x1401d54f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010637
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140010637
mov edx, 0xffff
xor ebx, ebx
mov r15d, ebx
cmp word [rax + 2], dx
sete r15b
cmp word [rax + 2], dx
lea rcx, [rax + 0x10]
je 0x140010314
lea rcx, [rax + 8]
movzx ecx, word [rcx]
mov word [rbp - 0x39], cx
mov rcx, rax
call fcn.140005060
mov r14, rax
mov edx, 5
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x29], rax
movzx r13d, bx
cmp bx, word [rbp - 0x39]
jae 0x14001063e
mov r11d, 0x378
test r15d, r15d
je 0x14001035f
mov r8d, dword [r14 + 0x14]
lea rax, [r14 + 0x18]
jmp 0x140010368
movzx r8d, word [r14 + 0x10]
lea rax, [r14 + 0x12]
cmp word [rax], 0x7b
jne 0x1400105d1
mov rsi, rbx
mov rax, r12
test r12, r12
je 0x1400103ad
nop dword [rax]
movzx ecx, word [rax]
lea r10, [rax + 2]
movzx r9d, word [rax + 2]
mov edx, dword [rax + 4]
add rax, 8
cmp ecx, r8d
je 0x14001039f
add rax, rdx
jne 0x140010380
jmp 0x1400103ad
cmp r9w, r11w
je 0x1400103ad
mov rsi, r10
add edx, 6
jmp 0x1400103af
mov edx, ebx
mov qword [rbp - 0x31], rbx
test edx, edx
je 0x140010413
mov edi, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140010615
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001060c
mov r9d, edi
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.1400048b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rbp - 0x31]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdi, qword [rbp - 0x29]
xor ebx, ebx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x21], rbx
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14001043b
lea rdx, [rbp - 0x21]
call fcn.140005170
mov esi, eax
mov rbx, qword [rbp - 0x21]
test eax, eax
js 0x1400105b6
call fcn.14000ace0
test r15d, r15d
je 0x140010450
lea r12, [r14 + 0x18]
movzx eax, word [r14 + 0xc]
jmp 0x140010459
lea r12, [r14 + 0x12]
movzx eax, word [r14 + 8]
movsx ecx, ax
mov dword [rbp + 7], ecx
test r15d, r15d
je 0x14001046b
movzx eax, word [r14 + 0xe]
jmp 0x140010470
movzx eax, word [r14 + 0xa]
movsx edx, ax
mov dword [rbp + 0xb], edx
test r15d, r15d
je 0x140010482
movzx eax, word [r14 + 0x10]
jmp 0x140010487
movzx eax, word [r14 + 0xc]
cwde
add eax, ecx
mov dword [rbp + 0xf], eax
test r15d, r15d
je 0x140010499
movzx eax, word [r14 + 0x12]
jmp 0x14001049e
movzx eax, word [r14 + 0xe]
cwde
add eax, edx
mov dword [rbp + 0x13], eax
lea rdx, [rbp + 7]
mov rdi, qword [rbp - 9]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_MapDialogRect]
test r15d, r15d
je 0x1400104c9
mov eax, dword [r14 + 0x14]
mov ecx, dword [r14 + 4]
mov r9d, dword [r14 + 8]
jmp 0x1400104d3
movzx eax, word [r14 + 0x10]
xor ecx, ecx
mov r9d, dword [r14]
mov r10d, eax
mov r11, qword [rdi + 8]
mov edi, dword [rbp + 0x13]
mov esi, dword [rbp + 0xb]
sub edi, esi
mov edx, dword [rbp + 0xf]
mov r8d, dword [rbp + 7]
sub edx, r8d
bts r9d, 0x10
mov qword [rsp + 0x58], 0
mov rax, qword [0x1401d54e8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r8d
xor r8d, r8d
lea rdx, str.AtlAxWinLic110
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400105a7
test r15d, r15d
je 0x140010552
mov edx, dword [r14]
test edx, edx
je 0x140010552
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov qword [rsp + 0x38], rbx
mov r8, qword [rbp - 0x31]
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.140011390
mov esi, eax
test eax, eax
js 0x14001061c
test r13w, r13w
mov rdx, qword [rbp - 0x29]
mov eax, 0
cmove rdx, rax
mov dword [rsp + 0x30], 0x13
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov qword [rbp - 0x29], rdi
jmp 0x1400105b2
call fcn.140004920
mov esi, eax
mov rdi, qword [rbp - 0x29]
mov r12, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400105ee
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400105ee
test r13w, r13w
je 0x1400105f0
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x29], rax
jmp 0x1400105f0
xor ebx, ebx
mov edx, r15d
mov rcx, r14
call fcn.140005100
mov r14, rax
inc r13w
cmp r13w, word [rbp - 0x39]
jmp 0x140010344
call fcn.140004920
mov esi, eax
jmp 0x140010626
mov esi, 0x8007000e
jmp 0x140010626
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14001063e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001063e
call fcn.140004920
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d4e00
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret