Function at 0x14000fd50
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 [0x1401bbe90]
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 [0x1401c24f0]
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 0x14000fdda
mov rdx, rax
mov rcx, qword [0x1401c24f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000fdda
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 [0x1401c24f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001016e
mov rdx, rax
mov rcx, qword [0x1401c24f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010167
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140010167
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 0x14000fe44
lea rcx, [rax + 8]
movzx ecx, word [rcx]
mov word [rbp - 0x39], cx
mov rcx, rax
call fcn.1400049f0
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 0x14001016e
mov r11d, 0x378
test r15d, r15d
je 0x14000fe8f
mov r8d, dword [r14 + 0x14]
lea rax, [r14 + 0x18]
jmp 0x14000fe98
movzx r8d, word [r14 + 0x10]
lea rax, [r14 + 0x12]
cmp word [rax], 0x7b
jne 0x140010101
mov rsi, rbx
mov rax, r12
test r12, r12
je 0x14000fedd
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 0x14000fecf
add rax, rdx
jne 0x14000feb0
jmp 0x14000fedd
cmp r9w, r11w
je 0x14000fedd
mov rsi, r10
add edx, 6
jmp 0x14000fedf
mov edx, ebx
mov qword [rbp - 0x31], rbx
test edx, edx
je 0x14000ff43
mov edi, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140010145
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001013c
mov r9d, edi
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.140004240
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 0x14000ff6b
lea rdx, [rbp - 0x21]
call fcn.140004b00
mov esi, eax
mov rbx, qword [rbp - 0x21]
test eax, eax
js 0x1400100e6
call fcn.14000a670
test r15d, r15d
je 0x14000ff80
lea r12, [r14 + 0x18]
movzx eax, word [r14 + 0xc]
jmp 0x14000ff89
lea r12, [r14 + 0x12]
movzx eax, word [r14 + 8]
movsx ecx, ax
mov dword [rbp + 7], ecx
test r15d, r15d
je 0x14000ff9b
movzx eax, word [r14 + 0xe]
jmp 0x14000ffa0
movzx eax, word [r14 + 0xa]
movsx edx, ax
mov dword [rbp + 0xb], edx
test r15d, r15d
je 0x14000ffb2
movzx eax, word [r14 + 0x10]
jmp 0x14000ffb7
movzx eax, word [r14 + 0xc]
cwde
add eax, ecx
mov dword [rbp + 0xf], eax
test r15d, r15d
je 0x14000ffc9
movzx eax, word [r14 + 0x12]
jmp 0x14000ffce
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 0x14000fff9
mov eax, dword [r14 + 0x14]
mov ecx, dword [r14 + 4]
mov r9d, dword [r14 + 8]
jmp 0x140010003
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 [0x1401c24e8]
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 0x1400100d7
test r15d, r15d
je 0x140010082
mov edx, dword [r14]
test edx, edx
je 0x140010082
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.140010ec0
mov esi, eax
test eax, eax
js 0x14001014c
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 0x1400100e2
call fcn.1400042b0
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 0x14001011e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001011e
test r13w, r13w
je 0x140010120
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x29], rax
jmp 0x140010120
xor ebx, ebx
mov edx, r15d
mov rcx, r14
call fcn.140004a90
mov r14, rax
inc r13w
cmp r13w, word [rbp - 0x39]
jmp 0x14000fe74
call fcn.1400042b0
mov esi, eax
jmp 0x140010156
mov esi, 0x8007000e
jmp 0x140010156
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14001016e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001016e
call fcn.1400042b0
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400cdac0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret