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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.WTMR_5nfwailc
push 1
xor esi, esi
mov dword [ebp - 8], edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push eax
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.rega1e1vjp5
push 0x80000001
call edi
push esi
push 0x789
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ev_kcwr685g
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str.SMPHR_338vv4o3
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]
test eax, eax
je 0x40fcfa
push str.thnndlbw6
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40fd0a
push str.3ntvh9t0
push str.kxz97qmx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.WTMR_rpss130h
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
call esi
test eax, eax
je 0x40fd38
push eax
call ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.reghl76r1yp
push 0x80000001
call edi
mov eax, dword [0x41504c]
push 0x208
push 0x40
call eax
push str.rvqkhfez
push str.a8hyz1xm
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.WTMR_faxmw559
push 1
push 0
call esi
push str.394coz8w
push str.at2j8aog
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
call ebx
push str.t21i57jmr
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.SMPHR_fz39h98w
push 1
push 0
push 0
call esi
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x40fdac
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
push eax
push 0x3dc
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.reg9tcdy04a
push 0x80000001
call edi
push str.XMLuu4g62lf
push 1
push 0
push 0
call esi
lea ecx, [ebp - 4]
call fcn.0040ef7a
mov ecx, dword [0x41504c]
push 0x208
push 0x40
mov dword [ebp - 0xc], eax
call ecx
push 0xc
pop edx
mov ecx, eax
call fcn.0040ea79
mov edx, dword [0x4152a8]
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.0040f6d4
mov edx, esi
mov ecx, eax
call fcn.0040f6d4
push str.WTMR_wqnjuh51
push 1
xor esi, esi
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call ebx
push str.txatxmiba
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.XMLnpi9trpp
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push esi
push str.reg2d6olk53
push 0x80000001
call edi
push esi
push 0x925
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.te0rxqyzf
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
pop esi
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.regegi4kzc0
push 0x80000001
call edi
sub esi, 1
jne 0x40fea1
push str.WTMR_zgcfac1k
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.regynmcwl0p
push 0x80000001
call edi
test esi, esi
je 0x40ff02
push esi
call ebx
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.regep6o6ac8
push 0x80000001
call edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [0x415144]
push esi
push dword [edi]
call eax
push esi
mov dword [edi], eax
call dword [0x4150cc]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret