Function at 0x10040ea0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a8bd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10080334], 0
jne 0x10040f3c
cmp byte [0x1007c240], 1
jne 0x10040f30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x34
movups xmmword [ecx], xmm0
push str.Server_will_not_be_added_the_Reloaded_master_server.
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044d0
call fcn.1002c960
mov ecx, esp
xorps xmm0, xmm0
push 0x25
push str.list_on_reloaded_master_server:_false
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044d0
call fcn.1002c960
add esp, 0x18
mov byte [0x1007c240], 0
jmp 0x100411a7
mov edx, 0x10080388
mov ecx, 0x100804a8
call fcn.100047f0
test al, al
jns 0x100411a7
lea ecx, [ebp - 0x4c]
call fcn.1003f190
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x10041150
mov esi, dword [ebp - 0x48]
test si, si
je 0x10041150
mov eax, dword [0x10080338]
push ecx
mov eax, dword [eax + 0x4dc]
mov eax, dword [eax + 0x4a8]
mov edi, dword [eax + 0x2fc]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
mov dword [ebp - 0x40], eax
call esi
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x28]
push 0x16
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
push dword [ebp - 0x42]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
push 0x13
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10045a46
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
add esp, 4
lea ecx, [eax + 0x13]
mov dword [ebp - 0x2c], ecx
movups xmmword [eax], xmm0
mov word [eax + 0x10], 0
mov byte [eax + 0x12], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [ebp - 0x34]
mov cl, byte [edx + str.SCLIREGI]
mov byte [edx + eax], cl
mov eax, dword [ebp - 0x34]
mov byte [edx + eax + 1], 0
add edx, 2
cmp edx, 0x10
jb 0x10041013
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push 0x10
push edx
push 0
mov byte [eax + 0x10], 1
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x11], 0
mov ecx, dword [ebp - 0x34]
mov al, byte [0x1007c240]
mov byte [ecx + 0x12], al
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub ecx, eax
push ecx
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x100410af
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x27
movups xmmword [ecx], xmm0
push str.Error_communicating_with_master_server.
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044d0
call fcn.1002c960
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.10042880
add esp, 0x1c
jmp 0x10041102
cmp byte [0x1007c240], 1
jne 0x100410e5
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x28
movups xmmword [ecx], xmm0
push str.Registering_with_Reloaded_master_server.
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044d0
call fcn.1002c960
add esp, 0x18
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x3c
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.10042880
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [0x100804ac], ecx
mov ecx, dword [ebp - 0x34]
mov dword [0x100804a8], eax
test ecx, ecx
je 0x100411a7
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10041144
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10041144
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10045a15
add esp, 8
jmp 0x100411a7
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2c
movups xmmword [ecx], xmm0
push str.Resolving_Reloaded_master_server_IP_address.
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044d0
call fcn.1002c960
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.10042880
add esp, 0x1c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x100804a8], ecx
mov dword [0x100804ac], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045a07
mov esp, ebp
pop ebp
ret