Function at 0x40c15a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
xor eax, eax
mov dword [ebp - 0x48], 1
push esi
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
call dword [0x415158]
push dword [0x41548c]
mov ebx, eax
mov eax, dword [0x41503c]
mov dword [ebp - 0x18], ebx
call eax
push dword [0x41538c]
mov esi, eax
mov eax, dword [0x41503c]
call eax
push dword [0x415464]
mov edi, eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x415290]
mov dword [0x4151a0], eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x415298]
mov dword [0x415120], eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x4154b0]
mov dword [0x41516c], eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x415420]
mov dword [0x41517c], eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x415370]
mov dword [0x41513c], eax
mov eax, dword [0x4150d8]
push esi
call eax
push dword [0x4153f4]
mov dword [0x41515c], eax
mov eax, dword [0x4150d8]
push edi
call eax
push dword [0x415450]
mov dword [0x415010], eax
mov eax, dword [0x4150d8]
push edi
call eax
push dword [0x415350]
mov dword [0x415104], eax
mov eax, dword [0x4150d8]
push edi
call eax
push dword [0x415400]
mov dword [0x415058], eax
mov eax, dword [0x4150d8]
push edi
call eax
push dword [0x41559c]
mov dword [0x415094], eax
mov eax, dword [0x4150d8]
push edi
call eax
push dword [0x415314]
mov dword [0x4150d0], eax
mov eax, dword [0x4150d8]
push edi
call eax
mov dword [0x415134], eax
mov eax, dword [0x4150d8]
push dword [0x415550]
push edi
call eax
push dword [0x415410]
mov dword [0x415064], eax
mov eax, dword [0x4150d8]
push edi
call eax
mov dword [0x415084], eax
mov eax, dword [0x41518c]
push 0
call eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x41518c]
push ebx
call eax
mov ebx, eax
mov eax, dword [0x41504c]
push 0x208
push 0x40
mov dword [ebp - 0x1c], ebx
call eax
mov dword [ebp - 8], eax
mov eax, dword [0x415058]
push ebx
call eax
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40c600
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
call dword [0x415124]
push 4
push ebx
call dword [0x415064]
mov eax, dword [0x415050]
mov edi, dword [0x415084]
push 1
call eax
mov esi, eax
mov eax, dword [0x415050]
push 0
call eax
push 0xcc0020
push esi
push eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
push eax
push ebx
call edi
test eax, eax
je 0x40c600
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov ecx, dword [0x415104]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push ebx
call ecx
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x40c603
mov edi, dword [ebp - 0x10]
push esi
push edi
call dword [0x415134]
mov eax, dword [ebp - 0x2c]
xor edx, edx
sub eax, dword [ebp - 0x34]
mov ecx, dword [0x415010]
push 0xcc0020
push edx
push edx
push ebx
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push edx
push edx
push edi
call ecx
test eax, eax
je 0x40c603
lea eax, [ebp - 0x60]
push eax
push 0x18
push esi
call dword [0x4150d0]
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x4151a0]
lea edx, [ebp - 8]
call fcn.0040f788
test eax, eax
je 0x40c63a
mov edi, dword [ebp - 8]
push ecx
push edi
push esi
call fcn.0040c02d
cmp eax, 1
jne 0x40c631
push 0xbc9
xor ebx, ebx
push ebx
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]
push str.teeol7lw0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ev_h7wl254h
push ebx
push 1
push ebx
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_pa5nd6cv
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
test eax, eax
je 0x40c434
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov eax, dword [0x41504c]
push 0x20
push 0x40
mov dword [ebp - 0xc], ebx
call eax
mov ecx, dword [0x415044]
mov ebx, eax
xor eax, eax
push eax
push eax
push 4
push eax
push 1
push 0x80000000
push edi
call ecx
mov ecx, dword [0x41504c]
push 0x30c
push 0x40
mov dword [ebp - 8], eax
call ecx
mov ecx, dword [0x41504c]
mov esi, eax
push 0x618
push 0x40
call ecx
push dword [0x4151bc]
mov ecx, dword [0x415144]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call fcn.0040f012
mov ecx, dword [0x4150e8]
xor edx, edx
push edx
push edx
push edx
push edx
push 0xffffffffffffffff
push eax
push edx
push 0xfde9
mov dword [ebp + 8], eax
call ecx
test eax, eax
je 0x40c4ea
mov ecx, dword [0x4150e8]
xor edx, edx
push edx
push edx
push eax
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push edx
push 0xfde9
call ecx
test eax, eax
je 0x40c4ea
mov dword [ebx], esi
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
and dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 1
jmp 0x40c509
push esi
call dword [0x4150cc]
mov eax, dword [ebp - 8]
push eax
call dword [0x4150c0]
push edi
call dword [0x4150f8]
push edi
call dword [0x4150cc]
push dword [ebp + 8]
call dword [0x4150cc]
mov eax, dword [0x41504c]
mov edi, 0x208
push edi
push 0x40
call eax
mov ecx, dword [0x41504c]
mov esi, eax
push edi
push 0x40
call ecx
push 0x10
pop edx
mov ecx, esi
mov edi, eax
call fcn.0040de71
push dword [0x415240]
mov ecx, dword [0x415144]
push edi
mov dword [ebp + 8], eax
call ecx
mov edi, dword [ebp + 8]
mov ecx, eax
mov edx, edi
call fcn.0040f012
mov ecx, dword [0x415234]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0040bc7d
mov ecx, dword [0x41504c]
push 0x184
push 0x40
mov dword [ebp + 8], eax
call ecx
mov ecx, dword [0x4150e8]
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call ecx
test eax, eax
je 0x40c5d6
mov ecx, dword [0x4150e8]
xor edx, edx
push edx
push edx
push eax
push esi
push 0xffffffffffffffff
push edi
push edx
push 0xfde9
call ecx
test eax, eax
je 0x40c5d6
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
mov edx, esi
push ebx
push dword [ebp - 0xc]
push 0
push 0
call fcn.0040b3da
add esp, 0x18
push esi
call dword [0x4150cc]
push dword [ebp + 8]
call dword [0x4150cc]
push dword [ebp - 8]
call dword [0x4150cc]
push edi
call dword [0x4150cc]
push ebx
call dword [0x4150cc]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
push esi
call dword [0x415094]
push dword [ebp - 0x10]
call dword [0x415094]
push dword [ebp - 0x14]
push 0
call dword [0x4150f4]
push ebx
push dword [ebp - 0x18]
call dword [0x4150f4]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
push edi
call dword [0x4150cc]
jmp 0x40c603
push dword [ebp - 8]
jmp 0x40c632