Function at 0x41bee0
Capabilities:
Connect socket
Convert ip address from string
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450080
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x328
mov eax, dword [0x465024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x48]
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
lea ecx, [edx + edx*2]
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*8]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004185f0
mov dword [ebp - 4], 0
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x20]
imul ecx
mov eax, dword [esi + 0x48]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
mov ecx, 2
mov dword [esi + 0x48], edx
call fcn.004291c0
test eax, eax
je 0x41c1fe
cmp dword [0x465bd4], 1
jg 0x41c0c6
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41bfaf
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x41bfb4
mov edi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x68]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2bc], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x2d0], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c032
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004195d0
cmp dword [ebp - 0x2bc], 0x10
lea eax, [ebp - 0x2d0]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x2d0]
push 0x31
push edi
push dword [0x45e960]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x2bc]
add esp, 0x20
mov edi, eax
cmp ecx, 0x10
jb 0x41c1cd
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c1c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da68
jmp 0x41c1c3
push 0x50
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x68]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2bc], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x2d0], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c144
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004195d0
push dword [0x45e960]
cmp dword [ebp - 0x2bc], 0x10
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x2bc]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x41c1cd
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c1c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da6d
push ecx
push edx
call fcn.0042f231
add esp, 8
cmp dword [ebp - 0x2d8], 0x10
lea ecx, [ebp - 0x2ec]
movzx eax, word [esi + 0x44]
cmovae ecx, dword [ebp - 0x2ec]
push eax
push ecx
push str.Connct:host:_s_port:_d
push edi
lea eax, [ebp - 0x2b8]
push eax
push 2
call fcn.004291f0
add esp, 0x18
mov eax, dword [esi + 4]
test eax, eax
je 0x41c213
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0
push 0
push 0x45fffc
lea ecx, [ebp - 0x2ec]
mov byte [esi + 3], 0
mov word [esi], 0
call fcn.00418470
push 0
push 1
cmp eax, 0xffffffff
jne 0x41cce8
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
test eax, eax
jns 0x41c4ab
mov ecx, 3
call fcn.004291c0
test eax, eax
je 0x41d49e
cmp dword [0x465bd4], 1
jg 0x41c39c
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41c294
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41c299
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c317
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x36
push esi
push dword [0x45e964]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
mov esi, eax
cmp ecx, 0x10
jb 0x41c49a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c490
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
jmp 0x41c490
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c420
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e964]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41c49a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c490
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da77
push ecx
push edx
call fcn.0042f231
add esp, 8
call fcn.00438ebb
push dword [eax]
push str.create_socket_fail__errno:_d
jmp 0x41d48c
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x330]
push 8
push ecx
push 0x1005
push 0xffff
push eax
mov dword [ebp - 0x330], 0x3c
mov dword [ebp - 0x32c], 0
call edi
test eax, eax
jns 0x41c4ec
push str.setsockopt
call fcn.00438df4
add esp, 4
push 8
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 0x3c
push eax
push 0x1006
push 0xffff
push dword [esi + 4]
mov dword [ebp - 0x32c], 0
call edi
test eax, eax
jns 0x41c529
push str.setsockopt
call fcn.00438df4
add esp, 4
movzx eax, word [esi + 0x44]
xorps xmm0, xmm0
mov edi, 2
movlpd qword [ebp - 0x2f8], xmm0
push eax
mov word [ebp - 0x300], di
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x2d8], 0x10
mov word [ebp - 0x2fe], ax
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x300]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x41c7d4
lea ecx, [edi + 1]
call fcn.004291c0
test eax, eax
je 0x41d49e
cmp dword [0x465bd4], 1
jg 0x41c6d9
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41c5d1
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41c5d6
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c654
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x59
push esi
push dword [0x45e964]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41d480
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da7c
jmp 0x41d476
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c757
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e964]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41d480
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da81
jmp 0x41d476
mov ecx, edi
mov byte [esi + 3], 1
call fcn.004291c0
test eax, eax
je 0x41ca34
cmp dword [0x465bd4], 1
jg 0x41c925
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41c81b
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x41c820
mov edi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c8a0
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x5d
push edi
push dword [0x45e960]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov edi, eax
cmp ecx, 0x10
jb 0x41ca1d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ca13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da86
jmp 0x41ca13
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c9a3
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e960]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x41ca1d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ca13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da8b
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.Connect_success_
push edi
lea eax, [ebp - 0x2b8]
push eax
push 2
call fcn.004291f0
add esp, 0x10
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x10
push eax
lea eax, [ebp - 0x2c8]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x2c8], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
cmp word [ebp - 0x2c8], 2
jne 0x41ca98
push dword [ebp - 0x2c4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
lea edi, [edx + 1]
nop word [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x41ca80
sub edx, edi
lea ecx, [esi + 0x2c]
push edx
push eax
call fcn.00409740
jmp 0x41da07
mov ecx, 4
call fcn.004291c0
test eax, eax
je 0x41da07
cmp dword [0x465bd4], 1
jg 0x41cbe6
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41cade
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41cae3
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cb61
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x65
push esi
push dword [0x45e968]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41ccde
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ccd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da90
jmp 0x41ccd4
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x328]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cc64
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e968]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41ccde
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ccd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da95
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.fail_to_get_local_ipv4_addr
jmp 0x41d9f5
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
test eax, eax
jns 0x41cebb
mov ecx, 3
call fcn.004291c0
test eax, eax
je 0x41d49e
cmp dword [0x465bd4], 1
jg 0x41cdf4
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41cd41
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41cd46
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cdc4
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x6a
jmp 0x41c342
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ce72
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e964]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
add esp, 0x14
jmp 0x41c363
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x328]
push 8
push ecx
push 0x1005
push 0xffff
push eax
mov dword [ebp - 0x328], 0x3c
mov dword [ebp - 0x324], 0
call edi
test eax, eax
jns 0x41cefc
push str.setsockopt
call fcn.00438df4
add esp, 4
push 8
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0x3c
push eax
push 0x1006
push 0xffff
push dword [esi + 4]
mov dword [ebp - 0x324], 0
call edi
test eax, eax
jns 0x41cf39
push str.setsockopt
call fcn.00438df4
add esp, 4
mov eax, 0x17
xorps xmm0, xmm0
mov word [ebp - 0x2d4], ax
movzx eax, word [esi + 0x44]
push eax
movlpd qword [ebp - 0x2d0], xmm0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x2d8], 0x10
lea ecx, [ebp - 0x2cc]
mov word [ebp - 0x2d2], ax
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push ecx
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x41d21d
mov ecx, 3
call fcn.004291c0
test eax, eax
je 0x41d49e
cmp dword [0x465bd4], 1
jg 0x41d0ef
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41cfe4
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41cfe9
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d067
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x8c
push esi
push dword [0x45e964]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41d1ea
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d1e0
jmp 0x41da72
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d170
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e964]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41d1ea
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
push ecx
push edx
call fcn.0042f231
add esp, 8
cmp dword [ebp - 0x2d8], 0x10
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push eax
push esi
lea eax, [ebp - 0x2b8]
push eax
push 3
call fcn.004291f0
add esp, 0x10
mov byte [ebp - 0x331], 0
jmp 0x41da0e
push 0x1c
lea eax, [ebp - 0x2d4]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x41d4aa
mov ecx, 3
call fcn.004291c0
test eax, eax
je 0x41d49e
cmp dword [0x465bd4], 1
jg 0x41d388
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41d27d
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41d282
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d300
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x90
push esi
push dword [0x45e964]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41d480
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d476
jmp 0x41da72
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d406
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e964]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41d480
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
push ecx
push edx
call fcn.0042f231
add esp, 8
call fcn.00438ebb
push dword [eax]
push str.connect_socket_fail__errno:_d
push esi
lea eax, [ebp - 0x2b8]
push eax
push 3
call fcn.004291f0
add esp, 0x14
mov byte [ebp - 0x331], 0
jmp 0x41da0e
mov ecx, 2
call fcn.004291c0
test eax, eax
je 0x41d711
cmp dword [0x465bd4], 1
jg 0x41d5fb
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41d4f0
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x41d4f5
mov edi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d573
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x93
push edi
push dword [0x45e960]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov edi, eax
cmp ecx, 0x10
jb 0x41d6fa
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d6f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d6f0
jmp 0x41da72
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d680
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e960]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x41d6fa
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d6f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.Connect_success_
push edi
lea eax, [ebp - 0x2b8]
push eax
push 2
call fcn.004291f0
add esp, 0x10
lea eax, [ebp - 0x338]
mov byte [esi + 3], 1
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x304], 0
push eax
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x338], 0x1c
movups xmmword [ebp - 0x31c], xmm0
movq qword [ebp - 0x30c], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
cmp word [ebp - 0x31c], 0x17
jne 0x41d7a2
push 0x2e
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x48]
push 0x2e
push eax
lea eax, [ebp - 0x314]
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea ecx, [ebp - 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d787
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [esi + 0x2c]
call fcn.00409740
jmp 0x41da07
mov ecx, 4
call fcn.004291c0
test eax, eax
je 0x41da07
cmp dword [0x465bd4], 1
jg 0x41d8f8
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41d7e8
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41d7ed
mov esi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x330]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d870
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push str.Connection::Connect
cmovae eax, dword [ebp - 0x30]
push 0x9e
push esi
push dword [0x45e968]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41d9f0
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d9e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d9e6
jmp 0x41da72
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x2f8]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x2f8]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0xb8]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d976
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004195d0
push dword [0x45e968]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str._s___s_
lea eax, [ebp - 0x2b8]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41d9f0
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d9e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.fail_to_get_local_ipv6_addr
push esi
lea eax, [ebp - 0x2b8]
push eax
push 4
call fcn.004291f0
add esp, 0x10
mov byte [ebp - 0x331], 1
mov ecx, dword [ebp - 0x2d8]
cmp ecx, 0x10
jb 0x41da44
mov edx, dword [ebp - 0x2ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41da3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da72
push ecx
push edx
call fcn.0042f231
add esp, 8
mov al, byte [ebp - 0x331]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f1f3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
int3