Function at 0x4537cc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4537d4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x453a33
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4539e3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
push eax
mov eax, ebx
call fcn.00453780
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x82c]
cmp byte [eax + 0x6e], 0
je 0x453825
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539ed
push 0xa
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
call fcn.00407118
push eax
push 0x48dfb8
push ebx
mov eax, dword [ebx]
call dword [eax]
test eax, 0x80000000
sete al
test al, al
jne 0x45385e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539ed
lea eax, [ebp - 0x14]
call fcn.00407118
push eax
push 5
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, 0x80000000
sete al
test al, al
jne 0x45388b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539ed
lea eax, [ebp - 0x10]
call fcn.00407118
jmp 0x4539b1
xor eax, eax
push ebp
push 0x4539a7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x18], 0
jne 0x4538b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539b1
lea eax, [ebp - 4]
call fcn.00407118
push eax
mov eax, dword [0x48e8c8]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax]
mov esi, eax
test esi, 0x80000000
sete bl
test bl, bl
jne 0x4538ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539b1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
mov edi, eax
test edi, 0x80000000
sete byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
jne 0x453918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539b1
lea eax, [ebp - 8]
call fcn.00407118
push eax
mov eax, dword [0x48e8a8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax]
mov dword [ebp - 0x24], eax
test byte [ebp - 0x21], 0x80
sete byte [ebp - 0x25]
cmp byte [ebp - 0x25], 0
jne 0x45394a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539b1
mov eax, dword [ebp + 8]
add eax, 0xfffff7e4
call fcn.00405be8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x81c]
call fcn.00405694
mov eax, dword [ebp - 0x2c]
call fcn.0040589c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004537cc
pop ecx
push 0xa
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539b1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
call fcn.00407118
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x453898
lea eax, [ebp - 0x14]
call fcn.00407118
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4539ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453a3a
lea eax, [ebp - 0x2c]
call fcn.0040540c
lea eax, [ebp - 0x18]
call fcn.00407118
lea eax, [ebp - 0x14]
call fcn.00407118
lea eax, [ebp - 0x10]
call fcn.00407118
lea eax, [ebp - 0xc]
call fcn.00407118
lea eax, [ebp - 8]
call fcn.00407118
lea eax, [ebp - 4]
call fcn.00407118
ret