Function at 0x11c88cb0
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x11d19f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x958
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x5c]
push eax
call fcn.11cc2e30
mov ecx, dword [esp + 0x978]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x970], 0
shr eax, 4
div dword [esi + 8]
mov esi, dword [esi + 4]
test esi, esi
je 0x11c88d15
mov eax, dword [esi + edx*4]
test eax, eax
je 0x11c88d15
cmp dword [eax + 8], ecx
je 0x11c88d4e
mov eax, dword [eax]
test eax, eax
jne 0x11c88d0a
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c88d33
push ecx
push str.CGetConnectionInfo::GetInfo__:Can_not_find_SOCKET__d_
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0x10
lea ecx, [esp + 0x58]
mov dword [esp + 0x970], 0xffffffff
call fcn.11cc2e90
xor eax, eax
jmp 0x11c890e5
test eax, eax
je 0x11c88d15
add eax, 0xc
mov dword [esp + 0x970], 0xffffffff
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
call fcn.11cc2e90
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x11c88db0
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11c88da9
push str.CGetConnectionInfo::GetInfo__:socket___failed__INVALID_SOCKET
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0xc
xor eax, eax
jmp 0x11c890e5
xor eax, eax
push 0x2023
mov dword [esp + 0x26], eax
mov word [esp + 0x24], 2
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x24], eax
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov cx, word [esp + 0x97c]
lea edi, [esp + 0x569]
mov word [esp + 0x44], cx
mov ecx, 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], 0
rep stosd dword es:[edi], eax
mov dx, word [esp + 0x980]
mov ecx, 7
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x568]
mov dword [esp + 0x3c], 0x544d5347
mov dword [esp + 0x40], 1
mov word [esp + 0x46], dx
mov dword [esp + 0x54], 0xc
lea edx, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push 0x10
xor esi, esi
mov dword [esp + 0x58c], eax
push edx
push esi
lea eax, [esp + 0x574]
push 0x28
push eax
push ebp
mov dword [esp + 0x59c], ebx
mov dword [esp + 0x5a4], ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x11c88ed4
cmp dword [0x11d49ee0], esi
je 0x11c88ec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.sendto_failed__errno__d__r_n
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x11c890e5
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x68]
lea edx, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], esi
push ecx
push esi
push esi
push edx
push esi
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x11c88f32
cmp dword [0x11d49ee0], esi
je 0x11c890dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.select_failed__errno__d__r_n
jmp 0x11c890cd
cmp eax, esi
jne 0x11c88f6b
cmp dword [0x11d49ee0], esi
je 0x11c88f59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.select_timeout__errno__d__r_n
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0x10
mov eax, dword [esp + 0x98c]
mov dword [eax], 1
jmp 0x11c890dc
jle 0x11c890dc
lea ecx, [esp + 0x64]
push ecx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x11c890dc
xor edx, edx
lea eax, [esp + 0x38]
mov dword [esp + 0x12], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x16], edx
push eax
mov dword [esp + 0x1e], edx
push ecx
mov word [esp + 0x26], dx
push esi
lea edx, [esp + 0x174]
push 0x400
push edx
push ebp
mov word [esp + 0x28], si
mov dword [esp + 0x50], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x11c88fe5
cmp dword [0x11d49ee0], esi
je 0x11c890dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.recvfrom_failed__errno__d__r_n
jmp 0x11c890cd
cmp eax, esi
jne 0x11c89006
cmp dword [0x11d49ee0], esi
je 0x11c890dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.socket_has_been_closed__errno__d__r_n
jmp 0x11c890cd
cmp eax, 0x400
jge 0x11c890bf
cmp eax, 0x1c
jb 0x11c890bf
mov ecx, dword [esp + 0x180]
lea edx, [ecx + 0x1c]
cmp eax, edx
jl 0x11c890bf
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x16c]
cmp eax, esi
jne 0x11c89084
cmp edx, 2
jne 0x11c89084
cmp dword [esp + 0x168], 0x544d5347
jne 0x11c89084
mov edx, dword [esp + 0x988]
mov eax, dword [edx]
cmp eax, ecx
jg 0x11c8905f
mov ecx, eax
mov edi, dword [esp + 0x984]
mov dword [edx], ecx
mov eax, ecx
lea esi, [esp + 0x184]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
jmp 0x11c890dc
cmp dword [0x11d49ee0], esi
je 0x11c890dc
mov ecx, dword [esp + 0x172]
push eax
mov eax, dword [esp + 0x174]
and ecx, 0xffff
and eax, 0xffff
push ecx
push eax
push edx
push str.Get_socket_info_failed__flag__d___MType__d___SType__d___errno__d__r_n
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0x1c
jmp 0x11c890dc
cmp dword [0x11d49ee0], esi
je 0x11c890dc
push eax
push str.The_data_recved_is_truncate_or_the_recv_buf_is_not_enougth__datalen__d__r_n
push str.GetConnectionInfo
push 4
call fcn.11c854f0
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
mov ecx, dword [esp + 0x968]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x964
ret 0x18