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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de630
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x65b4e4]
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 0x4c277f
mov edx, dword [ebp - 0x50c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x30]
jae 0x4c2834
push 1
push 2
lea ecx, [ebp - 0x15c]
call fcn.0040b160
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x610ff8
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00409610
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.0040bf30
push eax
push 0x61100c
push 0x2a
push 0x611024
push 0x801
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00409ef0
mov ecx, dword [ebp - 0x50c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
mov dword [ebp - 0xb4], 0
push 0
call fcn.004f0db0
add esp, 4
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x50c]
cmp dword [eax + 0x48], 0
je 0x4c2933
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 0x4c2933
jg 0x4c289c
mov ecx, dword [ebp - 0x518]
mov edx, dword [ebp - 0xdc]
cmp edx, dword [ecx + 0x40]
jbe 0x4c2933
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.004c2f90
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.004c2f70
add esp, 4
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x160]
jg 0x4c2913
jl 0x4c2909
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0x164]
jae 0x4c2913
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.0058f1c0
test eax, eax
jne 0x4c2988
cmp dword [ebp - 0xb8], 0x20000000
jbe 0x4c2988
mov ecx, dword [0x661c44]
add ecx, 1
mov dword [0x661c44], ecx
cmp dword [0x661c44], 2
jle 0x4c2988
mov dword [ebp - 0xb4], 1
lea ecx, [ebp - 0xac]
call fcn.00414df0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.005173c0
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.00519250
test eax, eax
je 0x4c29d9
cmp dword [ebp - 0x1c], 0x1388
jb 0x4c29d9
mov dword [ebp - 0xb4], 2
cmp dword [ebp - 0xb4], 0
je 0x4c2ef7
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x21c], 0
push 0x63
push 0
lea eax, [ebp - 0x21b]
push eax
call fcn.005b4520
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 0x611040
push 0x61104c
push reloc.WS2_32.dll_bind
call fcn.004fef20
add esp, 0x1c
test eax, eax
je 0x4c2b16
push 1
mov ecx, dword [ebp - 0x194]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 1
push 0x61105c
push 0x61106c
push reloc.WS2_32.dll_bind
call fcn.004ff7d0
add esp, 0x1c
test eax, eax
jne 0x4c2b11
push 1
push 2
lea ecx, [ebp - 0x31c]
call fcn.0040b160
mov byte [ebp - 4], 4
push 0x61107c
lea eax, [ebp - 0x31c]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x31c]
call fcn.00409610
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.0040bf30
push eax
push 0x61109c
push 0x6a
push 0x6110b4
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x45c]
call fcn.0040c050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31c]
call fcn.00409ef0
jmp 0x4c2bac
push 1
push 2
lea ecx, [ebp - 0x39c]
call fcn.0040b160
mov byte [ebp - 4], 6
push 0x6110d0
lea eax, [ebp - 0x39c]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.00409610
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.0040bf30
push eax
push 0x6110ec
push 0x6f
push 0x611104
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x478]
call fcn.0040c050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x39c]
call fcn.00409ef0
lea eax, [ebp - 0x494]
push eax
call fcn.00513b50
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.00404a40
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x494]
call fcn.0040c050
mov dword [ebp - 0x18c], 1
push 1
push 2
lea ecx, [ebp - 0x29c]
call fcn.0040b160
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.004fff70
add esp, 8
mov dword [ebp - 0x534], eax
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x538], edx
mov byte [ebp - 4], 0xc
push 0x611130
mov eax, dword [ebp - 0x538]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4b0]
call fcn.0040c050
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x53c], edx
cmp dword [ebp - 0x53c], 1
je 0x4c2c9e
cmp dword [ebp - 0x53c], 2
je 0x4c2cd6
cmp dword [ebp - 0x53c], 3
je 0x4c2d05
jmp 0x4c2d23
push str._MB.
mov eax, dword [ebp - 0xb8]
shr eax, 0xa
shr eax, 0xa
push eax
push 0x611150
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
jmp 0x4c2d23
push 0x61115c
mov edx, dword [ebp - 0x1c]
push edx
push 0x611164
lea eax, [ebp - 0x29c]
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
jmp 0x4c2d23
push 0x611174
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409c80
add esp, 8
mov dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0
je 0x4c2df3
push 0x611194
lea ecx, [ebp - 0x1b0]
call fcn.0040bf30
push eax
call fcn.005b0ac9
add esp, 8
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
je 0x4c2df3
lea edx, [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0x29c]
call fcn.00409610
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.0040bf30
push eax
push 0x611198
mov ecx, dword [ebp - 0x3a0]
push ecx
call fcn.005b0dc3
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4cc]
call fcn.0040c050
mov edx, dword [ebp - 0x3a0]
push edx
call fcn.005b0f84
add esp, 4
push str.AgentRptexception
lea ecx, [ebp - 0x1b0]
call fcn.0040bf30
push eax
call fcn.00507b10
add esp, 8
test eax, eax
je 0x4c2df3
lea ecx, [ebp - 0x1b0]
call fcn.0040bf30
push eax
call fcn.00503060
add esp, 4
push 1
push 2
lea ecx, [ebp - 0x424]
call fcn.0040b160
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00409610
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.0040bf30
push eax
lea edx, [ebp - 0x424]
push edx
call fcn.00409c80
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e8]
call fcn.0040c050
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x424]
call fcn.00409610
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.0040bf30
push eax
push str.CSExceptionMonitor::Svc
push 0x97
push str..CSExceptionMonitor.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x504]
call fcn.0040c050
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x424]
call fcn.00409ef0
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.00409ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b0]
call fcn.0040c050
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.0040f090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00414d70
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.005b0968
mov esp, ebp
pop ebp
ret