Function at 0x464ae0
Capabilities:
Get number of processors
Get process heap force flags
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4d2748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebx, ecx
push 1
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.004a2dfe
xor ebp, ebp
mov dword [esp + 0x28], ebp
cmp dword [ebx + 0x30], ebp
jne 0x464b38
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a2da4
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push esi
push edi
push 0x4d9fdc
push 0x534540
xor eax, eax
call fcn.00478d50
push 0x3ec2
push 0x534540
mov eax, 1
call fcn.00478c60
add esp, 0x10
mov ecx, 0x512990
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x38], ebp
call fcn.00461800
mov eax, dword [0x5129cc]
mov esi, eax
push ebp
add eax, 8
call fcn.004707a0
push ebp
lea eax, [esi + 0x1024]
call fcn.004707a0
mov edi, dword [0x5129d0]
call fcn.00466880
lea ecx, [esp + 0x1c]
call fcn.004a2da4
cmp dword [ebx + 0x40], ebp
je 0x464c13
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
nop
mov eax, dword [ebx + 0x40]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x464be6
cmp dword [esp + 0x14], 0x103
jne 0x464be6
push 0x64
call edi
dec esi
cmp esi, ebp
jg 0x464bc0
cmp esi, ebp
jne 0x464c10
mov ecx, dword [ebx + 0x40]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.WARNING:_Terminating_CNetwork_thread.
push 0x534540
mov eax, 3
call fcn.00478d50
add esp, 8
push 0x64
call edi
mov dword [ebx + 0x40], ebp
mov edi, 0x5118f0
call fcn.00449330
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.004a2d8f
mov ecx, 0x512990
call fcn.00461800
mov eax, dword [0x5129cc]
mov esi, eax
push ebp
add eax, 8
call fcn.004707a0
push ebp
lea eax, [esi + 0x1024]
call fcn.004707a0
mov eax, dword [0x5129d0]
mov esi, dword [eax + 8]
cmp esi, ebp
mov edi, eax
je 0x464c7d
lea esp, [esp]
cmp esi, ebp
mov eax, esi
je 0x464da8
mov ecx, dword [eax + 8]
cmp ecx, ebp
mov esi, dword [esi]
je 0x464c79
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebp
jne 0x464c60
lea ecx, [edi + 4]
call fcn.004bce50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x505c40
mov dword [edi + 0x20], eax
call fcn.004166e0
mov esi, dword [ebx + 4]
push ebp
lea eax, [esi + 8]
call fcn.004707a0
push ebp
lea eax, [esi + 0x1024]
call fcn.004707a0
mov esi, dword [ebx + 8]
push ebp
lea eax, [esi + 8]
call fcn.004707a0
push ebp
lea eax, [esi + 0x1024]
call fcn.004707a0
mov eax, dword [ebx + 0x54]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x464d41
mov ebp, dword [sym.imp.WS2_32.dll_WSACancelAsyncRequest]
lea edi, [ebx + 0x48]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004be0d6
mov eax, dword [esp + 0x18]
push eax
call ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
test esi, esi
je 0x464d2c
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x464d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.004be908
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004acb33
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x464ce0
lea ecx, [ebx + 0x48]
call fcn.004bdfb9
lea ecx, [esp + 0x1c]
call fcn.004a2da4
mov ebx, 0x511678
call fcn.0041a7c0
push 0x3ec3
push 0x534540
mov eax, 1
call fcn.00478c60
push 0x4d9fdc
push 0x534540
xor eax, eax
call fcn.00478d50
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.004a2da4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
jmp fcn.004bcac3