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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ac
mov eax, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push ebx
push esi
push edi
push str.WTMR_tmr2jku0
push 1
xor edi, edi
mov dword [ebp - 8], eax
push edi
call eax
push str.vjd4qfn6
push str.1wc882l1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], eax
test esi, esi
je 0x40c97b
push esi
call eax
push str.log:_w4lywhan
call ebx
push 0xa5
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.SMPHR_rf3omit5
push 1
push edi
push edi
mov dword [ebp - 0xc], eax
call eax
push str.log:_5g0032sf
mov esi, eax
call ebx
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push edi
push 1
push esi
mov dword [ebp - 0x18], eax
call eax
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.regon0b4jg1
push 0x80000001
mov dword [ebp - 0x4c], edi
call edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor esi, esi
push str.MTXq96g80py
push esi
push esi
mov dword [ebp - 0x24], eax
call eax
mov ecx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x40ca08
push eax
call ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ca16
push str.log:_xem2nnwj
call ebx
push str.log:_aodik4y2
call ebx
lea eax, [ebp - 0x1e8]
push eax
push str.s_xdr6o5zi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.ev_egaiu8vt
push esi
push 1
push esi
mov dword [ebp - 0x30], eax
call eax
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov dword [ebp - 0x34], eax
call eax
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
mov dword [ebp - 0x38], eax
call eax
xor eax, eax
push eax
push 0x5a7
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.9u4kfzp6
push str.blo8yd6g
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.WTMR_eledv420
push 1
xor esi, esi
push esi
call dword [ebp - 8]
push str.log:_ipaoelgb
call ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x3c], esi
call dword [0x417158]
push 0x6a5
push esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push str.regdt878vxm
push 0x80000001
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xa
pop esi
push str.log:_vrsxb0uh
call ebx
sub esi, 1
jne 0x40cae6
push str.SMPHR_h9zzinnk
push 1
push esi
push esi
call dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
push 0
push 1
push esi
mov esi, dword [ebp - 0x18]
call esi
lea eax, [ebp - 0x328]
push eax
push str.s_klnql14d
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.XML98ilns20
push 1
push 0
push 0
call dword [ebp - 0xc]
push 0
push 1
push eax
call esi
push str.WTMR_23kmogl1
push 1
xor esi, esi
push esi
call dword [ebp - 8]
test eax, eax
je 0x40cb5e
push eax
call dword [ebp - 4]
push str.log:_zkq86qz2
call ebx
jmp 0x40cb6e
push str.ght0q9mg
push str.dmyg7dvz
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.MTXzp8mldqj
push esi
push esi
call dword [ebp - 0x24]
test eax, eax
je 0x40cb82
push eax
call dword [ebp - 0x28]
jmp 0x40cb84
call edi
push esi
push 0x11cb
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [0x41747c]
call dword [0x41703c]
push dword [0x417380]
mov esi, eax
call dword [0x41703c]
push dword [0x417454]
mov edi, eax
push esi
call dword [0x4170d8]
push dword [0x417284]
mov dword [0x4171a0], eax
push esi
call dword [0x4170d8]
push dword [0x41728c]
mov dword [0x417120], eax
push esi
call dword [0x4170d8]
push dword [0x4174a0]
mov dword [0x41716c], eax
push esi
call dword [0x4170d8]
push dword [0x417410]
mov dword [0x41717c], eax
push esi
call dword [0x4170d8]
push dword [0x417364]
mov dword [0x41713c], eax
push esi
call dword [0x4170d8]
push dword [0x4173e4]
mov dword [0x41715c], eax
push edi
call dword [0x4170d8]
push dword [0x417440]
mov dword [0x417010], eax
push edi
call dword [0x4170d8]
push dword [0x417344]
mov dword [0x417104], eax
push edi
call dword [0x4170d8]
push dword [0x4173f0]
mov dword [0x417058], eax
push edi
call dword [0x4170d8]
push dword [0x417588]
mov dword [0x417094], eax
push edi
call dword [0x4170d8]
push dword [0x417308]
mov dword [0x4170d0], eax
push edi
call dword [0x4170d8]
push dword [0x41753c]
mov dword [0x417134], eax
push edi
call dword [0x4170d8]
push dword [0x417400]
mov dword [0x417064], eax
push edi
call dword [0x4170d8]
push str.SMPHR_n2qy1tor
push 1
push 0
push 0
mov dword [0x417084], eax
call dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, eax
push str.nt6rzav9
push str.d6u2g56u
call edi
push 0
push 1
push esi
call dword [ebp - 0x18]
push str.WTMR_5fae2x4g
push 1
push 0
call dword [ebp - 8]
push str.iruik9de
push str.6mrndiet
mov esi, eax
call edi
test esi, esi
je 0x40ccfe
push esi
mov esi, dword [ebp - 4]
call esi
jmp 0x40cd04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x4c]
push 4
pop esi
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.regfw5oiwyz
push 0x80000001
call edi
sub esi, 1
jne 0x40cd0a
push 0xd31
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push str.reg74rkh414
push 0x80000001
call edi
push str.WTMR_87ziygjr
push 1
push esi
call dword [ebp - 8]
mov esi, dword [ebp - 4]
push eax
call esi
push str.ev_oa3lnpp2
push 0
push 1
push 0
call dword [ebp - 0x30]
mov esi, eax
push esi
call dword [ebp - 0x34]
push esi
call dword [ebp - 0x38]
push str.XMLny3b3j9h
push 1
xor esi, esi
push esi
push esi
call dword [ebp - 0xc]
push esi
push 1
push eax
call dword [ebp - 0x18]
push str.MTX6t5bw5x5
push esi
push esi
call dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x40cdb9
push esi
call dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.regoew98ps5
jmp 0x40cdc9
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.regrya0twjq
push 0x80000001
call edi
push 0
call dword [0x41718c]
push dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call dword [0x41718c]
push 0x208
mov esi, eax
push 0x40
mov dword [ebp - 0x2c], esi
call dword [0x41704c]
push esi
mov dword [ebp - 0x14], eax
call dword [0x417058]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x40d30b
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x44]
call dword [0x417124]
push 4
push esi
call dword [0x417064]
push 0xcc0020
push 1
call dword [0x417050]
push eax
push 0
call dword [0x417050]
push eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
push eax
push esi
call dword [0x417084]
test eax, eax
je 0x40d30b
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push eax
push esi
call dword [0x417104]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x40d30b
push eax
push dword [ebp - 0x40]
call dword [0x417134]
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push 0xcc0020
push 0
push 0
push esi
push eax
mov eax, dword [ebp - 0x54]
xor esi, esi
sub eax, dword [ebp - 0x5c]
push eax
push esi
push esi
push dword [ebp - 0x40]
call dword [0x417010]
test eax, eax
je 0x40d30d
lea eax, [ebp - 0xa8]
push eax
push 0x18
push dword [ebp - 0x3c]
call dword [0x4170d0]
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [0x4171a0]
lea edx, [ebp - 0x14]
call fcn.0041046b
test eax, eax
je 0x40d36e
push str.MTX70b3rq0d
push esi
push esi
call dword [ebp - 0x24]
test eax, eax
je 0x40cf02
push eax
call dword [ebp - 0x28]
push str.6n3b43qd
push str.u21b2shb
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x40cf19
push str.gdislrk3
push str.8rged8i6
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.log:_d5s60b2z
call ebx
push str.WTMR_fybn7qox
push 1
push esi
call dword [ebp - 8]
test eax, eax
je 0x40cf33
push eax
call dword [ebp - 4]
push str.log:_dbhidx7a
call ebx
lea eax, [ebp - 0x468]
push eax
push str.s_ih82y5he
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.ev_g2v2l2z6
push esi
push 1
push esi
call dword [ebp - 0x30]
mov esi, eax
push esi
call dword [ebp - 0x34]
push esi
call dword [ebp - 0x38]
xor esi, esi
push esi
push 0x3a8
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.WTMR_g5unc8z9
push 1
push esi
call dword [ebp - 8]
push str.3tg89n2b
push str.ekvk6nm4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
call dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.SMPHR_ovzdcy0e
push 1
push 0
push 0
call dword [ebp - 0xc]
mov esi, eax
lea eax, [ebp - 0x84]
push eax
push 0x20019
push 0
push str.regb9sh5wp1
push 0x80000001
call edi
push 0
push 1
push esi
call dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push ecx
push esi
push dword [ebp - 0x3c]
mov dword [ebp - 0x10], esi
call fcn.0040c624
cmp eax, 1
jne 0x40d365
push 0x55
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.log:_bi73loao
mov esi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x88]
xor esi, esi
push eax
push 0x20019
push esi
push str.regm4qmh0pd
push 0x80000001
call edi
push str.ev_9b2yykkn
push esi
push 1
push esi
call dword [ebp - 0x30]
mov esi, eax
push esi
call dword [ebp - 0x34]
push esi
call dword [ebp - 0x38]
lea eax, [ebp - 0x5a8]
push eax
push str.s_1ybe8uzj
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.MTX2viqoc6l
push 0
push 0
call dword [ebp - 0x24]
mov esi, eax
test esi, esi
je 0x40d082
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.regfvccnl5a
push 0x80000001
call edi
push esi
call dword [ebp - 0x28]
jmp 0x40d092
push str.ri844xun
push str.60qlf1d8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor esi, esi
push esi
push 0xf18
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push 0x20019
push esi
push str.regn7zrevpt
push 0x80000001
call edi
push str.XMLyi5lajk7
push 1
push esi
push esi
call dword [ebp - 0xc]
push esi
push 1
push eax
call dword [ebp - 0x18]
push str.WTMR_2kdaxgl3
push 1
push esi
mov esi, dword [ebp - 8]
call esi
push str.lopdd932
push str.zzm9el6j
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40d103
push eax
call dword [ebp - 4]
jmp 0x40d109
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WTMR_lwtjthsy
push 1
push 0
call esi
mov esi, eax
lea eax, [ebp - 0x8c]
push eax
push 0x20019
push 0
push str.regt5lr9x26
push 0x80000001
call edi
push esi
call dword [ebp - 4]
push str.SMPHR_pejuyn2w
push 1
xor esi, esi
push esi
push esi
call dword [ebp - 0xc]
push 0x20
push 0x40
mov dword [ebp - 0x20], esi
call dword [0x41704c]
push esi
push esi
push 4
push esi
mov esi, dword [ebp - 0x10]
mov edi, eax
push 1
push 0x80000000
push esi
mov dword [ebp - 0x14], edi
call dword [0x417044]
push 0x30c
push 0x40
mov dword [ebp - 0x10], eax
call dword [0x41704c]
push 0x618
push 0x40
mov dword [ebp - 0x1c], eax
call dword [0x41704c]
push dword [0x4171bc]
push eax
call dword [0x417144]
mov edx, dword [ebp + 8]
mov ecx, eax
call fcn.0040fc69
xor ecx, ecx
mov dword [ebp + 8], eax
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push 0xfde9
call dword [0x4170e8]
test eax, eax
je 0x40d1f5
xor ecx, ecx
push ecx
push ecx
push eax
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push dword [ebp + 8]
push ecx
push 0xfde9
call dword [0x4170e8]
test eax, eax
je 0x40d1f5
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], esi
and dword [edi + 0xc], 0
mov dword [ebp - 0x20], 1
jmp 0x40d216
push dword [ebp - 0x1c]
call dword [0x4170cc]
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4170c0]
push esi
call dword [0x4170f8]
push esi
call dword [0x4170cc]
push dword [ebp + 8]
call dword [0x4170cc]
mov edi, 0x208
push edi
push 0x40
call dword [0x41704c]
push edi
push 0x40
mov esi, eax
call dword [0x41704c]
push 0x10
pop edx
mov ecx, esi
mov edi, eax
call fcn.0040e9c0
push dword [0x41723c]
mov esi, eax
push edi
mov dword [ebp - 0x1c], esi
call dword [0x417144]
mov edx, esi
mov ecx, eax
call fcn.0040fc69
mov ecx, dword [0x417230]
and dword [ebp - 0x60], 0
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0040c0a5
push 0x184
push 0x40
mov dword [ebp + 8], eax
call dword [0x41704c]
mov edi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push 0xfde9
call dword [0x4170e8]
test eax, eax
je 0x40d2dc
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push esi
push ecx
push 0xfde9
call dword [0x4170e8]
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x40d2df
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 8]
mov edx, edi
push esi
push dword [ebp - 0x20]
push 0
push 0
call fcn.0040acf1
add esp, 0x18
jmp 0x40d2df
mov esi, dword [ebp - 0x14]
push edi
call dword [0x4170cc]
push dword [ebp + 8]
call dword [0x4170cc]
push dword [ebp - 0x10]
call dword [0x4170cc]
push dword [ebp - 0x1c]
call dword [0x4170cc]
push esi
call dword [0x4170cc]
mov edi, dword [ebp - 0x4c]
xor esi, esi
push str.log:_z4u0w829
call ebx
mov ebx, dword [ebp - 8]
push str.WTMR_ygpxqod3
push 1
push esi
call ebx
test eax, eax
je 0x40d329
push eax
call dword [ebp - 4]
push str.WTMR_uky5f51g
push 1
push esi
call ebx
push eax
call dword [ebp - 4]
lea eax, [ebp - 0x90]
mov ebx, 0x20019
push eax
push ebx
push esi
push str.regdazhsolw
push 0x80000001
call edi
push str.MTXmskraio6
push esi
push esi
call dword [ebp - 0x24]
test eax, eax
je 0x40d379
push eax
call dword [ebp - 0x28]
jmp 0x40d38b
push esi
call dword [0x4170cc]
jmp 0x40d30b
push dword [ebp - 0x14]
call dword [0x4170cc]
jmp 0x40d30d
lea eax, [ebp + 8]
push eax
push ebx
push esi
push str.regecbkdb2k
push 0x80000001
call edi
push str.ev_yvv9yhqg
push esi
push 1
push esi
call dword [ebp - 0x30]
mov esi, eax
push esi
call dword [ebp - 0x34]
push esi
call dword [ebp - 0x38]
mov ebx, dword [ebp - 0xc]
xor esi, esi
push str.SMPHR_askueb5u
push 1
push esi
push esi
call ebx
push esi
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d3d2
lea eax, [ebp + 8]
push eax
push 0x20019
push esi
push str.regi1gyvgbw
push 0x80000001
call edi
push str.XML5auuxt83
push 1
push esi
push esi
call ebx
push dword [ebp - 0x3c]
call dword [0x417094]
push dword [ebp - 0x40]
call dword [0x417094]
push dword [ebp - 0x48]
push esi
call dword [0x4170f4]
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
call dword [0x4170f4]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8