Function at 0x42ad31
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x80]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebp
je 0x42ad4f
mov dword [ebx], ebp
push 0x10000
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, ebp
pop ecx
mov dword [esp + 0x14], eax
jne 0x42adff
cmp dword [0x441ff4], ebp
je 0x42adec
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42ad8a
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42adec
cmp eax, 1
jle 0x42adec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], ebp
mov edi, eax
jge 0x42adac
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42adde
push 1
push dword [0x43e9c8]
push 0x86f
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str._Out_of_memory__1__n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, ebp
je 0x42b77a
mov dword [ebx], 3
jmp 0x42b77a
mov eax, dword [esp + 0x84]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x84], 0x90312
mov eax, dword [esp + 0x84]
cmp eax, 0x90312
je 0x42ae45
cmp eax, 0x80090318
je 0x42ae45
cmp eax, 0x90320
jne 0x42b9cb
cmp dword [esp + 0x10], ebp
je 0x42ae5c
cmp dword [esp + 0x84], 0x80090318
jne 0x42affe
cmp dword [esp + 0x1c], ebp
je 0x42aff6
mov eax, 0xf000
sub eax, dword [esp + 0x10]
je 0x42ae78
mov eax, 0x1000
jmp 0x42ae81
mov eax, 0x10000
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push eax
lea esi, [ecx + edx]
push esi
push dword [esp + 0x84]
call dword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42b35f
xor ecx, ecx
cmp ebp, ecx
je 0x42b3ee
cmp dword [0x441ff4], ecx
je 0x42af47
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42aed9
mov edx, dword [0x441fdc]
cmp dword [edx], ecx
jne 0x42af47
cmp eax, 4
jle 0x42af47
call edi
mov dword [esp + 0x84], eax
call ebx
cmp dword [0x43e9c8], 0
mov dword [esp + 0x24], eax
jge 0x42aefb
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42af2e
push 4
push dword [0x43e9c8]
push 0x8a5
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push ebp
push str._d_bytes_of_handshake_data_received_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push dword [esp + 0x84]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x48], ecx
je 0x42afee
push 4
push esi
push ebp
mov ecx, eax
call fcn.0042e9db
cmp dword [0x441ff4], 0
je 0x42afee
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42af88
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x42afee
cmp eax, 4
jle 0x42afee
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], 0
mov dword [esp + 0x84], eax
jge 0x42afa8
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42afda
push 4
push dword [0x43e9c8]
push 0x8aa
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push 0x43c998
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_SetLastError]
add dword [esp + 0x10], ebp
xor ebp, ebp
jmp 0x42affe
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x14]
push 2
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
pop eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x60]
push ebp
push eax
push 0x10
mov eax, dword [0x4453cc]
push ebp
push 0xc11c
push ebp
push dword [esp + 0xa8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x94], ebp
push dword [esp + 0xa8]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], ebp
call dword [eax + 0x18]
cmp eax, ebp
mov dword [esp + 0x84], eax
je 0x42b0bd
cmp eax, 0x90312
je 0x42b0bd
cmp eax, ebp
jge 0x42b23a
test byte [esp + 0x29], 0x40
je 0x42b23a
cmp dword [esp + 0x38], ebp
je 0x42b23a
cmp dword [esp + 0x40], ebp
je 0x42b23a
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x48]
push dword [esp + 0x84]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
je 0x42b518
cmp esi, ebp
je 0x42b518
cmp dword [0x441ff4], ebp
je 0x42b186
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42b121
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b186
cmp eax, 4
jle 0x42b186
call edi
mov dword [esp + 0x24], eax
call ebx
cmp dword [0x43e9c8], ebp
mov dword [esp + 0x2c], eax
jge 0x42b13f
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b172
push 4
push dword [0x43e9c8]
push 0x902
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push esi
push str._d_bytes_of_handshake_data_sent_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x48], ebp
je 0x42b223
push 4
mov ecx, eax
push dword [esp + 0x44]
push esi
call fcn.0042e9db
cmp dword [0x441ff4], ebp
je 0x42b223
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42b1c4
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b223
cmp eax, 4
jle 0x42b223
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov dword [esp + 0x2c], eax
jge 0x42b1e0
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b212
push 4
push dword [0x43e9c8]
push 0x907
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push 0x43c998
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x40]
mov eax, dword [0x4453cc]
call dword [eax + 0x40]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x40], ebp
cmp eax, 0x80090318
je 0x42ae25
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x42b5c0
jl 0x42b839
cmp eax, 0x90320
jne 0x42b324
cmp dword [0x441ff4], ebp
je 0x42b2f1
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42b28c
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b2f1
cmp eax, 4
jle 0x42b2f1
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov dword [esp + 0x84], eax
jge 0x42b2ab
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b2dd
push 4
push dword [0x43e9c8]
push 0x97e
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str.Look_for_client_certificate_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], 1
push dword [esp + 0x80]
call fcn.0042e31f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x84], 0x90312
jmp 0x42ae25
cmp dword [esp + 0x6c], 5
jne 0x42b356
mov eax, dword [esp + 0x10]
push dword [esp + 0x68]
sub eax, dword [esp + 0x6c]
add eax, dword [esp + 0x18]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esp + 0x74]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x42ae25
mov dword [esp + 0x10], ebp
jmp 0x42ae25
xor ebp, ebp
cmp dword [0x441ff4], ebp
je 0x42b478
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42b390
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b478
cmp eax, 1
jle 0x42b478
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b3aa
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b3e1
push 1
push dword [0x43e9c8]
push 0x892
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
add esp, 0x10
call edi
push eax
push str._Error__d_reading_data_from_server_n
call fcn.0041c506
pop ecx
pop ecx
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
jmp 0x42b472
cmp dword [0x4455a0], ecx
jne 0x42b48a
cmp dword [0x441ff4], ecx
je 0x42b478
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42b41d
mov edx, dword [0x441fdc]
cmp dword [edx], ecx
jne 0x42b478
cmp eax, 1
jle 0x42b478
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], 0
mov edi, eax
jge 0x42b438
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b46a
push 1
push dword [0x43e9c8]
push 0x89a
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str._Server_unexpectedly_disconnected_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x84], 0x80090304
xor ebp, ebp
jmp 0x42b9cb
cmp dword [0x441ff4], ecx
je 0x42b508
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x42b4ad
mov edx, dword [0x441fdc]
cmp dword [edx], ecx
jne 0x42b508
cmp eax, 3
jle 0x42b508
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], 0
mov edi, eax
jge 0x42b4c8
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b4fa
push 3
push dword [0x43e9c8]
push 0x89f
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str.Server_reset__lets_try_next_certificate_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x84], 0x90312
jmp 0x42b483
cmp dword [0x441ff4], ebp
je 0x42b59a
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42b53b
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b59a
cmp eax, 1
jle 0x42b59a
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b555
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b58c
push 1
push dword [0x43e9c8]
push 0x8fb
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
add esp, 0x10
call edi
push eax
push str._Error__d_sending_data_to_server__2__n
call fcn.0041c506
pop ecx
pop ecx
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x40]
mov eax, dword [0x4453cc]
call dword [eax + 0x40]
mov eax, dword [esp + 0x8c]
cmp eax, ebp
je 0x42b77a
mov dword [eax], 1
jmp 0x42b77a
cmp dword [0x441ff4], ebp
je 0x42b642
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x42b5e3
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b642
cmp eax, 3
jle 0x42b642
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov dword [esp + 0x78], eax
jge 0x42b5ff
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b631
push 3
push dword [0x43e9c8]
push 0x929
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str.Handshake_was_successful_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x78]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x6c], 5
jne 0x42b825
cmp dword [0x441ff4], ebp
je 0x42b6cf
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 2
je 0x42b670
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b6cf
cmp eax, 2
jle 0x42b6cf
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov dword [esp + 0x78], eax
jge 0x42b68c
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b6be
push 2
push dword [0x43e9c8]
push 0x92d
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str.Handshake_get_extra_data_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x78]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x68]
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, dword [esp + 0x8c]
cmp eax, ebp
pop ecx
mov dword [esi + 8], eax
jne 0x42b784
cmp dword [0x441ff4], ebp
je 0x42b769
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42b70f
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b769
cmp eax, 1
jle 0x42b769
call edi
mov esi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov edi, eax
jge 0x42b729
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b75b
push 1
push dword [0x43e9c8]
push 0x932
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str._Out_of_memory__2__n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x8c]
cmp eax, ebp
je 0x42b77a
mov dword [eax], 3
mov eax, 0x80090304
jmp 0x42b9fd
mov ecx, dword [esp + 0x10]
push dword [esp + 0x68]
sub ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esp + 0x74]
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], 2
cmp dword [0x441ff4], ebp
je 0x42b9cb
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42b7db
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b9cb
cmp eax, 4
jle 0x42b9cb
call edi
mov edi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b7f5
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b9bd
push 4
push dword [0x43e9c8]
push 0x93f
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [esi]
push str._d_bytes_of_app_data_was_bundled_with_handshake_data_n
jmp 0x42b9b0
mov eax, dword [esp + 0x88]
mov dword [eax + 8], ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
jmp 0x42b9cb
cmp dword [esp + 0x20], ebp
je 0x42b8c9
cmp dword [0x4455a0], ebp
je 0x42b8c9
cmp dword [0x441ff4], ebp
je 0x42b9cb
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x42b87a
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b9cb
cmp eax, 3
jle 0x42b9cb
call edi
mov edi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b894
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b9bd
push 3
push dword [0x43e9c8]
push 0x958
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [esp + 0x94]
push str._Error_0x_x_returned_by_InitializeSecurityContext__retry_cert_n
jmp 0x42b9b0
mov esi, 0x80090331
cmp eax, esi
jne 0x42b947
cmp dword [0x441ff4], ebp
je 0x42b9cb
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x42b901
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b9cb
cmp eax, 3
jle 0x42b9cb
call edi
mov edi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b91b
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b9bd
push 3
push dword [0x43e9c8]
push 0x95e
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push esi
push str._SEC_E_ALGORITHM_MISMATCH_returned_by_InitializeSecurityContext__2__n
jmp 0x42b9b0
cmp dword [0x441ff4], ebp
je 0x42b9cb
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42b96a
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebp
jne 0x42b9cb
cmp eax, 1
jle 0x42b9cb
call edi
mov edi, eax
call ebx
cmp dword [0x43e9c8], ebp
mov ebx, eax
jge 0x42b984
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42b9bd
push 1
push dword [0x43e9c8]
push 0x962
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [esp + 0x94]
push str._Error_0x_x_returned_by_InitializeSecurityContext__2__n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_free]
cmp dword [esp + 0x24], ebp
pop ecx
je 0x42b9f6
mov eax, dword [esp + 0x8c]
cmp eax, ebp
je 0x42b9f6
cmp dword [esp + 0x84], ebp
jge 0x42b9f6
mov dword [eax], 2
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18