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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005731d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10087040]
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 [0x1008a574], 0
jne 0x1003e50c
cmp byte [0x10087258], 1
jne 0x1003e500
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.100044b0
call fcn.1002c040
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.100044b0
call fcn.1002c040
add esp, 0x18
mov byte [0x10087258], 0
jmp 0x1003e777
mov edx, 0x1008a5c0
mov ecx, 0x1008a6d0
call fcn.100047d0
test al, al
jns 0x1003e777
lea ecx, [ebp - 0x4c]
call fcn.1003ca40
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1003e720
mov esi, dword [ebp - 0x48]
test si, si
je 0x1003e720
mov eax, dword [0x1008a578]
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.10052796
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 0x1003e5e3
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 [0x10087258]
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 0x1003e67f
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.100044b0
call fcn.1002c040
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.1003ed90
add esp, 0x1c
jmp 0x1003e6d2
cmp byte [0x10087258], 1
jne 0x1003e6b5
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.100044b0
call fcn.1002c040
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.1003ed90
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [0x1008a6d4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [0x1008a6d0], eax
test ecx, ecx
je 0x1003e777
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1003e714
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e714
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10052765
add esp, 8
jmp 0x1003e777
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.100044b0
call fcn.1002c040
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0
call fcn.1003ed90
add esp, 0x1c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x1008a6d0], ecx
mov dword [0x1008a6d4], 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.10052757
mov esp, ebp
pop ebp
ret