Function at 0x45d0b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2d
push 0
push 0
dec ecx
jne 0x45d0c0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x45d351
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0045c324
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x10]
call fcn.0045c344
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov dword [ebp - 8], 1
jmp 0x45d310
mov eax, dword [ebp - 0x138]
push eax
push 0
push 0x410
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040469c
cmp dword [ebp - 0x14], 0
je 0x45d1d6
mov eax, dword [ebp - 0x18]
mov edx, 0x45d368
call fcn.00404838
je 0x45d1d6
xor eax, eax
push ebp
push 0x45d1cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, 0x104
call fcn.00404a78
push 0x104
mov eax, dword [ebp - 0x18]
call fcn.004048ec
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0045c7b8
test eax, eax
jbe 0x45d1b0
mov eax, dword [ebp - 0x18]
call fcn.004048ec
call fcn.00409014
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404a78
jmp 0x45d1b8
lea eax, [ebp - 0x18]
call fcn.0040442c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d1d6
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00408ed8
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 4]
call fcn.00404838
je 0x45d22d
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x18]
call fcn.0040853c
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.0040853c
mov eax, dword [ebp - 0x14c]
pop edx
call fcn.00404a30
test eax, eax
setg bl
jmp 0x45d2d8
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040469c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00408ed8
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040853c
mov eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 4]
call fcn.0040853c
mov edx, dword [ebp - 0x15c]
pop eax
call fcn.00404838
je 0x45d2d6
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0040469c
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.0040853c
mov eax, dword [ebp - 0x160]
push eax
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.0040853c
mov edx, dword [ebp - 0x168]
pop eax
call fcn.00404838
je 0x45d2d6
xor ebx, ebx
jmp 0x45d2d8
mov bl, 1
test bl, bl
je 0x45d2f9
push 0
mov eax, dword [ebp - 0x138]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov dword [ebp - 8], eax
jmp 0x45d31a
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x10]
call fcn.0045c364
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x45d11d
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d358
lea eax, [ebp - 0x168]
mov edx, 0xa
call fcn.00404450
lea eax, [ebp - 0x18]
call fcn.0040442c
lea eax, [ebp - 4]
call fcn.0040442c
ret