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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb9c
push ebx
mov ebx, dword [sym.imp.kernel32.dll_CreateWaitableTimerA]
push esi
push edi
push 0x413170
push 1
push 0
call ebx
mov edi, dword [sym.imp.kernel32.dll_CancelWaitableTimer]
test eax, eax
je 0x40a301
push eax
call edi
jmp 0x40a307
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x413180
push 1
push 0
call ebx
mov esi, eax
lea eax, [esp + 0x54]
push eax
push 0x20019
push 0
push 0x413190
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
call edi
push 0x41319c
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0x4131ac
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0
push 1
push esi
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0
call dword [0x411060]
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x4131b8
push 0x80000001
call esi
lea eax, [esp + 0x68]
push eax
push 0x4131c4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
push 0x4131d0
push 1
push 0
call ebx
push eax
call edi
lea eax, [esp + 0x58]
push eax
push 0x20019
push 0
push 0x4131e0
push 0x80000001
call esi
push 0x46e
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov edi, dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
push 0x4131ec
push 0x4131f8
call edi
push 0x413204
push 1
xor esi, esi
push esi
call ebx
call section.________
push 0x413214
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]
test eax, eax
je 0x40a421
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x413224
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 0x413230
push 1
push 0
call ebx
push 0x413240
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.kernel32.dll_CancelWaitableTimer]
call esi
push 0x41324c
push 1
push 0
call ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a481
push eax
call esi
xor esi, esi
push esi
push 0x6e3
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.kernel32.dll_]
lea eax, [esp + 0x1a8]
push eax
push 0x41325c
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
call fcn.0040e446
test eax, eax
jne 0x40a4c6
push esi
call dword [0x41502c]
mov ecx, 0x413268
call fcn.0040f15f
push 0x41328c
push esi
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40a4fb
push 0x413298
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call dword [0x411020]
jmp 0x40a501
call dword [sym.imp.kernel32.dll_GetLastError]
lea eax, [esp + 0x2e8]
push eax
push 0x4132a4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
mov esi, dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0x4132b0
push 1
push 0
push 0
call esi
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
test eax, eax
jne 0x40a549
push 0x4132c0
push 0x4132cc
call edi
push 0x4132d8
push 1
push 0
push 0
call esi
xor esi, esi
push esi
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0x4132e4
push 0x4132f0
call edi
push esi
push 0xe8a
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push 0x4132fc
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.kernel32.dll_]
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
call fcn.00405468
call fcn.0040e58b
test eax, eax
je 0x40a5af
call fcn.0040e873
push 0x11c
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x413308
push 1
push 0
call ebx
mov dword [esp + 0x14], eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a5e5
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
jmp 0x40a5e7
call esi
push 0x413318
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40a61f
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x413324
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
call dword [0x411020]
push 0x413330
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 0x41333c
push 1
xor esi, esi
push esi
call ebx
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x41334c
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 ecx
mov ecx, 0x413358
call fcn.0040e208
mov dword [esp], 0xfc2
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov esi, eax
lea eax, [esp + 0x5c]
push eax
push 0x20019
push 0
push 0x41339c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea eax, [esp + 0x60]
push eax
push 0x20019
push 0
push 0x4133a8
push 0x80000001
call esi
push 0x4133b4
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0x4133c0
push 0x4133cc
call edi
push 0x4133d8
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
je 0x40a710
push eax
call dword [0x411020]
jmp 0x40a728
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x4133e4
push 0x80000001
call esi
push 0x4133f0
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 5
pop esi
push 0x4133fc
push 0x413408
call edi
sub esi, 1
jne 0x40a74c
push 0x413414
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x413420
push 1
push esi
call ebx
push ecx
mov ecx, 0x413430
call fcn.0040e208
mov dword [esp], 0x413474
push 1
push esi
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push esi
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
test eax, eax
je 0x40a7bd
lea eax, [esp + 0x2c]
push eax
push 0x20019
push esi
push 0x413484
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
jmp 0x40a7c9
push 0x413490
push 0x41349c
call edi
push 0x4134a8
push 1
push esi
call ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x35d
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
push 0x4134b8
push 0x4134c4
mov esi, eax
call edi
push esi
mov esi, dword [sym.imp.kernel32.dll_LocalFree]
call esi
push 0x4134d0
push 0x4134dc
call edi
push 0x4134e8
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40a85b
push 0x4134f4
push 0x413500
call edi
push dword [esp + 0x14]
call dword [0x411020]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x41350c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push 0x413518
push 1
push 0
call ebx
push ecx
mov ecx, 0x413528
call fcn.0040e208
mov dword [esp], 0x467
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call esi
push 0x41356c
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor esi, esi
push esi
push 0xc59
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.kernel32.dll_]
push 0x413578
push 1
push esi
call ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x413588
call esi
push 0x413594
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0x4135a0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40a923
push 0x4135ac
push 0x4135b8
call edi
push dword [esp + 0x14]
call dword [0x411020]
push 0x4135c4
jmp 0x40a944
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x4135d0
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push 0x4135dc
call esi
push 0x4135e8
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
mov esi, dword [sym.imp.kernel32.dll_FindFirstFileA]
lea eax, [esp + 0x428]
push eax
push 0x4135f4
call esi
push ecx
mov ecx, 0x413600
call fcn.0040e208
pop ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x568]
push eax
push 0x413644
call esi
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
push 0x413650
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 0x41365c
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40a9f9
push 0x413668
push 0x413674
call edi
push esi
call dword [0x411020]
push 0x413680
push 0x41368c
call edi
jmp 0x40aa15
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x413698
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push 0xd04
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x4136a4
push 1
push 0
call ebx
test eax, eax
je 0x40aa3f
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x4136b4
push 1
push 0
call ebx
push 0x4136c4
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
lea eax, [esp + 0x64]
xor esi, esi
push eax
push 0x20019
push esi
push 0x4136d0
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
push 0x9bf
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push 0x4136dc
push 0x4136e8
mov esi, eax
call edi
push esi
call dword [sym.imp.kernel32.dll_]
push 0x4136f4
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x413704
call esi
push ecx
mov ecx, 0x413710
call fcn.0040e208
mov dword [esp], 0x413754
push 1
push 0
push 0
mov dword [esp + 0x28], eax
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0x413760
push 1
push 0
call ebx
test eax, eax
je 0x40ab0a
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x413770
call esi
push 0x41377c
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
je 0x40ab2a
push eax
call dword [0x411020]
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x413788
push 1
push 0
call ebx
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x413798
call esi
lea eax, [esp + 0x6a8]
push eax
push 0x4137a4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
push 0x81a
xor ebx, ebx
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 7
pop esi
push 0x4137b0
push 0x4137bc
call edi
sub esi, 1
jne 0x40ab75
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [0x4153cc]
mov dword [esp + 0x2c], eax
mov eax, dword [0x415234]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call fcn.0040c218
mov ecx, dword [0x41504c]
push 0x1000
push 0x40
mov dword [esp + 0x30], eax
call ecx
mov ecx, dword [0x41504c]
push 0x618
push 0x40
mov dword [esp + 0x1c], eax
call ecx
mov esi, eax
call fcn.0040f789
mov edi, eax
call fcn.0040f94e
push dword [0x415414]
mov ecx, dword [0x415144]
mov ebx, eax
push esi
call ecx
mov edx, edi
mov ecx, eax
call fcn.0040f343
mov edx, dword [0x41523c]
mov ecx, eax
call fcn.0040f343
mov edx, ebx
mov ecx, eax
call fcn.0040f343
mov edx, dword [0x4153bc]
mov ecx, eax
call fcn.0040f343
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.0040f343
mov ecx, dword [0x415144]
mov esi, eax
push esi
push dword [esp + 0x18]
call ecx
push esi
mov dword [esp + 0x14], eax
call dword [0x4150cc]
mov ecx, dword [0x41504c]
push 0x800
push 0x40
call ecx
mov edi, dword [sym.imp.kernel32.dll_CreateWaitableTimerA]
mov ebx, dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + eax*4 + 0x40]
call fcn.0040f15f
mov ecx, dword [0x415090]
mov esi, eax
push esi
mov dword [esp + 0x20], esi
call ecx
cmp word [esi + eax*2 - 2], 0x2f
je 0x40acbf
mov edx, dword [0x415294]
mov ecx, esi
call fcn.0040f343
mov esi, eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
push dword [esp + 0x2c]
push dword [esp + 0x18]
call fcn.0040b5d2
add esp, 0xc
mov dword [esp + 0x24], eax
xor esi, esi
push esi
push 0x125b
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.kernel32.dll_]
push 0x4137c8
push 1
push esi
call edi
test eax, eax
je 0x40ad0c
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
jmp 0x40ad27
lea eax, [esp + 0x2c]
push eax
push 0x20019
push esi
push 0x4137d8
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push 0x4137e4
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 0x85d
push esi
call dword [sym.imp.kernel32.dll_LocalAlloc]
push 0x4137f0
mov esi, eax
call ebx
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov esi, dword [esp + 0x24]
mov eax, dword [0x415090]
push esi
call eax
push dword [esp + 0x1c]
cmp eax, 0x40
jge 0x40ad96
call dword [0x4150cc]
test esi, esi
jne 0x40ad82
push esi
call dword [0x4150cc]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 1
jl 0x40ac8c
jmp 0x40adaf
push dword [esp + 0x24]
mov eax, dword [0x415144]
call eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [0x4150cc]
push dword [esp + 0x28]
call dword [0x4150cc]
push dword [esp + 0x10]
call dword [0x4150cc]
mov eax, dword [0x41504c]
push 0x208
push 0x40
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0040e973
test esi, esi
je 0x40b5b7
push 0x4137fc
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40ae0e
push 0x413808
call ebx
push dword [esp + 0x14]
call dword [0x411020]
push 0x413814
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
push 0x413820
push 1
push 0
call edi
push 0x413830
mov dword [esp + 0x18], eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ae63
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
mov ebx, dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
push 0x41383c
push 0x413848
call ebx
jmp 0x40ae85
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x413854
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
push 0x413860
push 1
push 0
call edi
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
call dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
push eax
push 0x373
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.kernel32.dll_]
push 0x413870
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.0040c25a
push dword [0x415514]
mov eax, dword [0x415190]
and dword [esp + 0x14], 0
push esi
call eax
test eax, eax
je 0x40aefc
sub eax, esi
sar eax, 1
mov dword [esp + 0x10], eax
jmp 0x40af04
push 0xffffffffffffffff
call dword [0x41502c]
mov eax, dword [0x41504c]
push 0x100
push 0x40
call eax
mov dword [esp + 0x18], eax
mov eax, dword [0x415090]
push esi
call eax
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
add eax, 6
mov ecx, esi
push eax
call fcn.0040ef56
pop ecx
pop ecx
test eax, eax
jne 0x40af40
push 0xfffffffffffffffe
call dword [0x41502c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
call fcn.0040f343
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
call dword [0x4150cc]
mov eax, dword [0x41504c]
mov esi, 0x208
push esi
push 0x40
call eax
push dword [esp + 0x1c]
mov ecx, dword [0x415144]
push eax
call ecx
mov edx, dword [0x4152a8]
mov ecx, eax
call fcn.0040f343
mov edx, dword [0x415448]
mov ecx, eax
call fcn.0040f343
mov ecx, dword [0x41504c]
push esi
push 0x40
mov dword [esp + 0x30], eax
call ecx
push dword [esp + 0x1c]
mov ecx, dword [0x415144]
push eax
call ecx
mov edx, dword [0x4152a8]
mov ecx, eax
call fcn.0040f343
mov edx, dword [0x415570]
mov ecx, eax
call fcn.0040f343
push dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call dword [0x4150dc]
mov ecx, dword [0x41504c]
push 0x5000
push 0x40
call ecx
push 0x2800
mov esi, eax
push esi
push dword [0x41537c]
call dword [0x415164]
mov edx, dword [0x415200]
mov ecx, esi
call fcn.0040f343
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.0040f343
mov esi, eax
push esi
push dword [0x41537c]
call dword [0x415168]
push esi
call dword [0x4150cc]
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x28]
call fcn.0040db9f
push dword [esp + 0x14]
mov eax, dword [0x41503c]
call eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x40b399
push 0x41387c
push 1
push 0
call edi
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0x41388c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x413898
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
lea eax, [esp + 0x7e8]
push eax
push 0x4138a4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
push 0x4138b0
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]
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
push 0x4138bc
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
je 0x40b100
push eax
call dword [0x411020]
push 0x4138c8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x40b117
push 0x4138d4
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x4138e0
push 0x4138ec
call ebx
push 0xf77
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x4138f8
push 0x413904
call ebx
push 0x413910
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
mov ecx, dword [esp + 0x24]
call fcn.00405337
push 0x413920
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
call esi
call esi
push 0x1f9
xor esi, esi
push esi
call dword [sym.imp.kernel32.dll_LocalAlloc]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x41392c
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x413938
push 1
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push 1
push esi
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
test eax, eax
je 0x40b1ce
push 0x413948
push 0x413954
call ebx
push 0x413960
push 0
push 1
push 0
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 0x41396c
push 1
push 0
call edi
mov esi, dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push eax
call esi
push 0x41397c
push 1
push 0
call edi
mov dword [esp + 0x10], eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b223
push eax
call esi
xor eax, eax
push eax
push 0xc99
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push 0x41398c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
call dword [sym.imp.kernel32.dll_]
push 0x413998
push 0x4139a4
call ebx
lea eax, [esp + 0x928]
push eax
push 0x4139b0
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.004052ac
mov dword [esp], 0x4139bc
xor esi, esi
push 1
push esi
call edi
test eax, eax
je 0x40b2c2
push eax
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push 0x4139cc
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
jmp 0x40b2ce
push 0x4139d8
push 0x4139e4
call ebx
push 0x4139f0
push 1
push esi
call edi
push 0x413a00
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
push 0x413a0c
push 0x413a18
call ebx
push 0x413a24
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, [esp + 0xa68]
push eax
push 0x413a30
call dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call dword [sym.imp.kernel32.dll_pd_3JD9_w_8]
push 0x413a3c
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll____TEg_Td:kJ__FfFpIDL_]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_ResetEvent]
push 0x413a48
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 0x40b377
push 0x413a58
push 0x413a64
jmp 0x40b381
push 0x413a70
push 0x413a7c
call ebx
push esi
push 0x106e
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov esi, dword [esp + 0x20]
push dword [esp + 0x28]
mov eax, dword [0x41503c]
call eax
mov ebx, eax
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x40b3fa
mov ecx, dword [0x41504c]
push 0x208
push 0x40
call ecx
push 0
push 0x1a
push eax
push 0
mov dword [esp + 0x20], eax
call dword [0x4150c8]
mov ecx, ebx
call fcn.00408ba4
test eax, eax
je 0x40b3ef
push 0
push ebx
mov ebx, dword [esp + 0x18]
mov edx, ebx
push esi
mov ecx, ebx
call fcn.004088ff
add esp, 0xc
jmp 0x40b3f3
mov ebx, dword [esp + 0x10]
push ebx
call dword [0x4150cc]
mov ebx, dword [esp + 0x24]
mov edx, esi
mov ecx, ebx
call fcn.00410076
mov edx, esi
mov ecx, ebx
call fcn.0041046f
mov edx, esi
mov ecx, ebx
call fcn.00407b95
push esi
push ebx
call fcn.0040ccbd
mov edx, esi
mov ecx, ebx
call fcn.0040de69
mov edx, esi
mov ecx, ebx
call fcn.00407564
mov eax, dword [0x415090]
mov esi, dword [0x41504c]
push ebx
call eax
add eax, eax
push eax
push 0x40
call esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0040c658
test eax, eax
jle 0x40b467
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.0040c6f3
push dword [esp + 0x18]
call dword [0x4150cc]
push 0x413a88
push 1
push 0
call edi
push 0x413a98
mov esi, eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
test esi, esi
je 0x40b4b5
push esi
call dword [sym.imp.kernel32.dll_CancelWaitableTimer]
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x20019
xor edi, edi
push edi
push 0x413aa4
push 0x80000001
call esi
jmp 0x40b4bd
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
xor edi, edi
push 0x413ab0
push 1
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
push edi
push 1
push eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
test eax, eax
je 0x40b4f1
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push 0x413ac0
push 0x80000001
call esi
push edi
push 0xffd
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
push eax
call dword [sym.imp.kernel32.dll_]
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
push 0x413acc
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40b54d
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push 0x413ad8
push 0x80000001
call esi
push dword [esp + 0x10]
call dword [0x411020]
jmp 0x40b567
call edi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push 0x413ae4
push 0x80000001
call esi
mov ecx, ebx
call fcn.00409f34
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40b57d
push eax
call dword [0x415148]
mov esi, dword [esp + 0x28]
push esi
call dword [0x4150f8]
push esi
call dword [0x4150cc]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40b59e
push eax
call dword [0x415148]
mov esi, dword [esp + 0x14]
push esi
call dword [0x4150f8]
push esi
call dword [0x4150cc]
push ebx
call dword [0x4150cc]
push dword [esp + 0x1c]
call dword [0x4150cc]
push dword [esp + 0x20]
call dword [0x4150cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret