Function at 0x42a5d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00414360
mov eax, dword [0x43e268]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x16a8], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x16a0], 0
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x1698]
call fcn.00401550
push 0x1370
push 0
lea eax, [ebp - 0x1698]
push eax
call fcn.00409ed0
add esp, 0xc
mov ecx, 2
mov word [ebp - 0x364], cx
push 0x35
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x362], ax
mov edx, dword [0x4415b4]
mov dword [ebp - 0x360], edx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0xffffffff
jne 0x42a6db
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x17b0]
push ecx
call fcn.004198c0
add esp, 8
push eax
push str.Failed_to_Create_Socket__Zone_Transfer_Failed
lea edx, [ebp - 0x328]
push edx
call fcn.00407379
add esp, 0xc
push 1
lea eax, [ebp - 0x328]
push eax
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42b849
mov dword [ebp - 0x354], 0x10
push 0
call fcn.0041a650
add esp, 4
mov dword [ebp - 0x16b0], eax
mov dword [ebp - 0x16ac], edx
mov ecx, dword [ebp - 0x354]
push ecx
lea edx, [ebp - 0x364]
push edx
mov eax, dword [ebp - 0x368]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jl 0x42b7e7
lea ecx, [ebp - 0x1694]
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x694]
add edx, 2
mov dword [ebp - 0x694], edx
mov eax, dword [ebp - 0x694]
mov dword [ebp - 0x1698], eax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x1698]
mov word [ecx + 4], ax
push 0
push 0xffff
mov edx, dword [ebp - 0x16ac]
push edx
mov eax, dword [ebp - 0x16b0]
push eax
call fcn.004119d0
mov ecx, dword [ebp - 0x1698]
mov word [ecx], ax
mov edx, dword [ebp - 0x1698]
add edx, 0xc
mov dword [ebp - 0x694], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x694]
push ecx
call fcn.0041d2e0
add esp, 8
movzx edx, ax
add edx, dword [ebp - 0x694]
mov dword [ebp - 0x694], edx
push 0xfc
mov eax, dword [ebp - 0x694]
push eax
call fcn.0041a0d0
add esp, 8
movzx ecx, al
add ecx, dword [ebp - 0x694]
mov dword [ebp - 0x694], ecx
push 1
mov edx, dword [ebp - 0x694]
push edx
call fcn.0041a0d0
add esp, 8
movzx eax, al
add eax, dword [ebp - 0x694]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
lea edx, [ebp - 0x1694]
sub ecx, edx
mov dword [ebp - 0x33c], ecx
mov eax, dword [ebp - 0x33c]
sub eax, 2
push eax
lea ecx, [ebp - 0x1694]
push ecx
call fcn.0041a0d0
add esp, 8
push 0
mov edx, dword [ebp - 0x33c]
push edx
lea eax, [ebp - 0x1694]
push eax
mov ecx, dword [ebp - 0x368]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x33c]
jge 0x42a890
mov edx, dword [ebp - 0x368]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x17b0]
push ecx
call fcn.004198c0
add esp, 8
push eax
push str.Failed_to_send_request_to_Replication_Server__s__Zone_Transfer_Failed
lea edx, [ebp - 0x328]
push edx
call fcn.00407379
add esp, 0xc
push 1
lea eax, [ebp - 0x328]
push eax
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42b849
push 0x440eac
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x42a8fe
jmp 0x42a8bd
movzx edx, byte [ebp + 8]
mov al, byte [edx + 0x442008]
sub al, 1
movzx ecx, byte [ebp + 8]
mov byte [ecx + 0x442008], al
movzx edx, byte [ebp + 8]
movzx eax, byte [edx + 0x442008]
test eax, eax
je 0x42a8fe
push 0x435d0f
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0x50a
movzx edx, byte [ebp + 8]
movzx eax, byte [edx + 0x442008]
imul eax, eax, 0x102
lea ecx, [ecx + eax + 0x4415f4]
push ecx
call fcn.00409330
add esp, 8
jmp 0x42a8a7
mov edx, 1
test edx, edx
je 0x42b3d2
push 0
lea eax, [ebp - 0x1694]
push eax
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.0041baf0
add esp, 0xc
movzx edx, ax
mov dword [ebp - 0x33c], edx
cmp dword [ebp - 0x33c], 2
jge 0x42a93a
jmp 0x42b3d2
lea eax, [ebp - 0x1694]
push eax
call fcn.0041a120
add esp, 4
mov word [ebp - 0x17b8], ax
movzx ecx, word [ebp - 0x33c]
movzx edx, word [ebp - 0x17b8]
add edx, 2
cmp ecx, edx
jge 0x42a96a
jmp 0x42b3d2
lea eax, [ebp - 0x1692]
mov dword [ebp - 0x1698], eax
mov ecx, dword [ebp - 0x1698]
add ecx, 0xc
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x1698]
mov al, byte [edx + 2]
shr al, 7
and al, 1
movzx ecx, al
test ecx, ecx
je 0x42a9c4
mov edx, dword [ebp - 0x1698]
mov al, byte [edx + 3]
and al, 0xf
movzx ecx, al
test ecx, ecx
jne 0x42a9c4
mov edx, dword [ebp - 0x1698]
movzx eax, word [edx + 6]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
test ecx, ecx
jne 0x42a9c9
jmp 0x42b3d2
mov dword [ebp - 0x17bc], 1
jmp 0x42a9e4
mov edx, dword [ebp - 0x17bc]
add edx, 1
mov dword [ebp - 0x17bc], edx
mov eax, dword [ebp - 0x1698]
movzx ecx, word [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp dword [ebp - 0x17bc], edx
jg 0x42aa3d
mov eax, dword [ebp - 0x694]
push eax
mov ecx, dword [ebp - 0x1698]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.0041a140
add esp, 0xc
movzx eax, ax
add eax, dword [ebp - 0x694]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
add ecx, 4
mov dword [ebp - 0x694], ecx
jmp 0x42a9d5
mov dword [ebp - 0x17c0], 1
jmp 0x42aa58
mov edx, dword [ebp - 0x17c0]
add edx, 1
mov dword [ebp - 0x17c0], edx
mov eax, dword [ebp - 0x1698]
movzx ecx, word [eax + 6]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp dword [ebp - 0x17c0], edx
jg 0x42b3cd
mov eax, dword [ebp - 0x694]
push eax
mov ecx, dword [ebp - 0x1698]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.0041a140
add esp, 0xc
movzx eax, ax
add eax, dword [ebp - 0x694]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
push ecx
call fcn.0041a120
add esp, 4
mov word [ebp - 0x336], ax
mov edx, dword [ebp - 0x694]
add edx, 2
mov dword [ebp - 0x694], edx
mov eax, dword [ebp - 0x694]
push eax
call fcn.0041a120
add esp, 4
mov word [ebp - 0x334], ax
mov ecx, dword [ebp - 0x694]
add ecx, 2
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x694]
push edx
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x694]
add eax, 4
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
push ecx
call fcn.0041a120
add esp, 4
movzx edx, ax
mov dword [ebp - 0x17c4], edx
mov eax, dword [ebp - 0x694]
add eax, 2
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x16a4], ecx
mov edx, dword [ebp - 0x694]
add edx, dword [ebp - 0x17c4]
mov dword [ebp - 0x694], edx
movzx eax, word [ebp - 0x336]
mov dword [ebp - 0x1810], eax
mov ecx, dword [ebp - 0x1810]
sub ecx, 1
mov dword [ebp - 0x1810], ecx
cmp dword [ebp - 0x1810], 0xe
ja case.0x42ab8d.2
mov edx, dword [ebp - 0x1810]
movzx eax, byte [edx + 0x42b874]
jmp dword [eax*4 + 0x42b858]
mov ecx, dword [ebp - 0x16a4]
push ecx
mov edx, dword [ebp - 0x1698]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.0041a140
add esp, 0xc
movzx ecx, ax
add ecx, dword [ebp - 0x16a4]
mov dword [ebp - 0x16a4], ecx
mov edx, dword [ebp - 0x16a4]
push edx
mov eax, dword [ebp - 0x1698]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041a140
add esp, 0xc
movzx edx, ax
add edx, dword [ebp - 0x16a4]
mov dword [ebp - 0x16a4], edx
cmp dword [ebp - 4], 0
jne 0x42acc4
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x16a4]
push ecx
call fcn.0041a100
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x16a4]
add edx, 4
mov dword [ebp - 0x16a4], edx
mov eax, dword [ebp - 0x16a4]
push eax
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x16a4]
add ecx, 4
mov dword [ebp - 0x16a4], ecx
mov edx, dword [ebp - 0x16a4]
push edx
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x16a8], eax
mov eax, dword [ebp - 0x16a4]
add eax, 4
mov dword [ebp - 0x16a4], eax
mov ecx, dword [ebp - 0x16a4]
push ecx
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x16a4]
add edx, 4
mov dword [ebp - 0x16a4], edx
mov eax, dword [ebp - 0x16a4]
push eax
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x16a0], eax
mov ecx, dword [ebp - 0x16a4]
add ecx, 4
mov dword [ebp - 0x16a4], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x42ace2
cmp dword [ebp - 0x124], 0
jne 0x42ace2
mov eax, dword [ebp - 0x16a4]
push eax
call fcn.0041a100
add esp, 4
mov dword [ebp - 0x124], eax
jmp case.0x42ab8d.2
mov ecx, dword [ebp - 0x16a4]
push ecx
call fcn.0041a0f0
add esp, 4
mov dword [ebp - 0x169c], eax
lea edx, [ebp - 0x228]
push edx
call fcn.0041bd70
add esp, 4
movzx eax, byte [0x43f062]
test eax, eax
je 0x42ae52
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x10c]
jae 0x42ae52
mov edx, dword [ebp - 0x169c]
push edx
call fcn.00419dc0
add esp, 4
mov byte [ebp - 0x17c9], al
mov eax, dword [ebp - 0x169c]
push eax
movzx ecx, byte [ebp - 0x17c9]
push ecx
call fcn.00419d50
add esp, 8
mov dword [ebp - 0x17c8], eax
cmp dword [ebp - 0x120], 0x7fffffff
jbe 0x42ad74
mov dword [ebp - 0x120], SysStringLen
cmp dword [ebp - 0x17c8], 0
jl 0x42adc9
movsx edx, byte [ebp - 0x17c9]
imul edx, edx, 0x1c
mov eax, dword [edx + 0x4463dc]
mov ecx, dword [ebp - 0x17c8]
cmp dword [eax + ecx*4], 0
je 0x42adc9
push 0
mov edx, dword [ebp - 0x120]
xor eax, eax
push eax
push edx
movsx ecx, byte [ebp - 0x17c9]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x4463dc]
mov eax, dword [ebp - 0x17c8]
mov ecx, dword [edx + eax*4]
push ecx
call fcn.00426bd0
add esp, 0x10
jmp 0x42addc
push 0
push 0
mov edx, dword [ebp - 0x169c]
push edx
call fcn.0041c4f0
add esp, 0xc
mov eax, SysReAllocString
sub eax, dword [ebp - 0x16b0]
mov ecx, 0
sbb ecx, dword [ebp - 0x16ac]
cmp dword [ebp - 0x120], eax
jae 0x42ae14
mov edx, dword [ebp - 0x120]
xor eax, eax
add edx, dword [ebp - 0x16b0]
adc eax, dword [ebp - 0x16ac]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 4]
push ecx
push 0
push 1
mov edx, dword [ebp - 0x120]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x169c]
push ecx
lea edx, [ebp - 0x228]
push edx
movzx eax, byte [ebp + 8]
push eax
call fcn.004281b0
add esp, 0x20
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
jmp 0x42aea1
push 0
push SysReAllocString
mov edx, dword [ebp - 0x169c]
push edx
call fcn.0041c4f0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push 0
push 0xc
push 0
push SysReAllocString
mov ecx, dword [ebp - 0x169c]
push ecx
lea edx, [ebp - 0x228]
push edx
movzx eax, byte [ebp + 8]
push eax
call fcn.004281b0
add esp, 0x20
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
jmp case.0x42ab8d.2
lea edx, [ebp - 0x228]
push edx
call fcn.00419050
add esp, 4
push str..in_addr.arpa
lea eax, [ebp - 0x228]
push eax
call fcn.00401040
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x42b0c1
mov ecx, dword [ebp - 0x110]
mov byte [ecx], 0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x169c], eax
mov eax, dword [ebp - 0x16a4]
push eax
mov ecx, dword [ebp - 0x1698]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.0041a140
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
call fcn.0041bd70
add esp, 4
movzx ecx, byte [0x43f062]
test ecx, ecx
je 0x42b072
mov edx, dword [ebp - 0x120]
cmp edx, dword [ebp - 0x10c]
jae 0x42b072
mov eax, dword [ebp - 0x169c]
push eax
call fcn.00419dc0
add esp, 4
mov byte [ebp - 0x17d1], al
mov ecx, dword [ebp - 0x169c]
push ecx
movzx edx, byte [ebp - 0x17d1]
push edx
call fcn.00419d50
add esp, 8
mov dword [ebp - 0x17d0], eax
cmp dword [ebp - 0x120], 0x7fffffff
jbe 0x42af94
mov dword [ebp - 0x120], SysStringLen
cmp dword [ebp - 0x17d0], 0
jl 0x42afe9
movsx eax, byte [ebp - 0x17d1]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x4463dc]
mov edx, dword [ebp - 0x17d0]
cmp dword [ecx + edx*4], 0
je 0x42afe9
push 0
mov eax, dword [ebp - 0x120]
xor ecx, ecx
push ecx
push eax
movsx edx, byte [ebp - 0x17d1]
imul edx, edx, 0x1c
mov eax, dword [edx + 0x4463dc]
mov ecx, dword [ebp - 0x17d0]
mov edx, dword [eax + ecx*4]
push edx
call fcn.00426bd0
add esp, 0x10
jmp 0x42affc
push 0
push 0
mov eax, dword [ebp - 0x169c]
push eax
call fcn.0041c4f0
add esp, 0xc
mov ecx, SysReAllocString
sub ecx, dword [ebp - 0x16b0]
mov edx, 0
sbb edx, dword [ebp - 0x16ac]
cmp dword [ebp - 0x120], ecx
jae 0x42b034
mov eax, dword [ebp - 0x120]
xor ecx, ecx
add eax, dword [ebp - 0x16b0]
adc ecx, dword [ebp - 0x16ac]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 4]
push edx
push 2
push 0
mov eax, dword [ebp - 0x120]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x169c]
push edx
lea eax, [ebp - 0x228]
push eax
movzx ecx, byte [ebp + 8]
push ecx
call fcn.004281b0
add esp, 0x20
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x42b0c1
push 0
push SysReAllocString
mov eax, dword [ebp - 0x169c]
push eax
call fcn.0041c4f0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
push 0xd
push 0
push 0
push SysReAllocString
mov edx, dword [ebp - 0x169c]
push edx
lea eax, [ebp - 0x228]
push eax
movzx ecx, byte [ebp + 8]
push ecx
call fcn.004281b0
add esp, 0x20
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp case.0x42ab8d.2
movzx eax, byte [0x44b43d]
cmp eax, 2
jne 0x42b1a7
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041bd70
add esp, 4
movzx edx, al
cmp edx, 3
jne 0x42b1a7
mov eax, dword [ebp - 0x16a4]
push eax
call fcn.0041a120
add esp, 4
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0x50a
movzx edx, byte [ebp + 8]
movzx edx, byte [edx + 0x442008]
imul edx, edx, 0x102
mov word [ecx + edx + 0x4416f4], ax
mov eax, dword [ebp - 0x16a4]
add eax, 2
mov dword [ebp - 0x16a4], eax
mov ecx, dword [ebp - 0x16a4]
push ecx
mov edx, dword [ebp - 0x1698]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041a140
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
movzx edx, byte [ebp + 8]
imul edx, edx, 0x50a
movzx eax, byte [ebp + 8]
movzx ecx, byte [eax + 0x442008]
imul ecx, ecx, 0x102
lea edx, [edx + ecx + 0x4415f4]
push edx
call fcn.00409330
add esp, 8
movzx eax, byte [ebp + 8]
mov cl, byte [eax + 0x442008]
add cl, 1
movzx edx, byte [ebp + 8]
mov byte [edx + 0x442008], cl
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp case.0x42ab8d.2
movzx ecx, byte [0x44b43d]
cmp ecx, 2
jne 0x42b1d3
mov edx, dword [ebp - 0x16a4]
push edx
mov eax, dword [ebp - 0x1698]
push eax
push 0x4411ae
call fcn.0041a140
add esp, 0xc
jmp case.0x42ab8d.2
movzx ecx, byte [0x44b43d]
cmp ecx, 2
jne case.0x42ab8d.2
mov edx, dword [ebp - 0x16a4]
push edx
mov eax, dword [ebp - 0x1698]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041a140
add esp, 0xc
mov byte [ebp - 0x17d9], 0
lea edx, [ebp - 0x108]
push edx
call fcn.0041bd70
add esp, 4
movzx eax, al
test eax, eax
je 0x42b22b
mov byte [ebp - 0x17d9], 0xa
jmp 0x42b232
mov byte [ebp - 0x17d9], 0xb
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041bd70
add esp, 4
movzx edx, byte [ebp - 0x17d9]
push edx
lea eax, [ebp - 0x228]
push eax
movzx ecx, byte [ebp + 8]
push ecx
call fcn.00422f70
add esp, 0xc
mov dword [ebp - 0x17d8], eax
cmp dword [ebp - 0x17d8], 0
jne 0x42b352
push 0x20
push 1
call fcn.004091cb
add esp, 8
mov dword [ebp - 0x17d8], eax
cmp dword [ebp - 0x17d8], 0
je 0x42b326
lea edx, [ebp - 0x228]
push edx
call fcn.00418e80
add esp, 4
mov ecx, dword [ebp - 0x17d8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x17d8]
mov al, byte [ebp - 0x17d9]
mov byte [edx + 0x10], al
lea ecx, [ebp - 0x108]
push ecx
call fcn.00418e80
add esp, 4
mov edx, dword [ebp - 0x17d8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x17d8]
cmp dword [eax], 0
je 0x42b2fa
mov ecx, dword [ebp - 0x17d8]
cmp dword [ecx + 0x1c], 0
je 0x42b2fa
mov edx, dword [ebp - 0x17d8]
push edx
movzx eax, byte [ebp + 8]
push eax
call fcn.00426490
add esp, 8
jmp 0x42b324
push 0x439cd0
lea ecx, [ebp - 0x328]
push ecx
call fcn.00407379
add esp, 8
push 1
lea edx, [ebp - 0x328]
push edx
call fcn.0041b050
add esp, 8
jmp 0x42aa49
jmp 0x42b350
push str.Memory_Error
lea eax, [ebp - 0x328]
push eax
call fcn.00407379
add esp, 8
push 1
lea ecx, [ebp - 0x328]
push ecx
call fcn.0041b050
add esp, 8
jmp 0x42aa49
jmp 0x42b399
mov edx, dword [ebp - 0x17d8]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
je 0x42b399
mov edx, dword [ebp - 0x17d8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0040913d
add esp, 4
lea ecx, [ebp - 0x108]
push ecx
call fcn.00418e80
add esp, 4
mov edx, dword [ebp - 0x17d8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x17d8]
mov dword [eax + 8], SysReAllocString
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x17d8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x42aa49
jmp 0x42a8fe
push 0x4411ae
lea ecx, [ebp - 0x228]
push ecx
call fcn.00409330
add esp, 8
lea edx, [ebp - 0x228]
push edx
call fcn.0041bd70
add esp, 4
push 0xc
lea eax, [ebp - 0x228]
push eax
movzx ecx, byte [ebp + 8]
push ecx
call fcn.00422f70
add esp, 0xc
mov dword [ebp - 0x17b4], eax
cmp dword [ebp - 0x17b4], 0
jne 0x42b436
push 0xe
lea edx, [ebp - 0x228]
push edx
movzx eax, byte [ebp + 8]
push eax
call fcn.00422f70
add esp, 0xc
mov dword [ebp - 0x17b4], eax
cmp dword [ebp - 0x17b4], 0
je 0x42b44e
mov ecx, dword [ebp - 0x17b4]
mov edx, dword [ecx + 0x1c]
mov dword [0x4412b0], edx
mov eax, dword [ebp - 0x368]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 4], 0
je 0x42b70e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x124]
jne 0x42b70e
cmp dword [ebp - 0x10c], 0
je 0x42b70e
movzx edx, byte [0x44b43d]
cmp edx, 2
jne 0x42b4c7
mov eax, dword [ebp - 0x10c]
mov dword [0x442010], eax
mov ecx, dword [ebp - 0x11c]
mov dword [0x44201c], ecx
mov edx, dword [ebp - 0x16a8]
mov dword [0x442020], edx
mov eax, dword [ebp - 0x118]
mov dword [0x442024], eax
mov ecx, dword [ebp - 0x16a0]
mov dword [0x442028], ecx
movzx edx, byte [0x461db8]
movzx eax, byte [ebp + 8]
cmp edx, eax
je 0x42b6ba
push 0x440eac
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x42b5d0
lea edx, [ebp - 0x17e4]
push edx
movzx ecx, byte [ebp + 8]
shl ecx, 5
add ecx, 0x461de0
call fcn.00401730
lea eax, [ebp - 0x17f4]
push eax
movzx ecx, byte [ebp + 8]
shl ecx, 5
add ecx, 0x461de0
call fcn.004019d0
push eax
lea ecx, [ebp - 0x17e4]
call fcn.00402370
movzx ecx, al
test ecx, ecx
je 0x42b5cb
lea ecx, [ebp - 0x17e4]
call fcn.00401880
mov edx, dword [eax + 0x1c]
movzx eax, byte [edx + 0x10]
mov dword [ebp - 0x1814], eax
mov ecx, dword [ebp - 0x1814]
sub ecx, 1
mov dword [ebp - 0x1814], ecx
cmp dword [ebp - 0x1814], 0xb
ja case.0x42b579.1
mov edx, dword [ebp - 0x1814]
movzx eax, byte [edx + 0x42b88c]
jmp dword [eax*4 + 0x42b884]
lea ecx, [ebp - 0x17e4]
call fcn.00401880
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp - 4]
jae case.0x42b579.1
lea ecx, [ebp - 0x17e4]
call fcn.00401880
mov eax, dword [eax + 0x1c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push 0
lea ecx, [ebp - 0x17fc]
push ecx
lea ecx, [ebp - 0x17e4]
call fcn.004022e0
jmp 0x42b50c
jmp 0x42b6ad
push 0x4410ad
mov edx, dword [ebp + 0xc]
push edx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x42b6ad
lea eax, [ebp - 0x17ec]
push eax
movzx ecx, byte [ebp + 8]
shl ecx, 5
add ecx, 0x461de0
call fcn.00401730
lea ecx, [ebp - 0x1804]
push ecx
movzx ecx, byte [ebp + 8]
shl ecx, 5
add ecx, 0x461de0
call fcn.004019d0
push eax
lea ecx, [ebp - 0x17ec]
call fcn.00402370
movzx edx, al
test edx, edx
je 0x42b6ad
lea ecx, [ebp - 0x17ec]
call fcn.00401880
mov eax, dword [eax + 0x1c]
mov cl, byte [eax + 0x10]
mov byte [ebp - 0x1818], cl
cmp byte [ebp - 0x1818], 2
je 0x42b662
cmp byte [ebp - 0x1818], 7
je 0x42b662
cmp byte [ebp - 0x1818], 0xd
je 0x42b662
jmp 0x42b694
lea ecx, [ebp - 0x17ec]
call fcn.00401880
mov edx, dword [eax + 0x1c]
mov eax, dword [edx + 0x18]
cmp eax, dword [ebp - 4]
jae 0x42b694
lea ecx, [ebp - 0x17ec]
call fcn.00401880
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push 0
lea edx, [ebp - 0x180c]
push edx
lea ecx, [ebp - 0x17ec]
call fcn.004022e0
jmp 0x42b602
movzx eax, byte [ebp + 8]
push eax
call fcn.00426600
add esp, 4
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x360]
push edx
lea eax, [ebp - 0x17b0]
push eax
call fcn.004198c0
add esp, 8
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Zone__s_Transferred_from__s___u_RRs_imported
lea edx, [ebp - 0x328]
push edx
call fcn.00407379
add esp, 0x14
push 2
lea eax, [ebp - 0x328]
push eax
call fcn.0041b050
add esp, 8
mov eax, dword [ebp - 4]
jmp 0x42b849
cmp dword [ebp - 4], 0
jne 0x42b755
mov ecx, dword [ebp - 0x360]
push ecx
lea edx, [ebp - 0x17b0]
push edx
call fcn.004198c0
add esp, 8
push eax
push str.Replication_Server__s__Missing_Serial
lea eax, [ebp - 0x328]
push eax
call fcn.00407379
add esp, 0xc
push 1
lea ecx, [ebp - 0x328]
push ecx
call fcn.0041b050
add esp, 8
jmp 0x42b7e5
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x124]
je 0x42b7a9
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x360]
push edx
lea eax, [ebp - 0x17b0]
push eax
call fcn.004198c0
add esp, 8
push eax
push str.Replication_Server__s__Serial_Changed__u__u
lea ecx, [ebp - 0x328]
push ecx
call fcn.00407379
add esp, 0x14
push 1
lea edx, [ebp - 0x328]
push edx
call fcn.0041b050
add esp, 8
jmp 0x42b7e5
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x17b0]
push ecx
call fcn.004198c0
add esp, 8
push eax
push str.Replication_Server__s__Invalid_AXFR_data
lea edx, [ebp - 0x328]
push edx
call fcn.00407379
add esp, 0xc
push 1
lea eax, [ebp - 0x328]
push eax
call fcn.0041b050
add esp, 8
jmp 0x42b847
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.00409828
mov dword [eax], esi
call fcn.00409828
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x360]
push edx
lea eax, [ebp - 0x17b0]
push eax
call fcn.004198c0
add esp, 8
push eax
push 0x439da0
lea ecx, [ebp - 0x328]
push ecx
call fcn.00407379
add esp, 0x10
push 1
lea edx, [ebp - 0x328]
push edx
call fcn.0041b050
add esp, 8
mov eax, dword [ebp - 0x368]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00406dc0
mov esp, ebp
pop ebp
ret