Function at 0x53fc08
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffdb4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53fed2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x53fc41
mov eax, dword [ebp - 4]
call fcn.0053f1ec
jmp 0x53fc48
push ebp
call fcn.0053fb54
pop ecx
lea eax, [ebp - 0x1148]
xor ecx, ecx
mov edx, 0x1000
call fcn.00402f1c
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x1148]
mov edx, 0x400
call fcn.004c79e0
test eax, eax
je 0x53fdb1
xor edx, edx
push ebp
push 0x53fdaa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
shr eax, 2
dec eax
test eax, eax
jl 0x53fd9c
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1148]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
jbe 0x53fd8f
cmp byte [ebp - 5], 0
jne 0x53fccc
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0053f220
test al, al
jne 0x53fd8f
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x53fd8f
xor eax, eax
push ebp
push 0x53fd88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x124c]
xor ecx, ecx
mov edx, 0x104
call fcn.00402f1c
lea eax, [ebp - 0x18]
call fcn.00404574
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0053ff68
test al, al
je 0x53fd71
lea eax, [ebp - 0x148]
xor ecx, ecx
mov edx, 0x128
call fcn.00402f1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x18]
call fcn.00404a44
mov edx, eax
lea eax, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040a5c8
xor eax, eax
mov dword [ebp - 0x128], eax
mov cl, byte [ebp - 5]
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0053f71c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fd8f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
add dword [ebp - 0x20], 4
dec dword [ebp - 0x1c]
jne 0x53fc9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fdbb
ret
push 0x53fee0
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x53fea7
mov dword [ebp - 0x14], 0xc8
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0053f220
test al, al
jne 0x53fe97
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x53fe97
xor eax, eax
push ebp
push 0x53fe90
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00404574
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0053ff68
test al, al
je 0x53fe79
lea eax, [ebp - 0x148]
xor ecx, ecx
mov edx, 0x128
call fcn.00402f1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x18]
call fcn.00404a44
mov edx, eax
lea eax, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040a5c8
mov dword [ebp - 0x128], 1
mov cl, byte [ebp - 5]
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0053f71c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fe97
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x2711
jne 0x53fdcf
cmp byte [ebp - 5], 0
jne 0x53feb4
push ebp
call fcn.0053fb8c
pop ecx
mov eax, dword [ebp - 4]
call fcn.0053f824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fed9
lea eax, [ebp - 0x18]
call fcn.00404574
ret