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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50c], ecx
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50c]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x2710
ja 0x4c267f
mov edx, dword [ebp - 0x50c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x30]
jae 0x4c2734
push 1
push 2
lea ecx, [ebp - 0x15c]
call fcn.0040b040
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x612158
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x15c]
call fcn.004094f0
mov dword [ebp - 0x510], eax
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x514], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x514]
call fcn.0040be10
push eax
push 0x61216c
push 0x2a
push 0x612184
push 0x801
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00409dd0
mov ecx, dword [ebp - 0x50c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
mov dword [ebp - 0xb4], 0
push 0
call fcn.004d9640
add esp, 4
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x50c]
cmp dword [eax + 0x48], 0
je 0x4c2833
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
mov eax, dword [ebp - 0xd8]
cmp eax, dword [edx + 0x44]
jl 0x4c2833
jg 0x4c279c
mov ecx, dword [ebp - 0x518]
mov edx, dword [ebp - 0xdc]
cmp edx, dword [ecx + 0x40]
jbe 0x4c2833
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.004d9620
add esp, 8
mov dword [ebp - 0x180], 6
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x188], 0
lea edx, [ebp - 0x188]
push edx
call fcn.004c2e60
add esp, 4
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x160]
jg 0x4c2813
jl 0x4c2809
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0x164]
jae 0x4c2813
mov dword [ebp - 0xb4], 3
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx + 0x40]
add eax, 0x15180
mov ecx, dword [edx + 0x44]
adc ecx, 0
mov edx, dword [ebp - 0x50c]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [ebp - 0xb8], 0
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
lea ecx, [ebp - 0xad]
call fcn.005901e0
test eax, eax
jne 0x4c2888
cmp dword [ebp - 0xb8], 0x20000000
jbe 0x4c2888
mov ecx, dword [0x663c44]
add ecx, 1
mov dword [0x663c44], ecx
cmp dword [0x663c44], 2
jle 0x4c2888
mov dword [ebp - 0xb4], 1
lea ecx, [ebp - 0xac]
call fcn.004157b0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00518350
mov byte [ebp - 4], 3
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0051a1e0
test eax, eax
je 0x4c28d9
cmp dword [ebp - 0x1c], 0x1388
jb 0x4c28d9
mov dword [ebp - 0xb4], 2
cmp dword [ebp - 0xb4], 0
je 0x4c2df7
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x21c], 0
push 0x63
push 0
lea eax, [ebp - 0x21b]
push eax
call fcn.005b5540
add esp, 0xc
mov dword [ebp - 0x194], 0x64
push 1
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x190]
push eax
push 0x6121a0
push 0x6121ac
push reloc.WS2_32.dll_bind
call fcn.004fff40
add esp, 0x1c
test eax, eax
je 0x4c2a16
push 1
mov ecx, dword [ebp - 0x194]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 1
push 0x6121bc
push 0x6121cc
push reloc.WS2_32.dll_bind
call fcn.005007f0
add esp, 0x1c
test eax, eax
jne 0x4c2a11
push 1
push 2
lea ecx, [ebp - 0x31c]
call fcn.0040b040
mov byte [ebp - 4], 4
push 0x6121dc
lea eax, [ebp - 0x31c]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x31c]
call fcn.004094f0
mov dword [ebp - 0x51c], eax
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x520], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x520]
call fcn.0040be10
push eax
push 0x6121fc
push 0x6a
push 0x612214
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x45c]
call fcn.0040bf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31c]
call fcn.00409dd0
jmp 0x4c2aac
push 1
push 2
lea ecx, [ebp - 0x39c]
call fcn.0040b040
mov byte [ebp - 4], 6
push 0x612230
lea eax, [ebp - 0x39c]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.004094f0
mov dword [ebp - 0x524], eax
mov edx, dword [ebp - 0x524]
mov dword [ebp - 0x528], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x528]
call fcn.0040be10
push eax
push 0x61224c
push 0x6f
push 0x612264
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x478]
call fcn.0040bf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x39c]
call fcn.00409dd0
lea eax, [ebp - 0x494]
push eax
call fcn.00514b80
add esp, 4
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov byte [ebp - 4], 8
push str.ywsmpexcp.dat
mov edx, dword [ebp - 0x530]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.00404a60
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x494]
call fcn.0040bf30
mov dword [ebp - 0x18c], 1
push 1
push 2
lea ecx, [ebp - 0x29c]
call fcn.0040b040
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.00500f90
add esp, 8
mov dword [ebp - 0x534], eax
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x538], edx
mov byte [ebp - 4], 0xc
push 0x612290
mov eax, dword [ebp - 0x538]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4b0]
call fcn.0040bf30
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x53c], edx
cmp dword [ebp - 0x53c], 1
je 0x4c2b9e
cmp dword [ebp - 0x53c], 2
je 0x4c2bd6
cmp dword [ebp - 0x53c], 3
je 0x4c2c05
jmp 0x4c2c23
push str._MB.
mov eax, dword [ebp - 0xb8]
shr eax, 0xa
shr eax, 0xa
push eax
push 0x6122b0
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
jmp 0x4c2c23
push 0x6122bc
mov edx, dword [ebp - 0x1c]
push edx
push 0x6122c4
lea eax, [ebp - 0x29c]
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
jmp 0x4c2c23
push 0x6122d4
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409b60
add esp, 8
mov dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0
je 0x4c2cf3
push 0x6122f4
lea ecx, [ebp - 0x1b0]
call fcn.0040be10
push eax
call fcn.005b1ae9
add esp, 8
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
je 0x4c2cf3
lea edx, [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0x29c]
call fcn.004094f0
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x544], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x544]
call fcn.0040be10
push eax
push 0x6122f8
mov ecx, dword [ebp - 0x3a0]
push ecx
call fcn.005b1de3
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4cc]
call fcn.0040bf30
mov edx, dword [ebp - 0x3a0]
push edx
call fcn.005b1fa4
add esp, 4
push str.AgentRptexception
lea ecx, [ebp - 0x1b0]
call fcn.0040be10
push eax
call fcn.00508b30
add esp, 8
test eax, eax
je 0x4c2cf3
lea ecx, [ebp - 0x1b0]
call fcn.0040be10
push eax
call fcn.00504080
add esp, 4
push 1
push 2
lea ecx, [ebp - 0x424]
call fcn.0040b040
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004094f0
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp - 0x548]
mov dword [ebp - 0x54c], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x54c]
call fcn.0040be10
push eax
lea edx, [ebp - 0x424]
push edx
call fcn.00409b60
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e8]
call fcn.0040bf30
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x424]
call fcn.004094f0
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x554], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x554]
call fcn.0040be10
push eax
push str.CSExceptionMonitor::Svc
push 0x97
push str..CSExceptionMonitor.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x504]
call fcn.0040bf30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x424]
call fcn.00409dd0
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 - 0x29c]
call fcn.00409dd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b0]
call fcn.0040bf30
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x50c]
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x508], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.0040ef60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00415730
mov eax, dword [ebp - 0x508]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b1988
mov esp, ebp
pop ebp
ret