Function at 0x1400a87f0
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, 0xe0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rcx
mov qword [rbp - 0x11], rcx
movzx edi, dx
mov r8d, 0xf0
mov edx, edi
mov rcx, qword [0x14021cfd0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r14d, r14d
mov r12d, r14d
mov qword [rbp - 0x19], r14
mov ebx, r14d
test rax, rax
je 0x1400a887c
mov rdx, rax
mov rcx, qword [0x14021cfd0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a887c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov qword [rbp - 0x19], rax
mov r8d, 5
mov rdx, rdi
mov rcx, qword [0x14021cfd0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400a8d53
mov rdx, rax
mov rcx, qword [0x14021cfd0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a8d4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
test rax, rax
je 0x1400a8d4c
movzx r13d, word [rax + 2]
mov edx, 0xffff
mov eax, r14d
cmp r13w, dx
sete al
mov dword [rbp - 0x39], eax
mov eax, 8
mov r8d, 0x10
cmp r13w, dx
cmove eax, r8d
movzx eax, word [rax + rcx]
mov word [rbp - 0x57], ax
call fcn.1400689c0
mov r14, rax
mov edx, 5
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x49], rax
xor r11d, r11d
movzx r15d, r11w
mov word [rbp - 0x59], r11w
cmp r11w, word [rbp - 0x57]
jae 0x1400a8d53
mov edx, 0x18
mov ecx, 0xffff
cmp r13w, cx
jne 0x1400a8946
mov r10d, dword [r14 + 0x14]
jmp 0x1400a894b
movzx r10d, word [r14 + 0x10]
mov eax, 0x12
cmp r13w, cx
cmove rax, rdx
cmp word [rax + r14], 0x7b
jne 0x1400a8ce0
mov rsi, r11
mov rax, r12
test r12, r12
je 0x1400a89a2
nop
movzx ecx, word [rax]
lea r9, [rax + 2]
movzx r8d, word [rax + 2]
mov edx, dword [rax + 4]
cmp ecx, r10d
je 0x1400a898f
add rax, 8
add rax, rdx
jne 0x1400a8970
jmp 0x1400a89a2
mov eax, 0x378
cmp r8w, ax
je 0x1400a89a2
mov rsi, r9
add edx, 6
jmp 0x1400a89a5
mov edx, r11d
mov rcx, r11
mov qword [rbp - 0x51], rcx
test edx, edx
je 0x1400a8a1b
mov edi, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400a8d2a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400a8d21
mov r9d, edi
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.14004aa00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rbp - 0x51]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, eax
test eax, eax
js 0x1400a8d3b
mov rcx, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x49]
xor r11d, r11d
mov qword [rbp - 0x31], r11
lea rdx, [rbp - 0x31]
call fcn.14006bfb0
mov ebx, eax
mov rsi, qword [rbp - 0x31]
test eax, eax
js 0x1400a8cc5
call fcn.14006fdf0
mov eax, 0x12
mov edi, 0xffff
cmp r13w, di
mov ecx, 0x18
cmove eax, ecx
add rax, r14
mov qword [rbp - 0x29], rax
cmp r13w, di
jne 0x1400a8a65
movzx eax, word [r14 + 0xc]
jmp 0x1400a8a6a
movzx eax, word [r14 + 8]
movsx ecx, ax
mov dword [rbp + 7], ecx
cmp r13w, di
jne 0x1400a8a7d
movzx eax, word [r14 + 0xe]
jmp 0x1400a8a82
movzx eax, word [r14 + 0xa]
movsx edx, ax
mov dword [rbp + 0xb], edx
cmp r13w, di
jne 0x1400a8a95
movzx eax, word [r14 + 0x10]
jmp 0x1400a8a9a
movzx eax, word [r14 + 0xc]
cwde
add eax, ecx
mov dword [rbp + 0xf], eax
cmp r13w, di
jne 0x1400a8aad
movzx eax, word [r14 + 0x12]
jmp 0x1400a8ab2
movzx eax, word [r14 + 0xe]
cwde
add eax, edx
mov dword [rbp + 0x13], eax
lea rdx, [rbp + 7]
mov rbx, qword [rbp - 0x11]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_MapDialogRect]
cmp r13w, di
jne 0x1400a8ad6
mov edx, dword [r14 + 0x14]
jmp 0x1400a8adb
movzx edx, word [r14 + 0x10]
cmp r13w, di
jne 0x1400a8ae7
mov ecx, dword [r14 + 4]
jmp 0x1400a8ae9
xor ecx, ecx
cmp r13w, di
lea rax, [r14 + 8]
je 0x1400a8af6
mov rax, r14
mov r9d, dword [rax]
mov eax, edx
mov r11, qword [rbx + 8]
mov ebx, dword [rbp + 0x13]
mov edi, dword [rbp + 0xb]
sub ebx, edi
mov r8d, dword [rbp + 0xf]
mov r10d, dword [rbp + 7]
sub r8d, r10d
bts r9d, 0x10
mov qword [rsp + 0x58], 0
mov rdx, qword [0x14021cfc8]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
xor r8d, r8d
lea rdx, str.AtlAxWinLic140
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x1400a8cba
mov edx, 0xffff
cmp r13w, dx
jne 0x1400a8b7f
mov edx, dword [r14]
test edx, edx
je 0x1400a8b7f
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov r12, qword [rbp - 0x51]
mov qword [rbp - 0x41], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14021cd30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rbp - 1], rax
mov r15d, 0x80004005
test rax, rax
mov eax, 0
cmovne r15d, eax
test r15d, r15d
js 0x1400a8bd4
mov rax, qword [rbx]
lea r8, [rbp - 0x41]
lea rdx, [0x140186378]
mov rcx, rbx
call qword [rax]
mov r15d, eax
test rbx, rbx
je 0x1400a8be2
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
test r15d, r15d
jns 0x1400a8c1b
mov qword [rsp + 0x38], rsi
xor r15d, r15d
mov qword [rsp + 0x30], r15
lea rax, [0x140193398]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, qword [rbp - 0x29]
call fcn.14006fc70
mov ebx, eax
jmp 0x1400a8c67
xor r15d, r15d
mov qword [rbp - 0x21], r15
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
lea rdx, [0x140193398]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x21]
mov qword [rsp + 0x20], rdx
mov r9, r12
mov r8, rdi
mov rdx, qword [rbp - 0x29]
call qword [rax + 0x50]
mov ebx, eax
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400a8c67
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400a8c76
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
js 0x1400a8d31
mov rdx, r15
movzx r15d, word [rbp - 0x59]
test r15w, r15w
cmovne rdx, qword [rbp - 0x49]
mov dword [rsp + 0x30], 0x13
xor eax, eax
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 - 0x49], rdi
mov r12, qword [rbp - 0x19]
jmp 0x1400a8cc5
call fcn.140066090
mov ebx, eax
mov rdi, qword [rbp - 0x49]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400a8cfb
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a8cfb
test r15w, r15w
je 0x1400a8cfb
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov qword [rbp - 0x49], rax
mov edx, dword [rbp - 0x39]
mov rcx, r14
call fcn.140068a80
mov r14, rax
inc r15w
mov word [rbp - 0x59], r15w
cmp r15w, word [rbp - 0x57]
jae 0x1400a8d53
xor r11d, r11d
jmp 0x1400a8930
call fcn.140066090
mov ebx, eax
jmp 0x1400a8d3b
mov ebx, 0x8007000e
jmp 0x1400a8d3b
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400a8d53
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a8d53
call fcn.140066090
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400dd830
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret