Function at 0x550990
Capabilities:
Get number of processors
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
mov eax, dword [0x688a84]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], ebx
call fcn.00551df0
mov ecx, esi
call fcn.00552870
mov ecx, esi
call fcn.00552f90
mov ecx, esi
call fcn.00552070
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x58], 3
push ecx
mov dword [ebp - 0x54], ebx
call fcn.0058acfc
lea edx, [ebp - 0x3c]
push edx
call fcn.0058acfc
add esp, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x38], ebx
je 0x550a6b
lea ecx, [esi + 0x48]
call fcn.0050d7f0
mov ecx, dword [esi + 0x150]
mov edx, dword [esi + 0x154]
lea eax, [esi + 0x20]
mov dword [esi + 0x30], ebx
push eax
push 0x1471
mov dword [eax], ecx
mov ecx, dword [esi + 0x158]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
push 0x111
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00551c80
test al, al
mov byte [ebp - 0x30], al
je 0x550a97
lea edx, [ebp - 0x64]
push edx
call fcn.0058acfc
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x15c]
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x58]
lea eax, [esi + 0x5e4]
push edx
lea ecx, [esi + 0x3e0]
push eax
lea edx, [esi + 0x1dc]
push ecx
push edx
push ebx
call sub.WSOCK32.dll_select
mov edi, eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x550add
lea ecx, [esi + 0x48]
call fcn.0050d7f0
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x15c]
or eax, ecx
jne 0x550b22
lea eax, [ebp - 0x3c]
push eax
call fcn.0058acfc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x88]
sub ecx, edx
add esp, 4
cmp ecx, 0x12c
jle 0x550b22
mov eax, 0x7532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
je 0x550b7f
cmp edi, ebx
je 0x550b7f
mov dword [esi + 0x7f0], ebx
xor edi, edi
cmp edi, dword [esi + 0x140]
jge 0x550b8c
mov ecx, dword [esi + 0x1d8]
lea edx, [edi + edi*8]
lea eax, [edi + edx*8]
shl eax, 5
add eax, edi
lea ecx, [ecx + eax*8]
cmp dword [ecx + 0x54], ebx
je 0x550b7c
cmp dword [esi + 0x38], ebx
je 0x550b77
lea ecx, [esi + 0x48]
call fcn.0050d7f0
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00548af0
inc edi
jmp 0x550b33
mov ecx, esi
call fcn.005511a0
inc dword [esi + 0x7f0]
mov edx, dword [ebp - 0x30]
mov ecx, esi
push edx
push ebx
call fcn.00552140
lea eax, [ebp - 0x7c]
push eax
call fcn.0058acfc
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
add esp, 4
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x78]
and ecx, 0xffff
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x38]
shl edx, 3
and eax, 0xffff
sub edx, eax
add edx, ecx
cmp edx, 0xfa
jl 0x550c4b
lea edx, [ebp - 0x3c]
push edx
call fcn.0058acfc
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x140]
jge 0x550c4b
mov edx, dword [esi + 0x1d8]
lea eax, [ebx + ebx*8]
lea ecx, [ebx + eax*8]
shl ecx, 5
add ecx, ebx
mov eax, dword [edx + ecx*8 + 0x54]
lea edi, [edx + ecx*8]
test eax, eax
je 0x550c48
mov eax, dword [edi + 0x70]
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x550c48
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
or edx, eax
je 0x550c48
lea eax, [edi + 0x2d0]
mov ecx, edi
push eax
call fcn.00510e90
lea eax, [edi + 0x2d0]
push eax
mov eax, dword [edi + 0x70]
push 0x13ef
push 0x111
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
inc ebx
jmp 0x550be3
mov al, byte [0x687c44]
test al, al
jne 0x550cac
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x550cac
fld qword [eax + 0x300]
fcomp qword [0x5da768]
fnstsw ax
test ah, 0x41
je 0x550c83
mov eax, dword [esi + 0x1d8]
cmp dword [eax + 0x9c], 0x64
jbe 0x550cac
mov ecx, dword [esi + 0x1d8]
mov edx, dword [ecx]
call dword [edx + 0x18]
lea ecx, [esi + 0x48]
call fcn.0050d7f0
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x30]
test al, al
je 0x550ec2
mov ecx, dword [esi + 0x15c]
mov eax, dword [esi + 0x158]
test ecx, ecx
jl 0x550ec2
jg 0x550cd8
cmp eax, 0x400
jbe 0x550ec2
mov ecx, esi
call fcn.00551c40
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x70]
push eax
mov ebx, edx
call fcn.0058acfc
mov eax, dword [esi + 0x158]
mov edi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x15c]
mov edx, dword [ebp - 0x20]
add esp, 4
sub eax, edi
sbb ecx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
js 0x550ec2
jg 0x550d1c
test eax, eax
jbe 0x550ec2
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x64]
sub eax, edx
mov edx, dword [ebp - 0x60]
and edx, 0xffff
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x6c]
and ecx, 0xffff
lea eax, [eax + eax*4]
shl eax, 3
sub eax, edx
add eax, ecx
mov dword [ebp - 0x1c], eax
jne 0x550d52
mov dword [ebp - 0x1c], 1
fild qword [ebp - 0x48]
fmul dword [0x5ddd9c]
fidiv dword [ebp - 0x1c]
call fcn.00589918
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x550ec2
jg 0x550d7a
cmp ecx, dword [ebp - 0x2c]
jbe 0x550ec2
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
sub ecx, edx
cdq
sbb edi, ebx
push edx
push eax
push edi
push ecx
call fcn.0058bcb0
mov ecx, dword [ebp - 0x2c]
push ebx
push ecx
push edx
push eax
call fcn.0058b240
mov edi, eax
mov eax, dword [esi + 0x160]
cdq
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x2c]
push 0
push 2
push ebx
push edx
mov dword [ebp - 0x18], eax
call fcn.0058b240
cmp dword [ebp - 0x14], edx
jg 0x550dd8
jl 0x550dc3
cmp dword [ebp - 0x18], eax
jae 0x550dd8
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x550e06
mov ecx, dword [ebp - 0x2c]
push 0
push 9
push ebx
push ecx
call fcn.0058bcb0
push 0
push 0xa
push edx
push eax
call fcn.0058b240
cmp dword [ebp - 0x14], edx
jg 0x550e06
jl 0x550dfd
cmp dword [ebp - 0x18], eax
jae 0x550e06
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x550e15
mov edi, 0x2ee0
jmp 0x550e1d
test edi, edi
jle 0x550ec2
mov eax, dword [esi + 0x7e8]
cmp eax, 0xffffffff
je 0x550ebb
lea ecx, [esi + 0x1dc]
lea ebx, [esi + 0x5e4]
mov dword [esi + 0x3e0], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [esi + 0x1e0], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [ebx]
cmp eax, 0x80
jae 0x550e74
mov edx, dword [esi + 0x7e8]
mov dword [esi + eax*4 + 0x5e8], edx
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0x50], edx
lea eax, [edx + edx*2]
lea edx, [edx + eax*8]
lea edx, [edx + edx*4]
shl edx, 3
sub edi, edx
lea eax, [edi + edi*2]
lea edi, [edi + eax*8]
lea eax, [ebp - 0x50]
push eax
lea eax, [esi + 0x3e0]
lea edx, [edi + edi*4]
push ebx
push eax
push ecx
shl edx, 3
push 0
mov dword [ebp - 0x4c], edx
call sub.WSOCK32.dll_select
jmp 0x550ec2
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00551220
mov edi, eax
test edi, edi
je 0x550f00
push str.Flagexit_n
mov ecx, esi
call fcn.00551f10
mov eax, dword [esi + 0x38]
test eax, eax
je 0x550f0e
lea ecx, [esi + 0x48]
call fcn.0050d7f0
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005514a0
xor ebx, ebx
jmp 0x550a08
cmp edi, 0x753c
je 0x55102c
cmp edi, 0xffffffff
je 0x55102c
mov ecx, dword [esi + 0x15c]
mov edx, dword [esi + 0x158]
mov eax, dword [0x688a88]
push ecx
push edx
lea ecx, [ebp - 0x108]
push eax
push ecx
call fcn.00589e0a
add esp, 0x10
lea edx, [ebp - 0x108]
mov ecx, esi
push 1
push edx
call fcn.00551df0
mov edx, dword [esi + 0x158]
mov eax, dword [esi + 0x15c]
mov ecx, dword [esi + 0x150]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x154]
cmp edx, ecx
mov dword [ebp - 0x18], edx
jne 0x550f7f
mov edx, dword [ebp - 0x14]
cmp edx, eax
je 0x550faf
mov edx, ecx
or edx, eax
je 0x550faf
cmp dword [ebp - 0x14], eax
jl 0x551099
jg 0x550f99
cmp dword [ebp - 0x18], ecx
jbe 0x551099
mov eax, 0x7570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp ebx, dword [esi + 0x140]
jge 0x551019
mov eax, dword [esi + 0x1d8]
lea ecx, [ebx + ebx*8]
lea edx, [ebx + ecx*8]
shl edx, 5
add edx, ebx
lea edi, [eax + edx*8]
mov eax, dword [eax + edx*8 + 0x54]
test eax, eax
je 0x551016
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x551016
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
or eax, ecx
je 0x551016
lea eax, [edi + 0x2d0]
mov ecx, edi
push eax
call fcn.00510e90
mov ecx, dword [edi + 0x70]
lea eax, [edi + 0x2d0]
push eax
push 0x13ef
mov edx, dword [ecx]
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
inc ebx
jmp 0x550fb1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x15c]
mov edx, dword [esi + 0x158]
mov eax, dword [0x688a7c]
push ecx
push edx
lea ecx, [ebp - 0x108]
push eax
push ecx
call fcn.00589e0a
add esp, 0x10
lea edx, [ebp - 0x108]
mov ecx, esi
push 1
push edx
call fcn.00551df0
mov esi, dword [esi + 0xf8]
test esi, esi
je 0x551073
cmp edi, 0x753c
mov eax, esi
je 0x55109c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret