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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
call dword [0x41a19c]
push ebx
mov esi, eax
call dword [0x41a19c]
lea edi, [eax + 0x71]
add edi, esi
push edi
push 0x40
call dword [0x41a04c]
mov ebx, eax
test edi, edi
je 0x4114a1
cmp edi, 0x7fffffff
jbe 0x411493
mov byte [ebx], 0
jmp 0x4114a1
push ecx
push dword [ebp - 4]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0040f7db
push 0
push 0x8b9
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.log:_9cmdn8qr
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SMPHR_3b8amu42
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.0vl92n2j
push str.rq07l0ab
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call esi
push str.XMLajs6xzfn
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call esi
push str.WTMR_w8birpiv
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test eax, eax
je 0x41153e
push eax
call esi
push str.4qgda8od
push str.8aaai1wt
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.WTMR_ykfgzgjn
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call esi
push 6
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x411553
push str.ev_wv22ecv3
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.MTXoxb57fvl
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x4115a6
push str.log:_w38d06jw
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4115b1
push str.log:_7zdvfvzx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x160]
push eax
push str.s_iwp49oz6
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xd28
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.regvyg5o35b
push 0x80000001
call esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.regonuvf3d5
push 0x80000001
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.pgbz7xj5
push str.vedfmyym
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.log:_69efdy2u
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test edi, edi
je 0x41166e
cmp edi, 0x7fffffff
ja 0x41166e
mov eax, edi
mov ecx, ebx
cmp byte [ecx], 0
je 0x41164e
inc ecx
sub eax, 1
jne 0x411643
test eax, eax
je 0x411658
mov ecx, edi
sub ecx, eax
jmp 0x41165a
xor ecx, ecx
test eax, eax
je 0x41166e
push ecx
push dword [ebp - 8]
sub edi, ecx
push ecx
add ecx, ebx
mov edx, edi
call fcn.0040f7db
xor edi, edi
push edi
push 0x110f
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.reg4k8t019r
push 0x80000001
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x2a0]
push eax
push str.s_qaqu7d83
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xdd8
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.MTXm07102ru
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x411714
push str.oouuipdr
push str.h258uqlc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.log:_ew12a6yc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x411737
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.regsi1tgrca
push 0x80000001
call edi
push str.log:_zmnys1ss
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WTMR_ix5y3rek
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.XMLzhb6l9jd
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.reg4cpec3u8
push 0x80000001
call edi
push str.jxd9q7yd
push str.dr9ttbz7
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.ev_anzo7six
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_u8nxbyh0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.regxfacdl9j
push 0x80000001
call edi
test esi, esi
je 0x4117dd
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.SMPHR_qb8pg5g4
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]
lea eax, [ebp - 0x20]
push eax
push 0x20019
push esi
push str.regumvvnhfn
push 0x80000001
call edi
push dword [ebp - 4]
call dword [0x41a0e0]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret