Function at 0x1009ac80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d4192
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x1009acce
mov di, word [ebp + 8]
test di, di
jne 0x1009ace3
push 0xf0
push str.C:UserskeestDocumentsGitHubProjectSamp_GTASAMP_API_ONE_HEADERSAMPRakNetRakPeer.cpp
push str.maxConnections___0
call fcn.100c24f0
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x828], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jne 0x1009ad24
push ebx
push 1
push eax
mov ecx, 0x10196f10
call fcn.100acbd0
mov dword [esi + 0x828], eax
cmp eax, 0xffffffff
je 0x1009acce
push eax
mov ecx, 0x10196f10
call fcn.100acf60
movzx eax, ax
test ax, ax
je 0x1009ad24
mov dword [ebp + 8], eax
cmp word [esi + 8], 0
jne 0x1009ae09
cmp word [esi + 0xa], di
jbe 0x1009ad39
mov word [esi + 0xa], di
mov word [esi + 8], di
xor ecx, ecx
movzx edi, di
mov edx, 0x840
mov eax, edi
mov dword [ebp + 0xc], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.100af694
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1009ad97
push 0x100a36a0
push 0x100a3540
push dword [ebp + 0xc]
mov dword [eax], edi
lea edi, [eax + 4]
push 0x840
push edi
call fcn.100aeb70
jmp 0x1009ad99
xor edi, edi
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x340], edi
cmp ax, word [esi + 8]
jae 0x1009adfe
xor edi, edi
xor ebx, ebx
mov eax, dword [esi + 0x340]
mov byte [edi + eax], 0
movzx eax, word [esi + 0x84a]
mov ecx, dword [esi + 0x340]
movsd xmm0, qword [esi + 0x840]
add ecx, 0x18
push eax
movzx eax, word [esi + 0x848]
add ecx, edi
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.100a55d0
movzx eax, word [esi + 8]
inc ebx
add edi, 0x840
cmp ebx, eax
jb 0x1009adb2
mov ebx, dword [ebp + 0x14]
lea ecx, [esi + 0x344]
call fcn.10091190
cmp byte [esi + 4], 0
je 0x1009af10
push 0x400
lea eax, [esi + 0x3e0]
push 0
push eax
call fcn.100b1720
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x7f4], 0
mov ecx, esi
mov dword [esi + 0x7f0], 0
mov dword [esi + 0x7ec], 0
mov dword [esi + 0x7e8], 0
mov byte [esi + 0x368], 0
mov byte [esi + 4], 0
mov dword [esi + 0x824], eax
call fcn.100a0360
lea eax, [ebp - 0xb0]
mov ecx, 0x10196f10
push eax
call fcn.100ace20
mov eax, dword [ebp + 8]
mov word [esi + 0x238], ax
test ebx, ebx
je 0x1009ae93
cmp byte [ebx], 0
je 0x1009ae93
push ebx
jmp 0x1009ae9a
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x234], eax
cmp byte [esi + 5], 0
jne 0x1009af10
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 0
push esi
push 0x1009d950
push 0x200000
push 0
call fcn.100c312f
add esp, 0x18
mov dword [esi + 0x378], eax
test eax, eax
jne 0x1009aee8
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
call dword [eax + 0x24]
jmp 0x1009acce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 5], 0
mov dword [esi + 0x378], 0
jne 0x1009af10
nop
push 0xa
call fcn.100a3f00
add esp, 4
cmp byte [esi + 5], 0
je 0x1009af00
xor edi, edi
cmp dword [esi + 0x3c0], edi
jbe 0x1009af38
nop word [eax + eax]
mov eax, dword [esi + 0x3bc]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 8]
inc edi
cmp edi, dword [esi + 0x3c0]
jb 0x1009af20
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10