Function at 0x41b4c0
Capabilities:
Check if file exists
Create thread
Get file attributes
Hide graphical window
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x4b6100]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
lea eax, [esp + 0x20]
mov byte [esp + 0xf], 0
push eax
push 8
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41b531
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
push 4
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], 4
push eax
push 0x14
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41b531
cmp dword [esp + 0x28], 0
setne byte [esp + 0xf]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41b540
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xf], 0
jne 0x41b571
push 0x110
push str.ERROR
push str.ERROR:_not_running_as_admin
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004640a7
mov esp, ebp
pop ebp
ret
mov esi, dword [0x4b968c]
mov dword [0x4b9d74], 0x4b9828
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x2c]
cmp eax, 2
mov cl, byte [esi + 0x90]
setle byte [esp + 0x28]
mov byte [esp + 0x24], cl
jle 0x41b5ac
test cl, cl
je 0x41b601
push 4
push str.init
sub esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0xf
mov edx, esp
jbe 0x41b5c4
mov ecx, dword [esi + 8]
movq xmm0, qword [esp + 0x20]
mov dword [edx], ecx
lea ecx, [esp + 0x40]
mov eax, dword [esi + 0x18]
push 2
sub esp, 0xc
mov dword [edx + 4], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00402080
push dword [esp + 0x24]
lea eax, [esp + 0x34]
mov ecx, esi
push dword [esp + 0x2c]
push eax
call fcn.00402300
mov edx, 0x4b8ca8
mov ecx, str.config.json
call fcn.00403af0
push 0x4b8ca8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41b694
test al, 0x10
jne 0x41b694
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x4b9a20]
sub eax, dword [0x4b9a1c]
sar eax, 2
test eax, eax
je 0x41b682
push eax
mov ecx, esi
call fcn.00419f20
mov edi, dword [esi]
mov esi, dword [0x4b9a20]
mov eax, dword [0x4b9a1c]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [esp + 0x30]
mov dword [esi + 4], eax
mov edx, 0x4b6170
mov ecx, 0x4b8ca8
call fcn.00402c00
add esp, 0xc
cmp byte [0x4b618c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
jne 0x41b6ae
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4b618d], 0
je 0x41b6cc
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [0x4b968c]
mov word [0x4b9828], 0x100
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x2c]
cmp eax, 2
mov cl, byte [esi + 0x90]
setle byte [esp + 0x28]
mov byte [esp + 0x24], cl
jle 0x41b706
test cl, cl
je 0x41b75b
push 0x12
push str.starting_ui_thread
sub esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0xf
mov edx, esp
jbe 0x41b71e
mov ecx, dword [esi + 8]
movq xmm0, qword [esp + 0x20]
mov dword [edx], ecx
lea ecx, [esp + 0x40]
mov eax, dword [esi + 0x18]
push 2
sub esp, 0xc
mov dword [edx + 4], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00402080
push dword [esp + 0x24]
lea eax, [esp + 0x34]
mov ecx, esi
push dword [esp + 0x2c]
push eax
call fcn.00402300
lea eax, [esp + 0x2c]
push eax
push 0
push 0x4b9828
push 0x41b4a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [0x4b968c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x2c]
cmp eax, 2
mov cl, byte [esi + 0x90]
setle byte [esp + 0x28]
mov byte [esp + 0x24], cl
jle 0x41b7a7
test cl, cl
je 0x41b7fc
push 0x16
push str.starting_hotkey_thread
sub esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0xf
mov edx, esp
jbe 0x41b7bf
mov ecx, dword [esi + 8]
movq xmm0, qword [esp + 0x20]
mov dword [edx], ecx
lea ecx, [esp + 0x40]
mov eax, dword [esi + 0x18]
push 2
sub esp, 0xc
mov dword [edx + 4], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00402080
push dword [esp + 0x24]
lea eax, [esp + 0x34]
mov ecx, esi
push dword [esp + 0x2c]
push eax
call fcn.00402300
push 0
push 0
push sym.klim.exe_public:_static_long_int___stdcall_Klim::HotkeyManager::StaticKeyboardEvent_int__unsigned_int__long_int_
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [0x4b936c], eax
lea eax, [esp + 0x38]
push 0
push eax
call esi
test eax, eax
je 0x41b853
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jne 0x41b830
push dword [0x4b936c]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call esi
push dword [0x4b904c]
call esi
mov ecx, dword [esp + 0x6c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004640a7
mov esp, ebp
pop ebp
ret