Function at 0x423030
Capabilities:
Get socket status

Disassembly:
sub esp, 0x128
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x130]
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x14c]
cmp ebp, 0xffffffff
jne 0x4230d4
mov ecx, dword [0x4f7030]
mov eax, dword [0x4f7034]
cmp ecx, 0x257edfd1
jne 0x42307e
cmp eax, 0xb2ab117a
je 0x42308d
cmp ecx, 0x257edfd0
jne 0x423091
cmp eax, 0xb2ab117a
jne 0x423091
mov al, 1
jmp 0x4230a5
mov eax, dword [0x4f7028]
mov ecx, 0x4f7028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 0x2719
add eax, 2
mov dword [esi + 4], 0x4f7028
mov dword [esi + 8], eax
xor eax, eax
pop esi
pop ebp
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00489fe1
add esp, 0x128
ret
push ebx
mov bh, byte [esp + 0x13c]
mov bl, bh
and bl, 0x10
cmp byte [esp + 0x14c], 0
mov byte [esp + 0xf], bl
je 0x42311b
test bl, bl
je 0x42311f
xorps xmm0, xmm0
xor eax, eax
movq qword [esi], xmm0
pop ebx
mov dword [esi + 8], 0
pop esi
pop ebp
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00489fe1
add esp, 0x128
ret
mov byte [esp + 0xf], bl
push edi
push esi
push dword [esp + 0x150]
push dword [esp + 0x150]
push eax
push ebp
call fcn.0041f4f0
add esp, 0x14
test bl, bl
je 0x423145
test eax, eax
je 0x423281
test eax, eax
jns 0x4232f9
test bh, 1
jne 0x4232f7
mov ebx, dword [0x4f7030]
mov edi, dword [0x4f7034]
cmp ebx, 0x257edfd1
jne 0x423172
cmp edi, 0xb2ab117a
je 0x423182
cmp ebx, 0x257edfd0
jne 0x423186
cmp edi, 0xb2ab117a
jne 0x423186
mov al, 1
jmp 0x4231a6
mov eax, dword [0x4f7028]
mov ecx, 0x4f7028
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [0x4f7034]
mov ebx, dword [0x4f7030]
movzx eax, al
add eax, 2
mov dword [esp + 0x24], 0x2733
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x30], 0x4f7028
call fcn.00412810
add esp, 8
test al, al
jne 0x42323a
cmp ebx, 0x257edfd1
jne 0x4231e2
cmp edi, 0xb2ab117a
je 0x4231f2
cmp ebx, 0x257edfd0
jne 0x4231f6
cmp edi, 0xb2ab117a
jne 0x4231f6
mov al, 1
jmp 0x42320a
mov eax, dword [0x4f7028]
mov ecx, 0x4f7028
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x18], 0x4d5
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x24], 0x4f7028
call fcn.00412810
add esp, 8
test al, al
je 0x4232f7
push 0
push 0
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ebp
push eax
lea eax, [ebp + 1]
mov dword [esp + 0x40], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x4232d4
mov bl, byte [esp + 0x13]
xorps xmm0, xmm0
mov bh, byte [esp + 0x140]
mov eax, dword [esp + 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x423120
mov ecx, dword [0x4f7098]
mov eax, dword [0x4f709c]
cmp ecx, 0x257edfd1
jne 0x42329b
cmp eax, 0xb2ab117a
je 0x4232aa
cmp ecx, 0x257edfd0
jne 0x4232ae
cmp eax, 0xb2ab117a
jne 0x4232ae
mov al, 1
jmp 0x4232bf
mov eax, dword [0x4f7090]
mov ecx, 0x4f7090
push 2
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 2
add eax, 2
mov dword [esi + 4], 0x4f7090
jmp 0x4232f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x4f7028
push eax
lea ecx, [esp + 0x20]
call fcn.0040e4a0
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
xor eax, eax
mov ecx, dword [esp + 0x134]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.00489fe1
add esp, 0x128
ret