Function at 0x42a5b0
Capabilities:
Check if file exists
Check mutex on windows
Get common file path
Get program files directory
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c46b
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp - 0x7c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x360], ecx
mov ecx, dword [ebp - 0x360]
call fcn.00404122
mov ecx, dword [ebp - 0x360]
call fcn.00424210
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x43f96c], eax
cmp dword [0x43f96c], 0
je 0x42a638
push str.KillTimer
mov eax, dword [0x43f96c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43fed8], eax
cmp dword [0x43fed8], 0
jne 0x42a636
xor eax, eax
jmp 0x42af9e
jmp 0x42a63f
xor eax, eax
jmp 0x42af9e
push 0x43fee8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x43f968], eax
cmp dword [0x43f968], 0
je 0x42a6a1
push 0x43fef8
mov ecx, dword [0x43f968]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f960], eax
push 0x43ff0c
mov edx, dword [0x43f968]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f95c], eax
cmp dword [0x43f960], 0
je 0x42a698
cmp dword [0x43f95c], 0
jne 0x42a69f
xor eax, eax
jmp 0x42af9e
jmp 0x42a6a8
xor eax, eax
jmp 0x42af9e
push 0x43fedc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x43f964], eax
cmp dword [0x43f964], 0
je 0x42a7a2
push 0x43ff30
mov eax, dword [0x43f964]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f954], eax
push 0x43ff20
mov ecx, dword [0x43f964]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f958], eax
push 0x43ff44
mov edx, dword [0x43f964]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f950], eax
push 0x43ff58
mov eax, dword [0x43f964]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f94c], eax
push 0x43ff6c
mov ecx, dword [0x43f964]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f948], eax
push 0x43ff80
mov edx, dword [0x43f964]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f944], eax
push 0x43ff90
mov eax, dword [0x43f964]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f940], eax
cmp dword [0x43f958], 0
je 0x42a799
cmp dword [0x43f954], 0
je 0x42a799
cmp dword [0x43f950], 0
je 0x42a799
cmp dword [0x43f94c], 0
je 0x42a799
cmp dword [0x43f944], 0
je 0x42a799
cmp dword [0x43f940], 0
jne 0x42a7a0
xor eax, eax
jmp 0x42af9e
jmp 0x42a7a9
xor eax, eax
jmp 0x42af9e
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x104
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x74], eax
push 0x433cf4
lea ecx, [ebp - 0x290]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x290]
call fcn.004019a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a81f
xor eax, eax
jmp 0x42af9e
push 0x104
push 0x43fdc8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x43fdc8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x70], eax
push 0x100
push 0x10
push 0
push 0x43fdc8
push 0x43fcbc
call fcn.0040f6fe
add esp, 0x14
push 0x43fa8c
call fcn.0040f71c
cdq
mov ecx, 0xc
idiv ecx
add edx, 6
push edx
mov ecx, dword [ebp - 0x360]
call fcn.00424900
push 0x43fba4
call fcn.0040f71c
cdq
mov ecx, 6
idiv ecx
add edx, 4
push edx
mov ecx, dword [ebp - 0x360]
call fcn.00424900
mov ecx, dword [ebp - 0x360]
call fcn.00427ee0
call fcn.00427a30
push 0
push 0x1a
push 0x43f988
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4304e1
push 0x43f988
call fcn.0040f740
add esp, 8
test eax, eax
jne 0x42a97d
push 0x433d08
lea edx, [ebp - 0x294]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 4], 0
push 0x433d20
lea ecx, [ebp - 0x298]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d0]
mov eax, dword [edx]
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx]
mov dword [ebp - 0x2dc], edx
lea eax, [ebp - 0x14]
push eax
push 0x43f988
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [ebp - 0x298]
call fcn.004019a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.004019a0
push 0x433da4
push 0x43f988
call fcn.0040f7e0
add esp, 8
push 0x433da8
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
push ecx
push 0x43f988
call fcn.0040f7e0
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.004019a0
push 0x43f988
push 0x43faa0
call fcn.0040f7e0
add esp, 8
push 0x433dbc
push 0x43f988
call fcn.0040f7e0
add esp, 8
push 0x433dc0
lea edx, [ebp - 0x2a0]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2f8]
push edx
push 0x43f988
call fcn.0040f7e0
add esp, 8
lea ecx, [ebp - 0x2a0]
call fcn.004019a0
push 0x43f988
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42ab3f
mov byte [ebp - 0x184], 0
push 0x103
push 0
lea eax, [ebp - 0x183]
push eax
call fcn.0040e9c0
add esp, 0xc
push 0x433ddc
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x300], edx
mov dword [ebp - 4], 1
push 0x433df0
lea eax, [ebp - 0x2a8]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x300]
mov edx, dword [ecx]
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax]
mov dword [ebp - 0x30c], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x304]
push edx
mov eax, dword [ebp - 0x30c]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [ebp - 0x2a8]
call fcn.004019a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.004019a0
lea ecx, [ebp - 0x184]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42ab3f
lea edx, [ebp - 0x184]
push edx
push 0x43f988
call fcn.0040f7d0
add esp, 8
push 0x43f988
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42ae13
push 0x43fbb8
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x4304e2
push 0x43fbb8
call fcn.0040f740
add esp, 8
test eax, eax
jne 0x42ac25
push 0x433e50
lea eax, [ebp - 0x2ac]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
mov dword [ebp - 0x318], ecx
mov dword [ebp - 4], 2
push 0x433e78
lea edx, [ebp - 0x2b0]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax]
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x320]
mov eax, dword [edx]
mov dword [ebp - 0x324], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x43fbb8
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x324]
push ecx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [ebp - 0x2b0]
call fcn.004019a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.004019a0
push 0x433ed0
push 0x43fbb8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x433ed4
lea edx, [ebp - 0x2b4]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
mov dword [ebp - 0x334], ecx
mov edx, dword [ebp - 0x334]
push edx
push 0x43fbb8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x2b4]
call fcn.004019a0
push 0x43fbb8
push 0x43fcc0
call fcn.0040f7d0
add esp, 8
push 0x433ee8
push 0x43fbb8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x433eec
lea eax, [ebp - 0x2b8]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx]
mov dword [ebp - 0x340], edx
mov eax, dword [ebp - 0x340]
push eax
push 0x43fbb8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x2b8]
call fcn.004019a0
push 0x43fbb8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42addf
mov byte [ebp - 0x28c], 0
push 0x103
push 0
lea ecx, [ebp - 0x28b]
push ecx
call fcn.0040e9c0
add esp, 0xc
push 0x433f08
lea edx, [ebp - 0x2bc]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x348], eax
mov dword [ebp - 4], 3
push 0x433f20
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x348]
mov eax, dword [edx]
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov dword [ebp - 0x354], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [ebp - 0x2c0]
call fcn.004019a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.004019a0
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42addf
lea eax, [ebp - 0x28c]
push eax
push 0x43fbb8
call fcn.0040f7d0
add esp, 8
push 0x43fbb8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42ae13
push 0x43fbb8
push 0x43f988
call fcn.0040f7d0
add esp, 8
push 0x43fcc0
push 0x43faa0
call fcn.0040f7d0
add esp, 8
push 0
push 0x20
push 0
push 0x43f988
call fcn.0040f8c8
add esp, 0x10
mov dword [0x43fdc4], eax
call fcn.00427650
mov dword [ebp - 0x50], 0x30
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x42a4b0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x43fba4
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x42ae9c
or eax, 0xffffffff
jmp 0x42af9e
push 0
mov ecx, dword [ebp - 0x70]
push ecx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push 0x43fa8c
push 0x43fba4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x42aedf
or eax, 0xffffffff
jmp 0x42af9e
mov dword [0x43ce14], 0x80000001
push 0
push 0xea60
push 0
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x42af4f
mov ecx, dword [ebp - 0x360]
add ecx, 0xa4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
mov eax, dword [ebp - 0x68]
cmp eax, dword [0x43ffa4]
jne 0x42af39
jmp 0x42af4f
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x42aeff
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [0x43fed8]
cmp dword [0x43fcbc], 0
jle 0x42af75
mov edx, dword [0x43fcbc]
push edx
call fcn.0040f988
add esp, 4
cmp dword [0x43fdc4], 0
jle 0x42af8c
mov eax, dword [0x43fdc4]
push eax
call fcn.0040f988
add esp, 4
cmp dword [ebp - 0x1c], 0xffffffff
je 0x42af9c
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, ebp
call fcn.0040e83e
mov esp, ebp
pop ebp
ret