Function at 0x40ffef
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
push str.SMPHR_5d3p2gxn
xor edi, edi
mov dword [ebp - 0x10], ecx
xor esi, esi
inc edi
push edi
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x410033
push str.k1x64emz
push str.ol4x86ft
call ebx
push str.WTMR_n3vb4gh1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
je 0x410060
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.t720whb6d
call esi
jmp 0x410062
call edi
mov eax, dword [0x41509c]
push 0
push 2
call eax
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x410234
push str.MTX0gygl06f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x410095
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4100a8
push str.ti2ulh6hj
call esi
push str.e547oiyp
push str.gz4r5xte
call ebx
push str.XMLaienkkfe
push 1
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push str.9way6ezp
push str.cqn25ydd
call ebx
push str.WTMR_ntykbszm
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
call edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
call esi
xor eax, eax
push eax
push 0x136f
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.t505rlco7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WTMR_v6ay9pjh
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push str.5ubq2daz
push str.1nt4klmz
mov dword [ebp - 8], eax
call ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x410138
push eax
call esi
call edi
mov eax, dword [0x415070]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x23c], 0x22c
jmp 0x41021b
push dword [ebp - 0x10]
mov eax, dword [0x41511c]
lea ecx, [ebp - 0x218]
push ecx
call eax
test eax, eax
jne 0x410216
push str.WTMR_c6316dj5
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov ebx, eax
call edi
test ebx, ebx
je 0x4101a6
push ebx
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.regi2xgdpz9
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x4101aa
call edi
xor ebx, ebx
push str.MTXpeq1e75x
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x4101c4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4101de
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.regp8dke7wi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call edi
push dword [ebp - 0x234]
mov eax, dword [0x415060]
push ebx
push 1
call eax
mov ebx, eax
test ebx, ebx
je 0x410216
mov ecx, dword [0x415118]
push 0
push ebx
call ecx
mov ecx, dword [ebp - 4]
test eax, eax
push 1
pop eax
cmovne ecx, eax
push ebx
mov dword [ebp - 4], ecx
call dword [0x4150c0]
mov eax, dword [0x41500c]
lea ecx, [ebp - 0x23c]
push ecx
push esi
call eax
test eax, eax
jne 0x410151
push esi
call dword [0x4150c0]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret