Function at 0x421590
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628538
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x6aab00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [edi + 0x1e8], 4
mov dword [edi + 0x1f0], 2
mov dword [edi + 0x1f4], 1
mov dword [edi + 0x1f8], ebx
call fcn.00416160
push 1
lea ecx, [eax + 0x14]
call fcn.0042ac60
call fcn.0045168a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
mov ecx, dword [edi + 0x1e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push ecx
push str.HotkeyMode
push str.Setup
call esi
mov dword [edi + 0x1e8], eax
mov dword [edi + 0x1ec], eax
call fcn.0045168a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [edi + 0x1f0]
push edx
push eax
push str.ProcessPriority
push str.Setup
call esi
mov dword [edi + 0x1f0], eax
call fcn.0045168a
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x6c]
mov edx, dword [edi + 0x1f4]
push ecx
push edx
push str.Beep
push str.Setup
call esi
mov esi, eax
mov dword [edi + 0x1f4], esi
call fcn.00416160
push esi
lea ecx, [eax + 0x14]
call fcn.0042ac60
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea ecx, [esp + 0x14]
call fcn.004016c0
push 0x6b9870
lea eax, [esp + 0x18]
push str.MyMacro_
push eax
mov dword [esp + 0x54], ebx
call fcn.00413f50
add esp, 0xc
mov byte [esp + 0x48], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403160
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4216dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push reloc.OLEAUT32.dll_SysReAllocString
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x663ea8
call fcn.004016c0
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401780
add esp, 4
add eax, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi], eax
push ecx
mov byte [esp + 0x5c], bl
call fcn.00405a30
lea esi, [esp + 0x14]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 3
call fcn.00405e90
mov byte [esp + 0x48], 4
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00401780
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x48], 3
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421770
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp dword [eax + 4], ebx
lea edx, [eax + 0xc]
setne cl
mov dword [edi + 0x1f8], ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
call fcn.00405cb0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4217c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret