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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b07d
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 [0x1008035c], 0
jne 0x1004169c
cmp byte [0x1007c1fc], 1
jne 0x10041690
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.100045b0
call fcn.1002e9d0
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.100045b0
call fcn.1002e9d0
add esp, 0x18
mov byte [0x1007c1fc], 0
jmp 0x10041907
mov edx, 0x100803c8
mov ecx, 0x10080520
call fcn.100048d0
test al, al
jns 0x10041907
lea ecx, [ebp - 0x4c]
call fcn.1003f8f0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x100418b0
mov esi, dword [ebp - 0x48]
test si, si
je 0x100418b0
mov eax, dword [0x10080360]
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.100461a6
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 0x10041773
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 [0x1007c1fc]
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 0x1004180f
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.100045b0
call fcn.1002e9d0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.10042fe0
add esp, 0x1c
jmp 0x10041862
cmp byte [0x1007c1fc], 1
jne 0x10041845
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.100045b0
call fcn.1002e9d0
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.10042fe0
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [0x10080524], ecx
mov ecx, dword [ebp - 0x34]
mov dword [0x10080520], eax
test ecx, ecx
je 0x10041907
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100418a4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100418a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10046175
add esp, 8
jmp 0x10041907
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.100045b0
call fcn.1002e9d0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.10042fe0
add esp, 0x1c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x10080520], ecx
mov dword [0x10080524], 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.10046167
mov esp, ebp
pop ebp
ret