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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
call dword [0x41a090]
push edi
mov esi, eax
call dword [0x41a090]
sub eax, 0xffffff80
add esi, eax
mov dword [ebp - 0xc], esi
lea eax, [esi + esi]
push eax
push 0x40
call dword [0x41a04c]
push ebx
mov edx, esi
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.004027f7
push str.MTXh97dppdz
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x411164
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
jmp 0x41117c
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x20019
push esi
push str.regscjhlmkp
push 0x80000001
call ebx
lea eax, [ebp - 0x160]
push eax
push str.s_4hzypyda
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push 0x979
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.XMLepv19ghy
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]
push str.211ploeb
push str.bsikqh7m
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.WTMR_9lvtrjg6
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.regrn0nqsu3
push 0x80000001
call ebx
test esi, esi
je 0x41120b
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
call edi
push str.ev_aedzkdf2
push 0
push 1
push 0
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_2r8qq69g
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.log:_t33owyb9
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push str.WTMR_gjmok9oa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push 0xe79
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.log:_6pecz7t8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.nnrp114j
push str.ahjs85c9
call esi
push dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.00402824
push str.MTXfftigxuq
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x4112ce
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4112e5
push str.log:_xde2zw86
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.6rxuhkpa
push str.25t29djm
call esi
lea eax, [ebp - 0x2a0]
push eax
push str.s_p4gaf76d
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xa
pop esi
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.regjae89p4f
push 0x80000001
call ebx
sub esi, 1
jne 0x411301
push str.ev_b7rzftju
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.WTMR_mhobhbqw
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
push str.regnzsm1pq8
push 0x80000001
call ebx
push str.SMPHR_n3fe3qql
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.reg8vebtsqb
push 0x80000001
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
push 1
push esi
call ebx
test eax, eax
je 0x4113ad
push str.log:_ycaalfmw
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xa3e
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.log:_hr7r71s9
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.XML185ydxoa
push 1
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push 1
push eax
call ebx
push esi
push 0x12b4
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.lljs8wtr
push str.m3leh2hx
call ebx
push str.WTMR_b54peimr
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
call edi
test esi, esi
je 0x41142f
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
call edi
push str.ak0fb06z
push str.s8a3huxo
call ebx
push dword [ebp - 0x10]
call dword [0x41a0e0]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret