Function at 0x52807e
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0x8b0
push 0x634950
call fcn.0056ca20
mov esi, 0x643690
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x64368c], 0
jne 0x52852a
cmp dword [0x643684], 0
je 0x52852a
mov dword [0x64368c], 1
mov eax, dword [0x6438b4]
test eax, eax
je 0x5280df
push dword [ebp + 8]
call eax
pop ecx
test eax, eax
je 0x5280df
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
jmp 0x52852c
mov eax, dword [0x643658]
test eax, eax
je 0x5280ea
call eax
xor ebx, ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x2c], ebx
mov eax, dword [0x643668]
test eax, eax
je 0x528130
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 2
call eax
test eax, eax
js 0x528130
xor esi, esi
inc esi
cmp dword [ebp - 0x20], esi
jne 0x528130
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0052937c
pop ecx
push dword [ebp - 0x2c]
mov ecx, 0x643668
call fcn.00529448
mov dword [ebp - 0x30], ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x643684]
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x20], eax
mov eax, dword [0x643684]
mov edx, dword [ebp + 8]
mov dword [eax + 0x34c], edx
mov edi, dword [0x643684]
add edi, 0x30
push 0x14
pop ecx
mov esi, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x643684]
sub edi, 0xffffff80
mov ecx, 0xb3
mov esi, dword [edx + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x60c5e0
cmp dword [ebp + 0xc], ebx
cmovne ecx, dword [ebp + 0xc]
mov eax, dword [0x643684]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x643684]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x643684]
test byte [ecx + 4], 4
je 0x5281af
mov eax, ebx
jmp 0x5281bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x643684]
mov dword [ecx + 0x5fc], eax
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
push ebx
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x52820c
push 2
xor esi, esi
inc esi
push esi
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x24]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov esi, eax
cmp dword [ebp - 0x20], ebx
je 0x5284e7
test esi, esi
je 0x5284e7
cmp word [0x6436a8], bx
je 0x5284e7
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
call fcn.00528e7a
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
inc ecx
jmp 0x528251
mov eax, dword [0x643684]
test byte [eax + 4], 0x10
je 0x528319
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c0], 0x428
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x5282fd
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x4a0]
push eax
call fcn.00591f65
lea eax, [ebp - 0x4a0]
push eax
call fcn.00528ab2
pop ecx
pop ecx
test eax, eax
jne 0x5282d2
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x4a8]
push dword [ebp - 0x4a4]
call fcn.00528aef
add esp, 0xc
mov dword [ebp - 4], esi
jmp 0x5282ea
lea eax, [ebp - 0x4c0]
push eax
push dword [ebp - 0x34]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x528292
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
jmp 0x528319
mov esi, dword [ebp + 8]
test esi, esi
je 0x528341
push 8
push esi
call fcn.00527efe
push 0x50
push dword [esi]
call fcn.00527efe
push 0x2cc
push dword [esi + 4]
call fcn.00527efe
add esp, 0x18
push 0x400
push ebx
lea eax, [ebp - 0x8c0]
push eax
call fcn.00573610
add esp, 0xc
push dword [0x643688]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x643684]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x6436a8
push str.__s___buginfo:_p:_p:_p:_lu__extinfo:_p
push 0x200
lea eax, [ebp - 0x8c0]
push eax
call fcn.0052a0e3
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x98], 0x44
push 0x40
push ebx
lea eax, [ebp - 0x94]
push eax
call fcn.00573610
add esp, 0x30
xor eax, eax
inc eax
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x68], ax
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
push ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push ebx
push ebx
lea eax, [ebp - 0x8c0]
push eax
mov edi, 0x6436a8
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x52842a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
movzx ecx, byte [ebp - 0x19]
xor edx, edx
inc edx
cmp eax, edx
cmove ecx, edx
mov byte [ebp - 0x19], cl
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
jmp 0x5284d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp byte [0x643940], 0
je 0x5284d8
cmp dword [0x6438fc], 0
je 0x5284d8
mov al, byte [0x643900]
cmp byte [0x6438c6], 0
je 0x528466
cmp al, 4
jae 0x528462
test al, al
jne 0x528499
mov al, 1
jmp 0x52849b
cmp al, 4
jae 0x52846e
test al, al
jne 0x528499
mov ecx, dword [0x6438ec]
mov esi, SysReAllocString
and ecx, esi
mov eax, ebx
or eax, ecx
je 0x528499
mov ecx, dword [0x6438f4]
mov eax, ecx
and eax, esi
cmp ebx, dword [0x6438f0]
jne 0x528499
cmp eax, ecx
mov al, 1
je 0x52849b
mov al, bl
test al, al
je 0x5284d8
push 0x60c5e0
lea eax, [ebp - 0x8c0]
push eax
push edi
push ebx
push edx
push ebx
push ebx
push 0x1f6
push 0x1fba
push 0x5e464c
push 0x5e4750
push dword [0x6438d4]
push dword [0x6438d0]
call fcn.00529f5c
add esp, 0x34
cmp dword [ebp - 0x28], 0
je 0x5284e7
push dword [ebp - 0x28]
call fcn.0057e74c
pop ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5284f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x64365c]
test eax, eax
je 0x528500
call eax
cmp byte [ebp - 0x19], 0
jne 0x52850f
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x52852a
mov byte [0x643681], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret