Function at 0x1400105d0
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 [0x1401c3e90]
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 [0x1401ca4f0]
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 0x14001065a
mov rdx, rax
mov rcx, qword [0x1401ca4f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001065a
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 [0x1401ca4f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400109ee
mov rdx, rax
mov rcx, qword [0x1401ca4f0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400109e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400109e7
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 0x1400106c4
lea rcx, [rax + 8]
movzx ecx, word [rcx]
mov word [rbp - 0x39], cx
mov rcx, rax
call fcn.140004ab0
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 0x1400109ee
mov r11d, 0x378
test r15d, r15d
je 0x14001070f
mov r8d, dword [r14 + 0x14]
lea rax, [r14 + 0x18]
jmp 0x140010718
movzx r8d, word [r14 + 0x10]
lea rax, [r14 + 0x12]
cmp word [rax], 0x7b
jne 0x140010981
mov rsi, rbx
mov rax, r12
test r12, r12
je 0x14001075d
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 0x14001074f
add rax, rdx
jne 0x140010730
jmp 0x14001075d
cmp r9w, r11w
je 0x14001075d
mov rsi, r10
add edx, 6
jmp 0x14001075f
mov edx, ebx
mov qword [rbp - 0x31], rbx
test edx, edx
je 0x1400107c3
mov edi, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400109c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400109bc
mov r9d, edi
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.140004300
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 0x1400107eb
lea rdx, [rbp - 0x21]
call fcn.140004bc0
mov esi, eax
mov rbx, qword [rbp - 0x21]
test eax, eax
js 0x140010966
call fcn.14000a730
test r15d, r15d
je 0x140010800
lea r12, [r14 + 0x18]
movzx eax, word [r14 + 0xc]
jmp 0x140010809
lea r12, [r14 + 0x12]
movzx eax, word [r14 + 8]
movsx ecx, ax
mov dword [rbp + 7], ecx
test r15d, r15d
je 0x14001081b
movzx eax, word [r14 + 0xe]
jmp 0x140010820
movzx eax, word [r14 + 0xa]
movsx edx, ax
mov dword [rbp + 0xb], edx
test r15d, r15d
je 0x140010832
movzx eax, word [r14 + 0x10]
jmp 0x140010837
movzx eax, word [r14 + 0xc]
cwde
add eax, ecx
mov dword [rbp + 0xf], eax
test r15d, r15d
je 0x140010849
movzx eax, word [r14 + 0x12]
jmp 0x14001084e
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 0x140010879
mov eax, dword [r14 + 0x14]
mov ecx, dword [r14 + 4]
mov r9d, dword [r14 + 8]
jmp 0x140010883
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 [0x1401ca4e8]
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 0x140010957
test r15d, r15d
je 0x140010902
mov edx, dword [r14]
test edx, edx
je 0x140010902
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.140011740
mov esi, eax
test eax, eax
js 0x1400109cc
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 0x140010962
call fcn.140004370
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 0x14001099e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001099e
test r13w, r13w
je 0x1400109a0
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x29], rax
jmp 0x1400109a0
xor ebx, ebx
mov edx, r15d
mov rcx, r14
call fcn.140004b50
mov r14, rax
inc r13w
cmp r13w, word [rbp - 0x39]
jmp 0x1400106f4
call fcn.140004370
mov esi, eax
jmp 0x1400109d6
mov esi, 0x8007000e
jmp 0x1400109d6
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400109ee
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400109ee
call fcn.140004370
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret