Function at 0x10032fb0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x1007224c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10c], ecx
push ebx
mov ebx, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x10033040
mov ecx, dword [0x10072008]
mov eax, dword [0x1007200c]
cmp ecx, 0x257edfd1
jne 0x10032ff2
cmp eax, 0xb2ab117a
je 0x10033001
cmp ecx, 0x257edfd0
jne 0x10033005
cmp eax, 0xb2ab117a
jne 0x10033005
mov al, 1
jmp 0x10033019
mov eax, dword [section..data]
mov ecx, section..data
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebx], 0x2719
add eax, 2
mov dword [ebx + 4], 0x10072000
mov dword [ebx + 8], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e0d6
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x1c], 0
je 0x1003306b
test byte [ebp + 0xc], 0x10
je 0x1003306b
xorps xmm0, xmm0
xor eax, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e0d6
mov esp, ebp
pop ebp
ret
push esi
push edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
push eax
call fcn.1002f550
add esp, 0x14
test eax, eax
jns 0x10033216
test byte [ebp + 0xc], 1
jne 0x10033214
mov edi, dword [0x10072008]
mov esi, dword [0x1007200c]
cmp edi, 0x257edfd1
jne 0x100330ac
cmp esi, 0xb2ab117a
je 0x100330bc
cmp edi, 0x257edfd0
jne 0x100330c0
cmp esi, 0xb2ab117a
jne 0x100330c0
mov al, 1
jmp 0x100330e0
mov eax, dword [section..data]
mov ecx, section..data
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x1007200c]
mov edi, dword [0x10072008]
movzx eax, al
add eax, 2
mov dword [ebp - 0x124], 0x2733
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x124]
push eax
push ebx
mov dword [ebp - 0x120], 0x10072000
call fcn.1001a4a0
add esp, 8
test al, al
jne 0x10033184
cmp edi, 0x257edfd1
jne 0x10033124
cmp esi, 0xb2ab117a
je 0x10033134
cmp edi, 0x257edfd0
jne 0x10033138
cmp esi, 0xb2ab117a
jne 0x10033138
mov al, 1
jmp 0x1003314c
mov eax, dword [section..data]
mov ecx, section..data
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x118], 0x4d5
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x118]
push eax
push ebx
mov dword [ebp - 0x114], 0x10072000
call fcn.1001a4a0
add esp, 8
test al, al
je 0x10033214
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0
push 0
push eax
push 0
lea eax, [esi + 1]
mov dword [ebp - 0x104], esi
push eax
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x100331ef
push ebx
push dword [ebp + 0x18]
xorps xmm0, xmm0
push dword [ebp + 0x14]
movq qword [ebx], xmm0
push dword [ebp - 0x10c]
mov dword [ebx + 8], 0
push esi
call fcn.1002f550
add esp, 0x14
test eax, eax
js 0x10033090
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e0d6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push section..data
push eax
lea ecx, [ebp - 0x118]
call fcn.10002330
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003e0d6
mov esp, ebp
pop ebp
ret