Function at 0x418900
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3437
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4c84d4]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c84d4]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
call fcn.0041dc20
mov esi, eax
lea edi, [ebp + 0x5c]
mov eax, edi
call fcn.00440a90
mov eax, dword [ebp + 0x40]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [ebp + 0x24]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004081b0
call fcn.00440b00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
lea eax, [esi + 0x22c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004081b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
lea eax, [esi + 0x210]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004081b0
mov byte [esp + 0x13c], 1
mov ecx, dword [esi + 0x20c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 0xffffffffffffffff
lea eax, [esi + 0x1f0]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004081b0
mov edx, dword [esi + 0x1ec]
push edx
mov ecx, edi
mov dword [esp + 0x160], 0xffffffff
call fcn.00440c00
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], 3
mov eax, edi
mov dword [ebp + 0x148], 0x3c
mov dword [ebp + 0x14c], 1
call fcn.00440cf0
test eax, eax
jne 0x418aa1
mov eax, dword [ebp + 4]
push eax
push str.connect_failed._server_id_d
lea ecx, [esp + 0x94]
push 0x64
push ecx
call fcn.0047d912
add esp, 0x10
push ebx
push ebx
lea edx, [esp + 0x94]
push edx
call fcn.00469490
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0047d992
add esp, 0xf4
ret 4
cmp dword [ebp + 0x20], 0x10
jb 0x418aac
mov eax, dword [ebp + 0xc]
jmp 0x418aaf
lea eax, [ebp + 0xc]
push eax
push 0x4afa18
lea eax, [esp + 0x2c]
push 0x64
push eax
call fcn.0047d912
sub esp, 0xc
mov edi, esp
lea eax, [esp + 0x40]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [edi + 4], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418ae0
sub eax, esi
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00408ca0
mov dword [esp + 0x120], 2
call fcn.0046915a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x20]
mov eax, dword [edx + 0xa0]
push eax
mov dword [esp + 0x124], 0xffffffff
call fcn.00417020
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
lea edi, [ebp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
cmp edi, ebx
mov esi, dword [ebp + 0x54]
lea eax, [ebp + 0x50]
je 0x418b43
cmp edi, eax
je 0x418b48
call fcn.0047ecbf
cmp dword [esp + 0x18], esi
je 0x418a77
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x40]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x418b70
sub eax, ecx
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.00408ca0
sub esp, 0x1c
mov dword [esp + 0x13c], 3
mov ecx, esp
mov dword [esp + 0x58], esp
push 8
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4afa28
mov byte [ecx + 4], bl
call fcn.00408ca0
cmp edi, ebx
mov byte [esp + 0x13c], 4
jne 0x418bc6
call fcn.0047ecbf
mov esi, dword [esp + 0x50]
cmp esi, dword [edi + 4]
jne 0x418bd4
call fcn.0047ecbf
call fcn.0046915a
mov ecx, dword [ebp + 4]
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xc]
mov eax, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x90]
push edx
push ecx
mov dword [esp + 0x148], 0xffffffff
call fcn.0042d390
lea esi, [esp + 0x14]
call fcn.00407400
mov edi, dword [esp + 0x14]
jmp 0x418b35