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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
push ebx
push esi
push edi
push str.XMLwwltl033
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push ebx
push 0xf02
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.regayfjz5r4
push 0x80000001
call ebx
lea eax, [ebp - 0x168]
push eax
push str.s_tbchngdy
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.MTXh0dfoy4t
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x4118bb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call edi
jmp 0x4118e1
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.regbgpsuroi
push 0x80000001
call ebx
push str.yblo5vgo
push str.wzfhdchc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.SMPHR_bhn6wfgm
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.regspf5fvhx
push 0x80000001
call ebx
push 0
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x41191a
call edi
push str.WTMR_uuq5i7su
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
test eax, eax
je 0x41194d
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.regfaejqmnu
push 0x80000001
call ebx
jmp 0x411958
push str.log:_3x0mqj10
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ev_p969oekk
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, eax
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WTMR_eid73dxf
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.log:_f5lgik0m
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x208
push 0x40
call dword [0x41a04c]
mov dword [ebp - 4], eax
xor eax, eax
push str.ev_s2biq5c6
inc eax
mov dword [ebp - 0xc], 0x104
push 0
push eax
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call ebx
push esi
call edi
push str.SMPHR_d3jegzyn
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, eax
push str.log:_709wkrem
call ebx
push edi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push str.WTMR_xb7dacbu
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.regphtrsco8
push 0x80000001
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.XMLd8j21v14
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 0x294
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.log:_6puwkrwg
mov esi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push 0x20019
push esi
push str.regikhdwupi
push 0x80000001
call edi
push str.MTXfd9seu4s
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x411aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x411abd
push str.aryyse6j
push str.56mp2s7a
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x2a8]
push eax
push str.s_eghvpfaq
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.WTMR_9isped7r
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
test eax, eax
je 0x411b01
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.iv6d6tgg
push str.oco4w6b3
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
push 0xbb6
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.log:_yteqkyp3
mov esi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.log:_fijnn48o
call ebx
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push str.regs4ay7pou
push 0x80000001
call edi
push str.3zuir8qe
push str.40rpase9
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push dword [0x41a394]
push 0x80000002
call dword [0x41a0a0]
mov ebx, dword [ebp - 4]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x41a2c4]
push dword [ebp - 8]
call dword [0x41a0d4]
test esi, esi
jne 0x411b94
test eax, eax
je 0x411b9d
push dword [ebp - 8]
call dword [0x41a068]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret