Function at 0x438030
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_public:_bool___thiscall_WireTap::CoIoDescriptor::isValid_void_const
movzx eax, al
test eax, eax
jne 0x438066
push 2
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
or eax, 0xffffffff
jmp 0x438312
mov ecx, dword [ebp - 0x240]
mov byte [ecx + 0x24], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x43830f
mov eax, dword [ebp - 0x240]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
jne 0x438296
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x234], 0
jmp 0x4380c8
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x120]
jae 0x4380f2
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp + ecx*4 - 0x11c]
cmp eax, dword [edx + 4]
jne 0x4380f0
jmp 0x4380f2
jmp 0x4380b9
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x120]
jne 0x43812e
cmp dword [ebp - 0x120], 0x40
jae 0x43812e
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 4]
mov dword [ebp + edx*4 - 0x11c], ecx
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
xor eax, eax
jne 0x4380ad
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
jmp 0x43815b
mov ecx, dword [ebp - 0x238]
add ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp - 0x230]
jae 0x438185
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp + eax*4 - 0x22c]
cmp edx, dword [ecx + 4]
jne 0x438183
jmp 0x438185
jmp 0x43814c
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x230]
jne 0x4381c1
cmp dword [ebp - 0x230], 0x40
jae 0x4381c1
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 4]
mov dword [ebp + ecx*4 - 0x22c], eax
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
xor edx, edx
jne 0x438140
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x230]
push edx
push 0x40
call dword [0x4b0a28]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
jne 0x438219
call dword [0x4b07c0]
cmp dword [eax], 4
je 0x438214
push 1
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
or eax, 0xffffffff
jmp 0x438312
jmp 0x438083
cmp dword [ebp - 0x124], 0
jne 0x438227
jmp 0x438083
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 4]
push edx
call fcn.004a3920
test eax, eax
je 0x438275
push 2
push 1
lea eax, [ebp - 0x239]
push eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 4]
push edx
call dword [0x4b0a34]
test eax, eax
jne 0x438275
push 4
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
or eax, 0xffffffff
jmp 0x438312
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 4]
push edx
call fcn.004a3920
test eax, eax
je 0x438291
jmp 0x438296
jmp 0x438083
mov eax, dword [ebp - 0x240]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x4382b6
push 3
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
or eax, 0xffffffff
jmp 0x438312
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x240]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x240]
call dword [eax + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4382e9
or eax, 0xffffffff
jmp 0x438312
cmp dword [ebp - 0xc], 0
jne 0x438301
push 4
mov ecx, dword [ebp - 0x240]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
or eax, 0xffffffff
jmp 0x438312
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x438077
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8