Function at 0x14004b8f0
Capabilities:
Get common file path
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edx, edx
lea rcx, [rbp + 0x100]
mov r8d, 0xc8
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xd8]
call fcn.14004b5f0
cmp qword [rax + 0x18], 0x10
jb 0x14004b93c
mov rax, qword [rax]
mov r8, rax
lea rdx, str._s__config.ini
lea rcx, [rbp + 0x100]
call fcn.14004a960
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x14004b9b2
mov rcx, qword [rbp + 0xd8]
inc rax
cmp rax, 0x1000
jb 0x14004b9ad
test cl, 0x1f
je 0x14004b97d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004b98d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004b99d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004b9aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400be534
lea rdx, [rbp + 0x100]
call fcn.140050720
xor ecx, ecx
test eax, eax
jne 0x14004b9e0
xor r9d, r9d
lea rdx, str.Failed_to_initialize_configuration_item
xor r8d, r8d
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x520], rbx
lea rax, [0x14004e590]
mov qword [rsp + 0x528], rsi
mov edx, 0x7f00
mov qword [rsp + 0x538], r12
mov qword [rsp + 0x500], r15
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
mov dword [rbp], 0x50
mov dword [rbp + 4], 0x40
mov qword [rbp + 8], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x20], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov edx, 0x7f00
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x28], rax
xor ecx, ecx
lea rax, str.The_First_Descendant_Menu
mov qword [rbp + 0x38], rax
lea rax, str.MSTaskListWClass
mov qword [rbp + 0x40], rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp]
mov qword [rbp + 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
lea ebx, [rax - 0x131]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8, qword [rbp + 0x38]
mov r9d, 0x80000000
mov qword [rsp + 0x58], r15
cdq
mov qword [rsp + 0x50], r15
sub eax, edx
mov rdx, qword [rbp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x262
sar eax, 1
sub eax, 0x14a
mov dword [rsp + 0x30], 0x294
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x1401496f8], rax
lea edx, [r15 - 0x14]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [r15 - 0x14]
mov rcx, rsi
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea r9d, [r15 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400e5870]
lea rdx, [rbp + 0x88]
mov rcx, rsi
movdqu xmmword [rbp + 0x88], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
lea rdx, [rbp + 0x98]
mov rcx, rsi
movdqu xmmword [rbp + 0x98], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rsi
call fcn.14004e320
test al, al
jne 0x14004bb75
call fcn.14004e4a0
jmp 0x14004c1d1
mov qword [rsp + 0x530], rdi
mov edx, 0xa
mov rcx, rsi
mov qword [rsp + 0x508], r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdi, qword [0x140149698]
test rdi, rdi
je 0x14004bbae
inc dword [rdi + 0xf4]
mov ecx, 0x5e50
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd8], rax
test rax, rax
je 0x14004bbcf
mov rcx, rax
call fcn.140002740
jmp 0x14004bbd2
mov rax, r15
mov qword [0x140149698], rax
call fcn.1400069f0
mov rbx, qword [0x140149698]
test rdi, rdi
cmovne rbx, rdi
xor ecx, ecx
mov qword [0x140149698], rbx
or dword [rbx + 8], 3
mov byte [rbx + 0xdc], r15b
mov qword [rbx + 0x20], r15
call fcn.1400255e0
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memset
movss xmm0, dword [0x1400e5820]
lea rcx, [rbp + 0x2e0]
movss xmm1, dword [0x1400e5684]
mov eax, 0xffff
xor edx, edx
movss dword [rbp - 0x4c], xmm0
mov r8d, 0x104
movss dword [rbp - 0x40], xmm1
mov word [rbp - 0x3c], ax
mov byte [rsp + 0x7c], r12b
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x44], 0x10c
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rbp + 0x2e0]
xor ecx, ecx
lea r8d, [r9 + 0x14]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x2e0]
lea rdx, str._smsyhbd.ttc
lea rcx, [rbp + 0x1d0]
call fcn.14004a960
movss xmm2, dword [0x1400e5724]
lea r14, [0x1400e3790]
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp + 0x1d0]
mov qword [rsp + 0x20], r14
call fcn.14002c840
movss xmm3, dword [0x1400e5724]
lea rdi, [0x1400e3778]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x1400f8450]
mov qword [0x140149718], rax
mov r8d, 0x4d2c4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14002c9e0
movss xmm2, dword [0x1400e5738]
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rbx + 0x58]
mov qword [0x140149730], rax
mov qword [rsp + 0x20], r14
call fcn.14002c840
movss xmm3, dword [0x1400e5728]
lea rdx, [0x140147d40]
mov rcx, qword [rbx + 0x58]
mov r8d, 0xb18
mov qword [0x140149710], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14002c9e0
mov qword [0x140149738], rax
mov qword [rbp + 0x50], 0xffffffffffffffff
mov qword [rbp + 0x58], 0xffffffffffffffff
mov qword [rbp + 0x60], 0xffffffffffffffff
mov qword [rbp + 0x68], 0xffffffffffffffff
mov dword [rbp + 0x70], 0xffffffff
mov qword [rbp + 0x74], 0xfffffffffffffffd
mov dword [rbp + 0x7c], 0xffffffff
cmp qword [0x1401496b8], r15
mov r14, qword [rsp + 0x508]
mov rdi, qword [rsp + 0x530]
mov qword [rbp + 0x80], r15
jne 0x14004bdf5
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496b8]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140145720]
mov r8d, 0x249
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496c8], r15
jne 0x14004be32
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496c8]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140146930]
mov r8d, 0x1e8
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496d0], r15
jne 0x14004be6f
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496d0]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140148860]
mov r8d, 0x331
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496d8], r15
jne 0x14004beac
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496d8]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140147b40]
mov r8d, 0x1f7
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140149728], r15
jne 0x14004bee9
mov rcx, qword [0x1401496e8]
lea rax, [0x140149728]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140148ba0]
mov r8d, 0x100
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140149720], r15
jne 0x14004bf26
mov rcx, qword [0x1401496e8]
lea rax, [0x140149720]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400f8200]
mov r8d, 0x243
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496b0], r15
jne 0x14004bf63
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496b0]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140146b20]
mov r8d, 0x101d
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496c0], r15
jne 0x14004bfa0
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496c0]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x140145970]
mov r8d, 0xfbe
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401496a8], r15
jne 0x14004bfdd
mov rcx, qword [0x1401496e8]
lea rax, [0x1401496a8]
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400f7060]
mov r8d, 0x1192
mov qword [rsp + 0x20], r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rcx, rsi
call fcn.1400332d0
call fcn.1400330c0
xor bl, bl
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0xa8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004c05e
nop
lea rcx, [rbp + 0xa8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0xb0], 0x12
lea rcx, [rbp + 0xa8]
movzx ebx, bl
cmove ebx, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004c010
test bl, bl
jne 0x14004c17e
mov r8d, dword [0x1401496f4]
test r8d, r8d
je 0x14004c0c9
mov r9d, dword [0x1401496f0]
test r9d, r9d
je 0x14004c0c9
mov rcx, qword [0x140149708]
test rcx, rcx
je 0x14004c09d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8d, dword [0x1401496f4]
mov r9d, dword [0x1401496f0]
mov qword [0x140149708], r15
mov rcx, qword [0x140149700]
xor edx, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov rax, qword [rcx]
call qword [rax + 0x68]
mov dword [0x1401496f0], r15d
mov dword [0x1401496f4], r15d
call fcn.14004e520
mov rax, qword [0x140149698]
test rax, rax
je 0x14004c0de
mov rcx, qword [rax + 0xa0]
jmp 0x14004c0e1
mov rcx, r15
cmp qword [rcx + 0x48], r15
jne 0x14004c0ec
call fcn.140032b90
call fcn.140034110
call fcn.140008bb0
call fcn.14004c220
call fcn.14000a5f0
mov rcx, qword [0x1401496e0]
lea r8, [0x140149708]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0xd8], xmm0
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1401496e0]
lea r8, [rbp + 0xd8]
mov rdx, qword [0x140149708]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140149698]
mov rcx, qword [rax + 0x48d0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], r15b
cmove rcx, r15
call fcn.140031ef0
mov rcx, qword [0x140149700]
xor r8d, r8d
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x14004bff0
call fcn.140033230
call fcn.140033490
mov rbx, qword [0x140149698]
call fcn.140006cc0
mov qword [0x140149698], r15
test rbx, rbx
je 0x14004c1c3
mov rcx, rbx
call fcn.14001d7d0
mov rax, qword [0x140149698]
test rax, rax
je 0x14004c1ba
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14004e4a0
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov r12, qword [rsp + 0x538]
mov rsi, qword [rsp + 0x528]
mov rbx, qword [rsp + 0x520]
mov r15, qword [rsp + 0x500]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400bdec0
add rsp, 0x510
pop rbp
ret