Function at 0x42b450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436768
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov esi, dword [edi + 4]
lea eax, [esi + 0xb0]
push eax
mov dword [esp + 0x38], vtable.SocketChannel::AutoCounter.0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
add dword [esi + 0xc8], ebx
lea ecx, [esp + 0x3c]
call fcn.004021e0
mov eax, dword [ebp + 8]
mov dword [esp + 0x4d8], ebx
mov ecx, dword [edi + 4]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ecx + 0x4c]
push eax
call fcn.00429600
mov esi, dword [edi + 4]
add esi, 8
lea eax, [esi + 4]
push eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x1c]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
call fcn.004021e0
test esi, esi
je 0x42bcea
mov byte [esp + 0x17], 0
jmp 0x42b516
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 4]
add esi, 0x90
lea eax, [esi + 4]
push eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [esi + 0x1c]
lea ecx, [esp + 0x50]
call fcn.004021e0
test bl, bl
jne 0x42bcea
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x4c]
mov esi, dword [eax]
test esi, esi
mov eax, dword [eax + 8]
je 0x42bc00
test eax, eax
je 0x42bc00
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
call dword [esp + 0x50]
add esp, 0xc
sub eax, 0
je 0x42b691
sub eax, 1
je 0x42bb28
sub eax, 1
jne 0x42b516
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
push 0
add eax, 0x14
push eax
lea ecx, [esp + 0x78]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x70]
and ebx, 0x1f
call fcn.004021e0
test bl, 0x10
je 0x42b677
push 1
push 2
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1c8], 0x10
mov dword [esp + 0x1cc], str..NetworkModelSocketChannel.cpp
mov dword [esp + 0x1d0], str.SocketChannel::OnRead
mov dword [esp + 0x1d4], 0x181
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 2
mov dword [esp + 0x1e0], 0xfffff43e
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push 0x43b43c
push ecx
mov byte [esp + 0x4e0], 5
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xcc]
push str._OnRead_Failure__Msg:
push eax
lea ecx, [esp + 0x1ec]
push str._SChannel_:
push ecx
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 0xc
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x4d8], 1
call fcn.00428850
mov edx, dword [edi + 4]
mov byte [edi + 8], 1
mov ecx, dword [edx + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov byte [edi + 8], 0
jmp 0x42bc00
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42b69f
mov dword [esp + 0x20], eax
jmp 0x42b6b1
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x20]
push eax
push esi
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 8]
add esp, 0xc
cmp ecx, edx
jl 0x42b6e5
sub ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax]
push ecx
add edx, eax
push edx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edi, dword [edi + 4]
push ecx
add edi, 0x5c
call fcn.0042cc10
test eax, eax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
je 0x42ba25
mov esi, dword [edi + 4]
add esi, 0x90
lea eax, [esi + 4]
push eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [esi + 0x1c]
lea ecx, [esp + 0x58]
call fcn.004021e0
test bl, bl
jne 0x42ba25
call fcn.00402130
mov esi, eax
mov edx, dword [esi + 4]
push 0
add edx, 0x14
push edx
lea ecx, [esp + 0x88]
call fcn.004198b0
mov eax, dword [esi + 4]
mov ebx, dword [eax]
lea ecx, [esp + 0x80]
and ebx, 0x1f
call fcn.004021e0
test bl, 1
je 0x42b821
xor eax, eax
push 1
push 2
lea ecx, [esp + 0x280]
mov dword [esp + 0x264], 1
mov dword [esp + 0x268], str..NetworkModelSocketChannel.cpp
mov dword [esp + 0x26c], str.SocketChannel::OnRead
mov dword [esp + 0x270], 0x193
mov dword [esp + 0x274], eax
mov dword [esp + 0x278], eax
mov dword [esp + 0x27c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov byte [esp + 0x4d8], 8
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xcc]
push ecx
push ecx
push str._OnRead_Success_seq:
push eax
lea ecx, [esp + 0x288]
push str.SChannel:
push ecx
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea ecx, [esp + 0x25c]
mov byte [esp + 0x4d8], 1
call fcn.00428850
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, dword [edi + 4]
mov ebx, eax
add esi, 0x90
lea eax, [esi + 4]
push eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [esi + 0x1c]
mov byte [esp + 0x1f], cl
lea ecx, [esp + 0x48]
call fcn.004021e0
cmp byte [esp + 0x1f], 0
jne 0x42bb0d
test ebx, ebx
je 0x42bb0d
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [edi - 4]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x4c], eax
call edx
test al, al
je 0x42bb0d
mov esi, dword [edi + 4]
add esi, 0x90
call fcn.0041e9d0
test al, al
jne 0x42b512
call fcn.00402130
call fcn.00429250
test al, 1
je 0x42b92c
push 0x199
mov edx, str.SocketChannel::OnRead
mov ecx, str..NetworkModelSocketChannel.cpp
mov eax, 1
lea esi, [esp + 0x2fc]
call fcn.004287e0
mov esi, dword [esp + 0x18]
mov byte [esp + 0x4d8], 0xa
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xcc]
push str._OnRead_return_true
push edx
add eax, 0x1c
push str.SChannel:
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x4d8], 1
call fcn.00428850
jmp 0x42b930
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 4]
mov ebx, dword [esp + 0x2c]
push ebx
add edi, 0x5c
call fcn.0042cb30
test al, al
je 0x42b98c
mov eax, dword [esi + 4]
add eax, 0x2c
call fcn.00430e60
mov edi, eax
test edi, edi
je 0x42bb0d
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 4]
add esi, 0x90
call fcn.0041e9d0
test al, al
jne 0x42bb0d
mov edx, dword [edi]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0xc]
push ebx
push eax
mov ecx, edi
call edx
mov byte [esp + 0x17], 1
jmp 0x42bb0d
call fcn.00402130
call fcn.00429250
test al, 1
je 0x42bb0d
push 0x1a2
mov edx, str.SocketChannel::OnRead
mov ecx, str..NetworkModelSocketChannel.cpp
mov eax, 1
lea esi, [esp + 0x398]
call fcn.004287e0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x4d8], 0xb
mov ecx, dword [esp + 0x28]
push str._FAILED
push ecx
mov ecx, dword [edx + 4]
mov edx, dword [ecx + 0xcc]
push str._OnRead_Success_Remove_seq:
push edx
add eax, 0x1c
push str.SChannel:
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401ae0
add esp, 8
mov byte [esp + 0x4d8], 1
mov ecx, esi
jmp 0x42bb08
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
push 0
add eax, 0x14
push eax
lea ecx, [esp + 0x80]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x78]
and ebx, 0x1f
call fcn.004021e0
test bl, 1
je 0x42bb0d
mov ebx, 1
xor eax, eax
push ebx
push 2
lea ecx, [esp + 0xac]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], str..NetworkModelSocketChannel.cpp
mov dword [esp + 0x98], str.SocketChannel::OnRead
mov dword [esp + 0x9c], 0x1a6
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov byte [esp + 0x4d8], 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 4]
push edx
push ecx
mov ecx, dword [eax + 0xcc]
push str._OnRead_Success__No_seq:
push ecx
lea edx, [esp + 0xb4]
push str.SChannel:
push edx
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov byte [esp + 0x4d8], bl
lea ecx, [esp + 0x88]
call fcn.00428850
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42b512
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x42b512
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
push 0
add eax, 0x14
push eax
lea ecx, [esp + 0x70]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x68]
and ebx, 0x1f
call fcn.004021e0
test bl, 1
je 0x42bc00
xor eax, eax
push 1
push 2
lea ecx, [esp + 0x148]
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], str..NetworkModelSocketChannel.cpp
mov dword [esp + 0x134], str.SocketChannel::OnRead
mov dword [esp + 0x138], 0x18a
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov byte [esp + 0x4d8], 6
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xcc]
push str._OnRead_Continue
push eax
lea ecx, [esp + 0x148]
push str.SChannel:
push ecx
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x124]
mov byte [esp + 0x4d8], 1
call fcn.00428850
cmp byte [esp + 0x17], 0
je 0x42bcea
mov esi, dword [edi + 4]
add esi, 0x90
lea eax, [esi + 4]
push eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [esi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.004021e0
test bl, bl
jne 0x42bcea
mov edi, dword [edi + 4]
add edi, 0x5c
call fcn.0042ca60
test al, al
jne 0x42bcea
call fcn.00402130
call fcn.00429250
test al, 1
je 0x42bccf
push 0x1b1
mov edx, str.SocketChannel::OnRead
mov ecx, str..NetworkModelSocketChannel.cpp
mov eax, 1
lea esi, [esp + 0x434]
call fcn.004287e0
mov esi, dword [esp + 0x18]
mov byte [esp + 0x4d8], 0xe
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0xcc]
push str._isRemoved_drive
push ecx
add eax, 0x1c
push str.SChannel:
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x430]
mov byte [esp + 0x4d8], 1
call fcn.00428850
jmp 0x42bcd3
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 4]
push 0
add edi, 0x5c
call fcn.0042c980
lea edi, [esi - 4]
mov ecx, eax
call fcn.0042c470
lea ecx, [esp + 0x34]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.004296d0
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8