Function at 0x424510
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1358], cx
mov eax, 0xa
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x135a], ax
push 4
mov edx, dword [ebp - 0x10]
add edx, 0x1358
push edx
push 0x80
push 0xffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
call fcn.00409828
mov dword [eax], 0
push 1
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call fcn.0041baf0
add esp, 0xc
movzx edx, ax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x135c], edx
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x135c], 2
jge 0x4245d8
push str.Error_Getting_TCP_DNS_Message
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1330]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call fcn.0041a120
add esp, 4
mov word [ebp - 0xc], ax
mov edx, dword [ebp - 0x10]
add edx, 6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1004], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1004]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 2]
shr al, 3
and al, 0xf
movzx ecx, al
test ecx, ecx
je 0x424726
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov cl, byte [eax + 2]
shr cl, 3
and cl, 0xf
movzx edx, cl
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
sub eax, 1
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
ja case.0x424655.2
mov ecx, dword [ebp - 0x9c]
jmp dword [ecx*4 + 0x4257c0]
push 0x438018
push 0x44bd18
call fcn.00407379
add esp, 8
jmp 0x4246d0
push 0x438034
push 0x44bd18
call fcn.00407379
add esp, 8
jmp 0x4246d0
push 0x438058
push 0x44bd18
call fcn.00407379
add esp, 8
jmp 0x4246d0
push 0x438070
push 0x44bd18
call fcn.00407379
add esp, 8
jmp 0x4246d0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov cl, byte [eax + 2]
shr cl, 3
and cl, 0xf
movzx edx, cl
push edx
push 0x4380a4
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041aeb0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov cl, byte [eax + 3]
and cl, 0xf0
or cl, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov byte [eax + 3], cl
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1330]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 2]
shr al, 7
and al, 1
movzx ecx, al
test ecx, ecx
jne 0x424769
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp edx, 1
jne 0x424769
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
test eax, eax
je 0x4247d1
push 0x4380bc
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1004], eax
mov dword [ebp - 0x18], 1
jmp 0x4247f4
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
cmp dword [ebp - 0x18], eax
jg 0x4248ae
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1004]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
call fcn.0041a140
add esp, 0xc
movzx eax, ax
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x1004]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1004]
push ecx
call fcn.0041a120
add esp, 4
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1362], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1004]
add ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1004]
push ecx
call fcn.0041a120
add esp, 4
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1364], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1004]
add ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
jmp 0x4247eb
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1364]
cmp ecx, 1
je 0x424930
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x1364]
push eax
push 0x4380d4
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x1362]
test eax, eax
jne 0x4249a6
push 0x4380f0
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1338]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
jmp 0x4249c8
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x10
jge 0x4249f4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
cmp eax, dword [edx*4 + 0x4415b4]
je 0x4249ec
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx*4 + 0x441474]
jne 0x4249f2
mov byte [ebp - 1], 1
jmp 0x4249f4
jmp 0x4249bf
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x424a64
push str.DNS_TCP_Query__Access_Denied
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4257b8
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x1208
push eax
call fcn.00409330
add esp, 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1108
push edx
call fcn.00409330
add esp, 8
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1362]
cmp ecx, 2
je 0x424b5e
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x1362]
cmp eax, 6
je 0x424b5e
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x1362]
cmp edx, 0xfc
je 0x424b5e
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1362]
cmp ecx, 0xfb
je 0x424b5e
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x1362]
push ecx
push 0x43fd60
call fcn.00419900
add esp, 8
push eax
push str.DNS_TCP_Query_Type__s_not_supported
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
push 0x440eac
mov eax, dword [ebp - 0x10]
add eax, 0x1208
push eax
call fcn.004072ca
add esp, 8
test eax, eax
je 0x424bf4
push 0x4410ad
mov ecx, dword [ebp - 0x10]
add ecx, 0x1208
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
je 0x424bf4
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xf0
or dl, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, 0x1008
push eax
push str._s__Forwarding_TCP_query_not_supported
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
movzx edx, byte [0x44b43c]
test edx, edx
jne 0x424c5f
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a010
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 3]
and al, 0xf0
or al, 9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
push str.Server_is_not_authorized_for_zone__s
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
movzx eax, byte [0x43f062]
test eax, eax
jne 0x424d02
push 0
call fcn.0041a650
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
mov ecx, dword [0x44203c]
cmp ecx, dword [ebp - 0xa0]
jg 0x424d02
jl 0x424ca2
mov edx, dword [0x442038]
cmp edx, dword [ebp - 0xa4]
jae 0x424d02
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a010
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 3]
and al, 0xf0
or al, 9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
push str.Zone__s_expired
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1362]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
sub edx, 2
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 0xfa
ja case.0x424d3e.1
mov eax, dword [ebp - 0xa8]
movzx ecx, byte [eax + 0x4257e4]
jmp dword [ecx*4 + 0x4257d4]
push 0x440eac
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x424de8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a010
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 2]
and al, 0xfb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xef
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [0x442014]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420d10
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
push 0x4381a8
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 2
push 0x44bd18
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041aeb0
add esp, 0xc
jmp 0x424e87
push 0x4410ad
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x424e87
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 2]
and dl, 0xfb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 2], dl
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov cl, byte [eax + 3]
and cl, 0xef
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov byte [eax + 3], cl
mov ecx, dword [0x442018]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420d10
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
push str.SOA_Sent_for_zone__s
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 2
push 0x44bd18
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
push 0x440eac
mov eax, dword [ebp - 0x10]
add eax, 0x1208
push eax
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x424f32
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov cl, byte [eax + 2]
and cl, 0xfb
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov byte [eax + 2], cl
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 3]
and al, 0xef
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x10]
push eax
call fcn.004212a0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00420960
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, 0x1008
push eax
push str.NS_Sent_for_Zone__s
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 2
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
jmp 0x424fd5
push 0x4410ad
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x424fd5
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a010
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov al, byte [edx + 2]
and al, 0xfb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0xef
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420fd0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420960
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
push str.NS_Sent_for_Zone
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 2
push 0x44bd18
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
push 0x440eac
mov ecx, dword [ebp - 0x10]
add ecx, 0x1208
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x425420
mov edx, dword [0x442014]
mov dword [ebp - 0x24], edx
xor eax, eax
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1004], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov word [eax + 4], cx
mov edx, dword [0x442014]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420d10
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
movzx edx, ax
test edx, edx
jne 0x425061
mov byte [ebp - 0x11], 1
jmp case.0x424d3e.1
mov ax, word [ebp - 0x20]
add ax, 1
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1004], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov word [eax + 4], cx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004212a0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
movzx ecx, ax
test ecx, ecx
jne 0x4250bf
mov byte [ebp - 0x11], 1
jmp case.0x424d3e.1
mov dx, word [ebp - 0x20]
add dx, 1
mov word [ebp - 0x20], dx
push 0
call fcn.0041a650
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x50]
push eax
movzx ecx, byte [0x461db8]
shl ecx, 5
add ecx, 0x461de0
call fcn.00401730
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1328], ecx
mov dword [eax + 0x132c], edx
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x4252e0
lea edx, [ebp - 0x58]
push edx
movzx ecx, byte [0x461db8]
shl ecx, 5
add ecx, 0x461de0
call fcn.004019d0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00402370
movzx eax, al
test eax, eax
je 0x4252e0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov word [eax + 4], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1004], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x2c]
jl 0x4252c7
jg 0x4251ac
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x30]
jbe 0x4252c7
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov ecx, dword [eax + 0x1c]
movzx edx, byte [ecx + 0x10]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
sub eax, 1
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xb
ja case.0x4251f0.1
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx + 0x4258f4]
jmp dword [edx*4 + 0x4258e0]
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420660
add esp, 4
jmp 0x42528f
mov ecx, dword [ebp - 0x10]
movzx esi, byte [ecx + 0x1367]
imul esi, esi, 0x1c
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov edx, dword [eax + 0x1c]
mov eax, dword [esi + 0x440be4]
cmp eax, dword [edx + 0x1c]
jne 0x42523f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00420120
add esp, 4
jmp 0x425258
push 0
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x425108
jmp 0x42528f
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420120
add esp, 4
jmp 0x42528f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041fec0
add esp, 4
jmp 0x42528f
push 0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x425108
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x442014]
je 0x4252a0
mov byte [ebp - 0x11], 1
jmp 0x4252e0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
movzx edx, ax
test edx, edx
jne 0x4252bb
mov byte [ebp - 0x11], 1
jmp 0x4252e0
mov ax, word [ebp - 0x20]
add ax, 1
mov word [ebp - 0x20], ax
push 0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x425108
mov dword [ebp - 0x34], 0
jmp 0x4252f2
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
movzx eax, byte [0x461db8]
movzx ecx, byte [eax + 0x442008]
cmp dword [ebp - 0x34], ecx
jge 0x42537b
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 4], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
movzx eax, byte [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041fce0
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, dword [0x442014]
je 0x42534f
mov byte [ebp - 0x11], 1
jmp 0x42537b
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
movzx ecx, ax
test ecx, ecx
jne 0x42536a
mov byte [ebp - 0x11], 1
jmp 0x42537b
mov dx, word [ebp - 0x20]
add dx, 1
mov word [ebp - 0x20], dx
jmp 0x4252e9
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a010
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add edx, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1004], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
xor eax, eax
mov word [edx + 4], ax
mov ecx, dword [0x442014]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420d10
add esp, 8
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x42541b
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [0x442014]
jne 0x42541b
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
movzx eax, ax
test eax, eax
je 0x42541b
mov cx, word [ebp - 0x20]
add cx, 1
mov word [ebp - 0x20], cx
movzx edx, word [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x1008
push eax
push 0x438200
push 0x44bd18
call fcn.00407379
add esp, 0x10
push 2
push 0x44bd18
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041aeb0
add esp, 0xc
jmp case.0x424d3e.1
push 0x4410ad
mov edx, dword [ebp - 0x10]
add edx, 0x1008
push edx
call fcn.004072ca
add esp, 8
test eax, eax
jne case.0x424d3e.1
mov eax, dword [0x442018]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov word [ebp - 0x38], cx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 4], dx
mov eax, dword [0x442018]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00420d10
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d250
add esp, 4
movzx eax, ax
test eax, eax
jne 0x4254a5
mov byte [ebp - 0x11], 1
jmp case.0x424d3e.1
mov cx, word [ebp - 0x38]
add cx, 1
mov word [ebp - 0x38], cx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 4], dx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420fd0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d250
add esp, 4
movzx edx, ax
test edx, edx
jne 0x425503
mov byte [ebp - 0x11], 1
jmp case.0x424d3e.1
mov ax, word [ebp - 0x38]
add ax, 1
mov word [ebp - 0x38], ax
push 0
call fcn.0041a650
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x78]
push ecx
movzx ecx, byte [0x461db8]
shl ecx, 5
add ecx, 0x461de0
call fcn.00401730
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1328], edx
mov dword [ecx + 0x132c], eax
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x425707
lea eax, [ebp - 0x80]
push eax
movzx ecx, byte [0x461db8]
shl ecx, 5
add ecx, 0x461de0
call fcn.004019d0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00402370
movzx ecx, al
test ecx, ecx
je 0x425707
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a010
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 4], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1004], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 0x44]
jl 0x4256eb
jg 0x4255f0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x48]
jbe 0x4256eb
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov edx, dword [eax + 0x1c]
mov al, byte [edx + 0x10]
mov byte [ebp - 0xb8], al
cmp byte [ebp - 0xb8], 2
je 0x425627
cmp byte [ebp - 0xb8], 7
je 0x425635
cmp byte [ebp - 0xb8], 0xd
je 0x425627
jmp 0x425697
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00420300
add esp, 4
jmp 0x4256b3
mov edx, dword [ebp - 0x10]
movzx esi, byte [edx + 0x1367]
imul esi, esi, 0x1c
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.00401880
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [esi + 0x440be4], eax
jne 0x425679
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420300
add esp, 4
jmp 0x425695
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x42554c
jmp 0x4256b3
push 0
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x42554c
mov edx, dword [ebp - 0x3c]
cmp edx, dword [0x442018]
je 0x4256c4
mov byte [ebp - 0x11], 1
jmp 0x425707
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
movzx ecx, ax
test ecx, ecx
jne 0x4256df
mov byte [ebp - 0x11], 1
jmp 0x425707
mov dx, word [ebp - 0x38]
add dx, 1
mov word [ebp - 0x38], dx
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1328
call fcn.004022e0
jmp 0x42554c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041a010
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1004], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov word [eax + 4], cx
mov edx, dword [0x442018]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00420d10
add esp, 8
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne case.0x424d3e.1
mov edx, dword [ebp - 0x3c]
cmp edx, dword [0x442018]
jne case.0x424d3e.1
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d250
add esp, 4
movzx ecx, ax
test ecx, ecx
je case.0x424d3e.1
mov dx, word [ebp - 0x38]
add dx, 1
mov word [ebp - 0x38], dx
movzx eax, word [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1008
push ecx
push str.Zone__s_with__u_RRs_Sent
push 0x44bd18
call fcn.00407379
add esp, 0x10
push 2
push 0x44bd18
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041aeb0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1330]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
mov esp, ebp
pop ebp
ret