Function at 0x140057bc0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, qword [0x1401fbad8]
lea rax, [0x1400c95a0]
mov rdi, rdx
xor esi, esi
mov edx, 0x3ef
mov qword [rsp + 0x98], rcx
mov dword [rsp + 0x80], 3
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rbp, [0x140185d88]
lea r14, str.IrfanViewThumbnails
lea rcx, [rsp + 0x80]
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 5
call qword [sym.imp.USER32.dll_RegisterClassW]
lea rax, [rsp + 0x7c]
lea r15, [0x140208860]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x28], 0x140
mov qword [rsp + 0x20], rax
call fcn.1400eb280
mov rcx, qword [0x1401fbba0]
mov rdx, rbp
call qword [sym.imp.USER32.dll_LoadMenuW]
mov rcx, qword [0x1401fbba0]
lea r9d, [rsi + 0x20]
lea r8, [rsp + 0xd0]
mov edx, 0x49a
mov qword [0x1401fbbb0], rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0xd0]
lea r8, [0x140209d60]
lea rdx, str._s__s
lea rcx, [0x140209da0]
call fcn.1400f98c8
test byte [0x1401f7180], 0x80
je 0x140057d53
lea rax, [0x140209da0]
sub rax, 2
cmp word [rax + 2], si
lea rax, [rax + 2]
jne 0x140057d23
lea r8, [0x140208a80]
xor edx, edx
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rax + rdx*2 - 2], cx
test cx, cx
jne 0x140057d40
mov rax, qword [0x1401fbad8]
mov qword [rsp + 0x58], rsi
lea r8, [0x140209da0]
mov qword [rsp + 0x50], rax
mov rax, qword [0x1401fbbb0]
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x7c]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x70]
mov rdx, r14
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, InitCommonControls
mov qword [0x1401fbb48], rax
call fcn.1400e9140
mov ecx, InitCommonControls
mov ebx, eax
call fcn.1400e9140
mov rcx, qword [0x1401fbb48]
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], InitCommonControls
mov dword [rsp + 0x48], eax
mov rax, qword [0x1401fbad8]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov edx, 0x50800801
mov r8d, 0x7d3
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.COMCTL32.dll_CreateToolbarEx]
lea rdx, str.ViewMRUDs
mov r9, r15
mov r8d, 1
mov rcx, rbp
mov qword [0x1401fbb58], rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x140057e52
mov rcx, qword [0x1401fbb58]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x1c2
call fcn.1400e9140
mov rcx, qword [0x1401fbad8]
mov edx, dword [rsp + 0x70]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rcx
mov rcx, qword [0x1401fbb58]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
add edx, 0xfffffff8
lea r8, [0x140181e34]
mov r9d, 0x50a00203
mov dword [rsp + 0x30], edx
lea rdx, str.COMBOBOX
xor ecx, ecx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov r8, rdi
mov rcx, rax
lea edx, [r9 + 0x30]
mov qword [0x1401fbb60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fbb60]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1401fbb60]
lea r8, [0x14005f630]
mov edx, 0xfffffffc
mov qword [0x14020bda0], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret