Function at 0x45d620
Capabilities:
Check mutex on windows
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54fab5
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x1c8]
sub esp, 0x1bc
push esi
push edi
push 0x100
push 0
push eax
call fcn.004e43a0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0052112b
mov edx, eax
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x45d672
mov edi, str.VisionTilePopupSynch
sub edx, esi
dec edi
lea eax, [edi + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45d687
push dword [ebp - 0x10]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp byte [0x5a9dc9], 0
mov dword [0x5a9dbc], eax
jne 0x45d6e2
push 0xb
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_ShowWindowAsync]
push 0
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_ShowWindowAsync]
push 0
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x5a9dd0
xor esi, esi
mov byte [0x5a9d2a], 0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x5a9dac], eax
test eax, eax
je 0x45d73d
mov edi, 0x5a9dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45d74f
push dword [esi*4 + 0x5a9dac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x100
inc esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi*4 + 0x5a9dac], eax
test eax, eax
jne 0x45d706
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x48], 0
mov dword [0x5a9da4], esi
mov byte [0x5a9d13], 1
mov byte [0x5a9d2b], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
push 1
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
push 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x5a9da4]
add ecx, 0xfffffffe
cdq
imul ecx, edi
sub eax, edx
sar eax, 1
push 0xf
add ecx, eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
push 0
mov esi, eax
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x68], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0xfffffffffffffffa
push 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x564018
mov dword [ebp - 0x54], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 0x45dc10
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x59a210
lea ecx, [ebp - 0x30]
call fcn.00402c00
movups xmm0, xmmword [ebp - 0x30]
sub esp, 0x18
cmp dword [ebp - 0x20], 0
mov ecx, esp
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x38], xmm0
jne 0x45d8e1
push 0x59a1e0
mov dword [ebp - 0x14], ecx
call fcn.00402c00
lea eax, [ebp - 0x30]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x45d88f
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d894
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x59a430
call fcn.00406520
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45d90d
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45dbfc
jmp 0x45d903
lea eax, [ebp - 0x48]
push eax
call fcn.00402c00
lea eax, [ebp - 0x30]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov ecx, 0x59a430
push eax
call fcn.00413c10
jmp 0x45d8af
push edx
push ecx
call fcn.004c824c
add esp, 8
cmp dword [0x59a444], 8
mov esi, 0x59a430
push 0
cmovae esi, dword [0x59a430]
push 0xfffffffffffffffa
push 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0
push 0
push dword [ebp - 0x10]
push edi
push 0
push dword [ebp - 0x18]
push 0x90000001
push esi
push str.TiledPromptWindowClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x5a9d9c], eax
lea eax, [ebp - 0xc8]
push eax
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x12
push eax
mov dword [ebp - 0xb8], 0x258
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
cmp dword [0x59a444], 8
mov esi, 0x59a430
push 0
push dword [0x5a9d9c]
cmovae esi, dword [0x59a430]
mov dword [0x5a9d14], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0xfffffffffffffffa
push dword [0x5a9d9c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0
push dword [0x5a9d9c]
push dword [ebp - 0x10]
push edi
push 0
push 0
push 0x50010301
push esi
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x3e9
push 0xfffffffffffffff4
push eax
mov dword [0x5a9d98], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [0x5a9d98]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [0x5a9d14]
push 0x30
push dword [0x5a9d98]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x45dc10
push 0xfffffffffffffffc
push dword [0x5a9d98]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x5a9dc9], 0
mov dword [0x5a9da0], eax
je 0x45db40
cmp byte [0x5a9d13], 0
je 0x45db40
push 0xfffffffffffffff0
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x45da7f
push 0xfffffffffffffff0
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0xc00000
push eax
push 0xfffffffffffffff0
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul eax, dword [0x5a9da4]
push 0x61
push 0
push 0
push 1
cdq
and edx, 0xf
lea esi, [edx + eax]
sar esi, 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul eax, dword [0x5a9da4]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0xffffffffffffffff
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x63
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [0x5a9d9c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x5a9d38]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x45dba8
cmp dword [0x5a9d18], 0
jne 0x45dba8
lea eax, [ebp - 0x8c]
push eax
push dword [0x5a9d9c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x45db91
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x45db57
push dword [0x5a9dbc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x34]
mov esi, dword [0x5a9d18]
cmp edx, 0x10
jb 0x45dbea
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45dbe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45dbfc
push edx
push ecx
call fcn.004c824c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004f1161
int3