Function at 0x4c8610
Capabilities:
Get number of processors
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x66d4f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x534], ecx
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x534]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x2710
ja 0x4c866f
mov edx, dword [ebp - 0x534]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x30]
jae 0x4c8724
push 1
push 2
lea ecx, [ebp - 0x184]
call fcn.0040a750
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x61ffdc
lea ecx, [ebp - 0x184]
push ecx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea edx, [ebp - 0x468]
push edx
lea ecx, [ebp - 0x184]
call fcn.00408c00
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x53c]
call fcn.0040b520
push eax
push 0x61fff0
push 0x2a
push 0x620008
push 0x801
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.004094e0
mov ecx, dword [ebp - 0x534]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
mov dword [ebp - 0xdc], 0
push 0
call fcn.0048b1f0
add esp, 4
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x534]
cmp dword [eax + 0x48], 0
je 0x4c8823
mov ecx, dword [ebp - 0x534]
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x540]
mov eax, dword [ebp - 0x100]
cmp eax, dword [edx + 0x44]
jl 0x4c8823
jg 0x4c878c
mov ecx, dword [ebp - 0x540]
mov edx, dword [ebp - 0x104]
cmp edx, dword [ecx + 0x40]
jbe 0x4c8823
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.004c8e80
add esp, 8
mov dword [ebp - 0x1a8], 6
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b0], 0
lea edx, [ebp - 0x1b0]
push edx
call fcn.004c8e60
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x188]
jg 0x4c8803
jl 0x4c87f9
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [ebp - 0x18c]
jae 0x4c8803
mov dword [ebp - 0xdc], 3
mov edx, dword [ebp - 0x534]
mov eax, dword [edx + 0x40]
add eax, 0x15180
mov ecx, dword [edx + 0x44]
adc ecx, 0
mov edx, dword [ebp - 0x534]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
lea ecx, [ebp - 0xd5]
call fcn.0059bd80
test eax, eax
jne 0x4c8878
cmp dword [ebp - 0xe0], 0x20000000
jbe 0x4c8878
mov ecx, dword [0x673dfc]
add ecx, 1
mov dword [0x673dfc], ecx
cmp dword [0x673dfc], 2
jle 0x4c8878
mov dword [ebp - 0xdc], 1
lea ecx, [ebp - 0xd4]
call fcn.004155f0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.0052d7b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0xf8]
call fcn.0052f640
test eax, eax
je 0x4c88c9
cmp dword [ebp - 0x28], 0x1388
jb 0x4c88c9
mov dword [ebp - 0xdc], 2
cmp dword [ebp - 0xdc], 0
je 0x4c8de7
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 0x244], 0
push 0x63
push 0
lea eax, [ebp - 0x243]
push eax
call fcn.005c0cf0
add esp, 0xc
mov dword [ebp - 0x1bc], 0x64
push 1
lea ecx, [ebp - 0x1bc]
push ecx
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x1b8]
push eax
push 0x620024
push 0x620030
push reloc.WS2_32.dll_bind
call fcn.00507510
add esp, 0x1c
test eax, eax
je 0x4c8a06
push 1
mov ecx, dword [ebp - 0x1bc]
push ecx
lea edx, [ebp - 0x244]
push edx
push 1
push 0x620040
push 0x620050
push reloc.WS2_32.dll_bind
call fcn.00508170
add esp, 0x1c
test eax, eax
jne 0x4c8a01
push 1
push 2
lea ecx, [ebp - 0x344]
call fcn.0040a750
mov byte [ebp - 4], 4
push 0x620060
lea eax, [ebp - 0x344]
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0x344]
call fcn.00408c00
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x548], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x548]
call fcn.0040b520
push eax
push 0x620080
push 0x6a
push 0x620098
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x484]
call fcn.0040b640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x344]
call fcn.004094e0
jmp 0x4c8a9c
push 1
push 2
lea ecx, [ebp - 0x3c4]
call fcn.0040a750
mov byte [ebp - 4], 6
push 0x6200b4
lea eax, [ebp - 0x3c4]
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x4a0]
push ecx
lea ecx, [ebp - 0x3c4]
call fcn.00408c00
mov dword [ebp - 0x54c], eax
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x550]
call fcn.0040b520
push eax
push 0x6200d0
push 0x6f
push 0x6200e8
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4a0]
call fcn.0040b640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c4]
call fcn.004094e0
lea eax, [ebp - 0x4bc]
push eax
call fcn.00515ac0
add esp, 4
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x558], ecx
mov byte [ebp - 4], 8
push str.ywsmpexcp.dat
mov edx, dword [ebp - 0x558]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.004041b0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4bc]
call fcn.0040b640
mov dword [ebp - 0x1b4], 1
push 1
push 2
lea ecx, [ebp - 0x2c4]
call fcn.0040a750
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x4d8]
push ecx
call fcn.00508910
add esp, 8
mov dword [ebp - 0x55c], eax
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x560], edx
mov byte [ebp - 4], 0xc
push 0x620114
mov eax, dword [ebp - 0x560]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4d8]
call fcn.0040b640
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x564], edx
cmp dword [ebp - 0x564], 1
je 0x4c8b8e
cmp dword [ebp - 0x564], 2
je 0x4c8bc6
cmp dword [ebp - 0x564], 3
je 0x4c8bf5
jmp 0x4c8c13
push str._MB.
mov eax, dword [ebp - 0xe0]
shr eax, 0xa
shr eax, 0xa
push eax
push 0x620134
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
jmp 0x4c8c13
push 0x620140
mov edx, dword [ebp - 0x28]
push edx
push 0x620148
lea eax, [ebp - 0x2c4]
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
jmp 0x4c8c13
push 0x620158
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00409270
add esp, 8
mov dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0
je 0x4c8ce3
push 0x620178
lea ecx, [ebp - 0x1d8]
call fcn.0040b520
push eax
call fcn.005bd438
add esp, 8
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x4c8ce3
lea edx, [ebp - 0x4f4]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00408c00
mov dword [ebp - 0x568], eax
mov eax, dword [ebp - 0x568]
mov dword [ebp - 0x56c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x56c]
call fcn.0040b520
push eax
push 0x62017c
mov ecx, dword [ebp - 0x3c8]
push ecx
call fcn.005bd732
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4f4]
call fcn.0040b640
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.005bd8f3
add esp, 4
push str.AgentRptexception
lea ecx, [ebp - 0x1d8]
call fcn.0040b520
push eax
call fcn.005138e0
add esp, 8
test eax, eax
je 0x4c8ce3
lea ecx, [ebp - 0x1d8]
call fcn.0040b520
push eax
call fcn.0050ba00
add esp, 4
push 1
push 2
lea ecx, [ebp - 0x44c]
call fcn.0040a750
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00408c00
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x574], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x574]
call fcn.0040b520
push eax
lea edx, [ebp - 0x44c]
push edx
call fcn.00409270
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x510]
call fcn.0040b640
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00408c00
mov dword [ebp - 0x578], eax
mov ecx, dword [ebp - 0x578]
mov dword [ebp - 0x57c], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x57c]
call fcn.0040b520
push eax
push str.CSExceptionMonitor::Svc
push 0x97
push str..CSExceptionMonitor.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x52c]
call fcn.0040b640
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44c]
call fcn.004094e0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.004094e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d8]
call fcn.0040b640
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x534]
mov edx, dword [ebp - 0x534]
mov eax, dword [edx]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x530], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.0040e850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00415560
mov eax, dword [ebp - 0x530]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret