Function at 0x4fd530
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0x8b0
push 0x620088
call fcn.00542000
mov esi, 0x6307f0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6307ec], 0
jne 0x4fd9dc
cmp dword [0x6307e4], 0
je 0x4fd9dc
mov dword [0x6307ec], 1
mov eax, dword [0x630a14]
test eax, eax
je 0x4fd591
push dword [ebp + 8]
call eax
pop ecx
test eax, eax
je 0x4fd591
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
jmp 0x4fd9de
mov eax, dword [0x6307b8]
test eax, eax
je 0x4fd59c
call eax
xor ebx, ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x2c], ebx
mov eax, dword [0x6307c8]
test eax, eax
je 0x4fd5e2
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 0x4fd5e2
xor esi, esi
inc esi
cmp dword [ebp - 0x20], esi
jne 0x4fd5e2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004fe82e
pop ecx
push dword [ebp - 0x2c]
mov ecx, 0x6307c8
call fcn.004fe8fa
mov dword [ebp - 0x30], ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x6307e4]
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x20], eax
mov eax, dword [0x6307e4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x34c], edx
mov edi, dword [0x6307e4]
add edi, 0x30
push 0x14
pop ecx
mov esi, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x6307e4]
sub edi, 0xffffff80
mov ecx, 0xb3
mov esi, dword [edx + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x5f9b70
cmp dword [ebp + 0xc], ebx
cmovne ecx, dword [ebp + 0xc]
mov eax, dword [0x6307e4]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x6307e4]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x6307e4]
test byte [ecx + 4], 4
je 0x4fd661
mov eax, ebx
jmp 0x4fd66d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x6307e4]
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 0x4fd6be
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 0x4fd999
test esi, esi
je 0x4fd999
cmp word [0x630808], bx
je 0x4fd999
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
call fcn.004fe32c
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
inc ecx
jmp 0x4fd703
mov eax, dword [0x6307e4]
test byte [eax + 4], 0x10
je 0x4fd7cb
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 0x4fd7af
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x4a0]
push eax
call fcn.00567545
lea eax, [ebp - 0x4a0]
push eax
call fcn.004fdf64
pop ecx
pop ecx
test eax, eax
jne 0x4fd784
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x4a8]
push dword [ebp - 0x4a4]
call fcn.004fdfa1
add esp, 0xc
mov dword [ebp - 4], esi
jmp 0x4fd79c
lea eax, [ebp - 0x4c0]
push eax
push dword [ebp - 0x34]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4fd744
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
jmp 0x4fd7cb
mov esi, dword [ebp + 8]
test esi, esi
je 0x4fd7f3
push 8
push esi
call fcn.004fd3b0
push 0x50
push dword [esi]
call fcn.004fd3b0
push 0x2cc
push dword [esi + 4]
call fcn.004fd3b0
add esp, 0x18
push 0x400
push ebx
lea eax, [ebp - 0x8c0]
push eax
call fcn.00548bf0
add esp, 0xc
push dword [0x6307e8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x6307e4]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x630808
push str.__s___buginfo:_p:_p:_p:_lu__extinfo:_p
push 0x200
lea eax, [ebp - 0x8c0]
push eax
call fcn.004ff595
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.00548bf0
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, 0x630808
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4fd8dc
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 0x4fd98a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp byte [0x630aa0], 0
je 0x4fd98a
cmp dword [0x630a5c], 0
je 0x4fd98a
mov al, byte [0x630a60]
cmp byte [0x630a26], 0
je 0x4fd918
cmp al, 4
jae 0x4fd914
test al, al
jne 0x4fd94b
mov al, 1
jmp 0x4fd94d
cmp al, 4
jae 0x4fd920
test al, al
jne 0x4fd94b
mov ecx, dword [0x630a4c]
mov esi, SysReAllocString
and ecx, esi
mov eax, ebx
or eax, ecx
je 0x4fd94b
mov ecx, dword [0x630a54]
mov eax, ecx
and eax, esi
cmp ebx, dword [0x630a50]
jne 0x4fd94b
cmp eax, ecx
mov al, 1
je 0x4fd94d
mov al, bl
test al, al
je 0x4fd98a
push 0x5f9b70
lea eax, [ebp - 0x8c0]
push eax
push edi
push ebx
push edx
push ebx
push ebx
push 0x1f6
push 0x1fba
push 0x5d0674
push 0x5d0778
push dword [0x630a34]
push dword [0x630a30]
call fcn.004ff40e
add esp, 0x34
cmp dword [ebp - 0x28], 0
je 0x4fd999
push dword [ebp - 0x28]
call fcn.00553d2a
pop ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4fd9a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6307bc]
test eax, eax
je 0x4fd9b2
call eax
cmp byte [ebp - 0x19], 0
jne 0x4fd9c1
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x4fd9dc
mov byte [0x6307e1], 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