Function at 0x101459b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028a76e
mov eax, dword fs:[0]
push eax
mov eax, 0x82a8
call fcn.10274f60
mov eax, dword [0x1036413c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8290], esi
mov dword [ebp - 0x803c], esi
mov dword [ebp - 0x8294], esi
mov ecx, 0x10478ba8
mov dword [ebp - 4], 0
call fcn.102758d0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8060], xmm0
mov byte [ebp - 4], 1
push 8
movups xmmword [ebp - 0x8060], xmm0
call fcn.101d5af0
lea ecx, [ebp - 0x8060]
mov dword [eax + 4], 0
mov dword [ebp - 0x8060], eax
mov dword [eax], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x8050], xmm0
mov byte [ebp - 4], 3
push 8
movups xmmword [ebp - 0x8050], xmm0
call fcn.101d5af0
lea ecx, [ebp - 0x8050]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x8050], eax
mov dword [eax], ecx
mov byte [ebp - 4], 4
cmp byte [0x1044bac8], 0
jne 0x10145ba1
lea eax, [ebp - 0x8280]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10145ab8
lea eax, [ebp - 0x8060]
mov ecx, esi
push eax
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
jmp 0x101464b9
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x1044bacc], eax
test eax, eax
jns 0x10145af3
lea eax, [ebp - 0x8060]
mov ecx, esi
push eax
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
jmp 0x101464b9
mov eax, 2
push 0x270f
mov word [ebp - 0x808c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x808a], ax
lea eax, [ebp - 0x8088]
push eax
push str.127.0.0.1
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x10145b55
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x8060]
mov ecx, esi
push eax
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
jmp 0x101464b9
push 0x10
lea eax, [ebp - 0x808c]
push eax
push dword [0x1044bacc]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x10145b9a
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x8060]
mov ecx, esi
push eax
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
jmp 0x101464b9
mov byte [0x1044bac8], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80b8]
push 0
mov byte [ebp - 0x80c0], 0
call fcn.10095d30
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x8090]
xorps xmm0, xmm0
mov dword [ebp - 0x8030], 0
movq qword [ebp - 0x8038], xmm0
push 3
mov eax, dword [eax]
mov dword [ebp - 0x8038], 0
mov dword [ebp - 0x8034], 0
mov dword [ebp - 0x8030], eax
call fcn.101a61c0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x8038]
cmp esi, edi
je 0x10145ca1
test esi, esi
je 0x10145c89
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x10145c33
nop dword [eax]
lea ecx, [ebp - 0x8038]
cmp eax, ecx
je 0x10145c77
lea esi, [eax + 4]
mov eax, dword [esi]
test eax, eax
jne 0x10145c20
push str.ITERATOR_LIST_CORRUPTED_
push 0x102bdb00
push 0
push 0x4b7
push 0x102bdb08
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10145c59
int3
push 0
push 0x4b7
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x102bdc34
push str._ITERATOR_LIST_CORRUPTED__
call fcn.101ece00
add esp, 0x14
mov eax, dword [ebp - 0x8034]
mov dword [esi], eax
mov dword [ebp - 0x8038], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x8034], eax
lea eax, [ebp - 0x8038]
mov dword [edi + 4], eax
mov dword [ebp - 0x8038], edi
lea ecx, [ebp - 0x8090]
call fcn.101a62b0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x8094]
push 3
mov dword [ebp - 0x828c], 0
mov dword [ebp - 0x8288], 0
mov dword [ebp - 0x8284], eax
call fcn.101a61c0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x828c]
cmp esi, edi
je 0x10145d81
test esi, esi
je 0x10145d69
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x10145d13
nop dword [eax]
lea ecx, [ebp - 0x828c]
cmp eax, ecx
je 0x10145d57
lea esi, [eax + 4]
mov eax, dword [esi]
test eax, eax
jne 0x10145d00
push str.ITERATOR_LIST_CORRUPTED_
push 0x102bdb00
push 0
push 0x4b7
push 0x102bdb08
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10145d39
int3
push 0
push 0x4b7
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x102bdc34
push str._ITERATOR_LIST_CORRUPTED__
call fcn.101ece00
add esp, 0x14
mov eax, dword [ebp - 0x8288]
mov dword [esi], eax
mov dword [ebp - 0x828c], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x8288], eax
lea eax, [ebp - 0x828c]
mov dword [edi + 4], eax
mov dword [ebp - 0x828c], edi
lea ecx, [ebp - 0x8094]
call fcn.101a62b0
mov eax, dword [ebp - 0x8038]
test eax, eax
je 0x10145d9a
mov eax, dword [eax]
jmp 0x10145d9c
xor eax, eax
mov ecx, dword [ebp - 0x828c]
test ecx, ecx
je 0x10145daa
mov ecx, dword [ecx]
jmp 0x10145dac
xor ecx, ecx
cmp eax, ecx
je 0x10145df4
push str.list_iterators_incompatible
push 0x102bdb00
push 0
push 0xc3
push 0x103408e8
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10145dd6
int3
push 0
push 0xc3
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includelist
push 0x102bdc34
push str._list_iterators_incompatible_
call fcn.101ece00
add esp, 0x14
mov eax, dword [ebp - 0x8030]
lea ecx, [ebp - 0x803c]
cmp eax, dword [ebp - 0x8284]
push 3
setne byte [ebp - 0x8029]
call fcn.101a61c0
mov esi, dword [ebp - 0x828c]
test esi, esi
je 0x10145e99
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x10145e43
nop dword [eax + eax]
lea ecx, [ebp - 0x828c]
cmp eax, ecx
je 0x10145e87
lea esi, [eax + 4]
mov eax, dword [esi]
test eax, eax
jne 0x10145e30
push str.ITERATOR_LIST_CORRUPTED_
push 0x102bdb00
push 0
push 0x4b7
push 0x102bdb08
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10145e69
int3
push 0
push 0x4b7
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x102bdc34
push str._ITERATOR_LIST_CORRUPTED__
call fcn.101ece00
add esp, 0x14
mov eax, dword [ebp - 0x8288]
mov dword [esi], eax
mov dword [ebp - 0x828c], 0
lea ecx, [ebp - 0x803c]
call fcn.101a62b0
cmp byte [ebp - 0x8029], 0
je 0x10146052
lea ecx, [ebp - 0x8038]
call fcn.10147f70
xorps xmm0, xmm0
mov byte [ebp - 0x808c], 0
lea ecx, [ebp - 0x808c]
movq qword [ebp - 0x8084], xmm0
lea edx, [eax + 4]
call fcn.10141b00
lea ecx, [ebp - 0x8038]
mov byte [ebp - 4], 0xc
call fcn.10147f70
lea ecx, [ebp - 0x13]
mov edx, dword [eax]
test edx, edx
jns 0x10145f01
neg edx
call fcn.1009dfb0
dec eax
mov byte [eax], 0x2d
jmp 0x10145f06
call fcn.1009dfb0
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x82b4]
call fcn.1009dff0
lea eax, [ebp - 0x82b4]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x80c0]
call fcn.10090a50
mov edi, eax
mov dl, byte [edi]
mov cl, byte [ebp - 0x808c]
mov eax, dword [ebp - 0x8084]
mov byte [edi], cl
mov ecx, dword [ebp - 0x8080]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0x808c], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x808c]
mov dword [edi + 8], eax
mov dword [ebp - 0x8084], edx
mov dword [ebp - 0x8080], esi
call fcn.10090d00
lea ecx, [ebp - 0x82b4]
mov byte [ebp - 4], 0xb
call fcn.1004c8e0
mov eax, dword [ebp - 0x82b4]
push 8
push eax
mov dword [ebp - 0x82b4], 0
call fcn.101d63b0
mov esi, dword [ebp - 0x8038]
add esp, 8
test esi, esi
je 0x10145faa
mov esi, dword [esi]
test esi, esi
jne 0x10145ff0
jmp 0x10145fac
xor esi, esi
push str.cannot_increment_value_initialized_list_iterator
push 0x102bdb00
push 0
push 0xa1
push 0x103408e8
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10145fd2
int3
push 0
push 0xa1
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includelist
push 0x102bdc34
push str._cannot_increment_value_initialized_list_iterator_
call fcn.101ece00
add esp, 0x14
mov eax, dword [ebp - 0x8030]
cmp eax, dword [esi + 4]
jne 0x10146045
push str.cannot_increment_end_list_iterator
push 0x102bdb00
push 0
push 0xa2
push 0x103408e8
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10146021
int3
push 0
push 0xa2
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includelist
push 0x102bdc34
push str._cannot_increment_end_list_iterator_
call fcn.101ece00
mov eax, dword [ebp - 0x8030]
add esp, 0x14
mov eax, dword [eax]
mov dword [ebp - 0x8030], eax
jmp 0x10145cb0
push 3
lea ecx, [ebp - 0x803c]
mov byte [ebp - 4], 0xa
call fcn.101a61c0
lea ecx, [ebp - 0x8038]
call fcn.100301f0
lea ecx, [ebp - 0x803c]
call fcn.101a62b0
push ecx
lea eax, [ebp - 0x80b0]
push eax
lea ecx, [ebp - 0x80c0]
call fcn.10090b20
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x80ac]
cmp dword [ebp - 0x8098], 0x10
push 0
push dword [ebp - 0x809c]
cmovae eax, dword [ebp - 0x80ac]
push eax
push dword [0x1044bacc]
call dword [sym.imp.WS2_32.dll_send]
push 0x8000
lea eax, [ebp - 0x8028]
push 0
push eax
call fcn.101d90c0
add esp, 0xc
lea eax, [ebp - 0x8028]
push 0
push 0x8000
push eax
push dword [0x1044bacc]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x10146222
mov byte [0x1044bac8], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [ebp - 0x8290]
lea eax, [ebp - 0x8060]
push eax
mov ecx, esi
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
lea ecx, [ebp - 0x80b0]
call fcn.1004c8e0
mov eax, dword [ebp - 0x80b0]
push 8
push eax
mov dword [ebp - 0x80b0], 0
call fcn.101d63b0
add esp, 8
lea ecx, [ebp - 0x80c0]
call fcn.10090d00
lea ecx, [ebp - 0x8050]
call fcn.10030300
mov ecx, dword [ebp - 0x804c]
test ecx, ecx
je 0x1014619f
mov eax, dword [ebp - 0x8044]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10053c10
add esp, 8
mov dword [ebp - 0x804c], 0
mov dword [ebp - 0x8048], 0
mov dword [ebp - 0x8044], 0
mov eax, dword [ebp - 0x8050]
push 8
push eax
mov dword [ebp - 0x8050], 0
call fcn.101d63b0
add esp, 8
lea ecx, [ebp - 0x8060]
call fcn.10030300
mov ecx, dword [ebp - 0x805c]
test ecx, ecx
je 0x10146202
mov eax, dword [ebp - 0x8054]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10053c10
add esp, 8
mov dword [ebp - 0x805c], 0
mov dword [ebp - 0x8058], 0
mov dword [ebp - 0x8054], 0
mov eax, dword [ebp - 0x8060]
push 8
push eax
mov dword [ebp - 0x8060], 0
call fcn.101d63b0
add esp, 8
jmp 0x101464cf
lea eax, [ebp - 0x8029]
mov dword [ebp - 0x807c], 0
push 8
mov dword [ebp - 0x8078], 0
mov dword [ebp - 0x8068], 0
mov dword [ebp - 0x8064], 0
mov dword [ebp - 0x803c], eax
call fcn.101d5af0
lea ecx, [ebp - 0x807c]
mov dword [ebp - 0x8040], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x807c], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8028]
mov dword [ebp - 0x8068], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x8064], 0xf
mov byte [ebp - 0x8078], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101462a3
sub ecx, edx
lea eax, [ebp - 0x8028]
push ecx
push eax
lea ecx, [ebp - 0x807c]
call fcn.10047dd0
mov dword [ebp - 0x8040], 0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x8068], 0
jne 0x1014630f
mov byte [0x1044bac8], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [ebp - 0x8290]
lea eax, [ebp - 0x8060]
push eax
mov ecx, esi
call fcn.10148630
lea eax, [ebp - 0x8050]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
jmp 0x101463d3
sub esp, 0x28
lea edx, [ebp - 0x807c]
mov eax, esp
lea ecx, [ebp - 0x80f0]
mov dword [eax + 0x24], 0
call fcn.10097af0
add esp, 0x28
xorps xmm0, xmm0
mov byte [ebp - 4], 0x14
push 0x103408e0
lea ecx, [ebp - 0x80f0]
movups xmmword [ebp - 0x80e0], xmm0
call fcn.101301a0
lea ecx, [ebp - 0x80e0]
push ecx
mov ecx, eax
call fcn.101302d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x15
push str.body
lea ecx, [ebp - 0x80f0]
movups xmmword [ebp - 0x80d0], xmm0
call fcn.101301a0
lea ecx, [ebp - 0x80d0]
push ecx
mov ecx, eax
call fcn.101302d0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x80e0]
mov esi, dword [ebp - 0x8290]
mov ecx, esi
push eax
call fcn.10148630
lea eax, [ebp - 0x80d0]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [esi + 0x10]
call fcn.10148630
lea ecx, [ebp - 0x80d0]
call fcn.10043400
lea ecx, [ebp - 0x80e0]
call fcn.10043400
lea ecx, [ebp - 0x80f0]
call fcn.10090d00
lea ecx, [ebp - 0x807c]
call fcn.10030300
mov edi, dword [ebp - 0x8064]
cmp edi, 0x10
jb 0x10146452
mov eax, dword [ebp - 0x8078]
inc edi
mov dword [ebp - 0x803c], eax
test eax, eax
jne 0x10146448
test edi, edi
je 0x10146448
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x102bdb00
push 0
push 0x33c
push 0x102bdb08
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10146424
int3
push 0
push 0x33c
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x102bdc34
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.101ece00
mov eax, dword [ebp - 0x803c]
add esp, 0x14
push edi
push eax
call fcn.10053c10
add esp, 8
mov eax, dword [ebp - 0x807c]
push 8
push eax
mov dword [ebp - 0x8068], 0
mov dword [ebp - 0x8064], 0xf
mov byte [ebp - 0x8078], 0
mov dword [ebp - 0x807c], 0
call fcn.101d63b0
add esp, 8
lea ecx, [ebp - 0x80b0]
call fcn.1004c8e0
mov eax, dword [ebp - 0x80b0]
push 8
push eax
mov dword [ebp - 0x80b0], 0
call fcn.101d63b0
add esp, 8
lea ecx, [ebp - 0x80c0]
call fcn.10090d00
lea ecx, [ebp - 0x8050]
call fcn.10043400
lea ecx, [ebp - 0x8060]
call fcn.10043400
lea ecx, [ebp + 0x18]
call fcn.10042e10
lea ecx, [ebp + 0xc]
call fcn.10030300
mov edx, dword [ebp + 0x10]
call fcn.10053de0
push 0x20
push dword [ebp + 0x10]
call fcn.101d63b0
push 8
push dword [ebp + 0xc]
call fcn.101d63b0
add esp, 0x10
mov eax, esi
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.101d57a0
mov esp, ebp
pop ebp
ret