Function at 0x10052440
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, 0x7fffffff
xorps xmm0, xmm0
lea ebx, [esp + 0x28]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], pe_nt_image_headers32
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
cmp edi, 0x7fffffff
cmovb ecx, edi
mov edi, dword [ebp + 0x10]
push ebx
push eax
push edi
push ecx
push dword [ebp + 8]
push edx
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x10052506
movzx edx, word [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp edx, 0x17
je 0x10052579
cmp edx, 2
jne 0x1005255b
cmp eax, 0xf
jbe 0x1005267d
movzx eax, word [esp + 0x32]
mov edx, dword [esp + 0x34]
xor edi, edi
rol ax, 8
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
mov word [esp + 0x10], ax
mov ebx, dword [esp + 0xe]
jmp 0x100525c3
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x100525dd
movzx ecx, word [esp + 0x30]
mov eax, dword [esp + 0x28]
cmp ecx, 0x17
je 0x100525f1
cmp ecx, 2
jne 0x1005255b
cmp eax, 0xf
jbe 0x1005267d
movzx eax, word [esp + 0x32]
mov ecx, dword [esp + 0x34]
xor ebx, ebx
rol ax, 8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
mov word [esp + 0x10], ax
mov edi, dword [esp + 0xe]
jmp 0x10052633
mov byte [esp + 0xe], 2
mov eax, dword [esp + 0xe]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1012d4a0
mov word [esi + 4], 2
jmp 0x10052675
cmp eax, 0x1b
jbe 0x1005268e
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
movzx edx, word [esp + 0x32]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
rol dx, 8
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov di, 1
mov dword [esi], ecx
mov word [esi + 4], di
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov word [esi + 6], cx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
jmp 0x1005264f
mov byte [esi + 8], 0
mov dx, 2
mov ecx, 4
mov edi, 0xc
jmp 0x1005266e
cmp eax, 0x1b
jbe 0x1005268e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
movzx edx, word [esp + 0x32]
mov edi, dword [esp + 0x38]
mov bx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
rol dx, 8
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
mov dword [esi], 0
mov word [esi + 4], bx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov word [esi + 6], cx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x1c]
mov edi, 0x1c
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x18], ecx
mov ecx, 0x20
mov dword [esi + edi], eax
mov word [esi + ecx], dx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1012d434
push 0x39
push 0x1012d3d8
call sym.core::panicking::panic::h2de0902fd6c3d9b1
push 0x1012d480
push 0x3a
push 0x1012d444
call sym.core::panicking::panic::h2de0902fd6c3d9b1
nop