Function at 0x4332d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca013
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x190], ecx
mov byte [ebp - 0x16d], 0
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x43365c
cmp dword [ebp + 8], 0
jbe 0x43365c
call fcn.00449520
mov esi, eax
mov ebx, edx
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], ebx
call fcn.00449509
push ebx
push ebx
push esi
push edx
push eax
call fcn.004c5830
mov edi, ebx
pop ebx
push 0
push 0x3b9aca00
push edx
push eax
mov esi, ecx
call fcn.0044c4c0
push 0
push 0x3b9aca00
push edi
push esi
mov ebx, eax
mov dword [ebp - 0x18], edx
call fcn.0044c4c0
push dword [ebp - 0x174]
push dword [ebp - 0x178]
push edx
push eax
call fcn.004c5310
add eax, ebx
mov ecx, edx
mov dword [ebp - 0x180], eax
adc ecx, dword [ebp - 0x18]
mov dword [ebp - 0x184], ecx
nop word [eax + eax]
mov ecx, dword [ebp - 0x188]
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x2710
nop dword [eax]
lea ecx, [ebp - 0x20]
inc eax
push ecx
push 0
push 0
lea ecx, [ebp - 0x16c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x433404
call fcn.004aedd1
cmp dword [eax], 4
jne 0x4333fc
mov eax, dword [ebp - 0x18]
jmp 0x4333d0
test esi, esi
js 0x43365c
jne 0x4334d8
call fcn.00449520
mov esi, eax
mov ebx, edx
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x178], ebx
call fcn.00449509
push ebx
push ebx
push esi
push edx
push eax
call fcn.004c5830
mov edi, ebx
pop ebx
push 0
push 0x3b9aca00
push edx
push eax
mov esi, ecx
call fcn.0044c4c0
push 0
push 0x3b9aca00
push edi
push esi
mov ebx, eax
mov dword [ebp - 0x17c], edx
call fcn.0044c4c0
push dword [ebp - 0x178]
push dword [ebp - 0x174]
push edx
push eax
call fcn.004c5310
add eax, ebx
push 0
adc edx, dword [ebp - 0x17c]
sub eax, dword [ebp - 0x180]
push 0xf4240
sbb edx, dword [ebp - 0x184]
push edx
push eax
call fcn.004c5310
push 0
push 0x3e8
push dword [ebp + 0x10]
mov edi, eax
mov esi, edx
push dword [ebp + 0xc]
call fcn.0044c4c0
cmp esi, edx
jg 0x43365c
jl 0x4334b4
cmp edi, eax
ja 0x43365c
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], 0
call fcn.0042be10
jmp 0x4333a0
cmp dword [ebp + 8], 1
lea eax, [ebp - 0x64]
push 0x40
push 0
push eax
sete byte [ebp - 0x18c]
mov byte [ebp - 0x16e], 0
call fcn.004a4b20
mov eax, dword [ebp + 0x24]
add esp, 8
mov byte [ebp - 0x16f], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x180], ecx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x16f]
push eax
mov dword [ebp - 0x5c], ecx
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x64], vtable.httplib::detail::SocketStream.0
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
call fcn.00425150
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1a0], 0
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x28]
push eax
lea eax, [ebp - 0x16e]
push eax
push dword [ebp - 0x18c]
mov ecx, dword [ecx]
lea eax, [ebp - 0x64]
push eax
call fcn.0041be90
mov byte [ebp - 0x16d], al
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1a0]
test ecx, ecx
je 0x4335e9
mov edx, dword [ecx]
lea eax, [ebp - 0x1c4]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x64], vtable.httplib::detail::SocketStream.0
test ecx, ecx
je 0x43363c
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43361d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43367e
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp byte [ebp - 0x16d], 0
je 0x43365c
cmp byte [ebp - 0x16e], 0
jne 0x43365c
dec dword [ebp + 8]
mov ecx, dword [ebp - 0x190]
jmp 0x433311
mov al, byte [ebp - 0x16d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret
call fcn.004aba6c
int3