Function at 0x140025d7c
Capabilities:
Inspect load icon resource

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14010a078]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r13, rcx
mov rax, qword [0x140109e80]
lea rsi, [0x140109e80]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x1400739fa.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov rax, qword [0x140109e80]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x1400739fa.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
mov rax, qword [0x140109e80]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x1400739fa.0]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x70], rsi
mov r14d, 0xc9
mov ecx, r14d
call fcn.140014c60
test rax, rax
je 0x140025e40
mov r8d, r14d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140014d90
mov rbx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140025f32
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
je 0x140025f32
mov ecx, r14d
call fcn.1400e23f4
mov r15, rax
mov r9, rax
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140025f2a
and qword [rsp + 0x60], 0
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [0x1400ef0ec]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140025f2a
and qword [rsp + 0x48], 0
mov edx, 0x78
lea rcx, [rsp + 0x48]
call fcn.140021a70
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx + 0xc]
movzx r8d, word [rcx + 0xe]
movzx eax, word [rcx + 8]
movzx ecx, word [rcx + 0xa]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9, rsi
mov r8, rbx
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14002600c
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400e23fc
mov dword [r13 + 0x1420], 1
mov edx, 0x12d
mov rcx, qword [0x140111af0]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r9, rax
mov r8, rdi
mov rdx, rbx
mov rcx, qword [r13 + 8]
call qword [sym.imp.SHELL32.dll_ShellAboutW]
and dword [r13 + 0x1420], 0
lea rdx, [rsi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140025f8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400739fa.0]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140025fb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400739fa.0]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140025fdc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400739fa.0]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400e27e0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret