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

Disassembly:
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x24]
call eax
mov eax, 0x1b
jmp 0x1004d4b1
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x24]
call eax
push str.Failed_to_query_security_context_attributes.
push edi
call fcn.1001abc0
add esp, 8
jmp 0x1004d4ac
call fcn.101bfae1
mov word [esp + 0x12], ax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
call fcn.1001b2b0
add esp, 0x14
test eax, eax
jne 0x1004d47c
cmp dword [esp + 0x24], 4
jne 0x1004d47c
cmp byte [edi + 0xad1], 0
lea eax, [esp + 0x24]
push eax
je 0x1004d1e5
push 1
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
push eax
push ebp
push ebx
call fcn.1001b2b0
add esp, 0x14
test eax, eax
jne 0x1004d1d2
cmp dword [esp + 0x24], 1
je 0x1004d220
push str.Failed_to_send_SSPI_encryption_type.
push edi
call fcn.1001abc0
add esp, 8
jmp 0x1004d49d
push dword [esp + 0x30]
push dword [esp + 0x3c]
push ebp
push ebx
call fcn.1001b2b0
add esp, 0x14
test eax, eax
jne 0x1004d475
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x24]
jne 0x1004d475
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1004d220
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
call fcn.10042a40
add esp, 0x14
test eax, eax
jne 0x1004d465
cmp dword [esp + 0x28], 4
jne 0x1004d465
mov al, byte [esp + 0x11]
cmp al, 0xff
jne 0x1004d26f
movzx eax, byte [esp + 0x10]
push 0xff
push eax
push str.User_was_rejected_by_the_SOCKS5_server___u__u_.
push edi
call fcn.1001abc0
add esp, 0x10
jmp 0x1004d49d
cmp al, 2
je 0x1004d290
movzx eax, al
push eax
movzx eax, byte [esp + 0x14]
push eax
push str.Invalid_SSPI_encryption_response_type___u__u_.
push edi
call fcn.1001abc0
add esp, 0x10
jmp 0x1004d49d
push dword [esp + 0x12]
call dword [0x1007a378]
movzx esi, ax
push esi
mov dword [esp + 0xa0], esi
call dword [section..data]
add esp, 4
mov dword [esp + 0xa4], eax
test eax, eax
je 0x1004cd53
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0xa0]
push eax
push ebp
push ebx
call fcn.10042a40
add esp, 0x14
test eax, eax
jne 0x1004d44e
cmp dword [esp + 0x28], esi
jne 0x1004d44e
cmp byte [edi + 0xad1], al
jne 0x1004d3de
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x80]
push eax
push 0
lea eax, [esp + 0x64]
mov dword [esp + 0x68], 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0xac], 0xa
push eax
mov eax, dword [0x10097268]
mov dword [esp + 0xbc], 1
mov eax, dword [eax + 0x68]
call eax
push str.DecryptMessage
push eax
push ebx
call fcn.1004d4d0
add esp, 0xc
test eax, eax
je 0x1004d37a
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x1004d365
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x1004d017
push eax
jmp 0x1004d00d
mov eax, dword [esp + 0xa8]
cmp eax, 1
je 0x1004d3b7
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.1001abc0
mov eax, dword [esp + 0xb0]
add esp, 0xc
test eax, eax
je 0x1004d3ab
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [esp + 0xb0]
jmp 0x1004d48e
mov eax, dword [esp + 0xb0]
push dword [esp + 0xa4]
mov al, byte [eax]
mov byte [esp + 0x14], al
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
push dword [esp + 0xb0]
jmp 0x1004d413
mov eax, dword [esp + 0x9c]
cmp eax, 1
je 0x1004d405
push eax
push str.Invalid_SSPI_encryption_response_length___lu_.
push edi
call fcn.1001abc0
add esp, 0xc
push dword [esp + 0xa4]
jmp 0x1004d493
mov ecx, dword [esp + 0xa4]
push ecx
mov al, byte [ecx]
mov byte [esp + 0x14], al
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
mov al, byte [esp + 0x10]
test al, al
jne 0x1004d42c
mov ecx, str.out_GSS_API_data
jmp 0x1004d43b
cmp al, 1
mov ecx, str._GSS_API_integrity
mov edx, str._GSS_API_confidentiality
cmovne ecx, edx
push ecx
push str.SOCKS5_access_with_s_protection_granted._n
push edi
call fcn.1001aca0
add esp, 0xc
xor eax, eax
jmp 0x1004d4b1
push str.Failed_to_receive_SSPI_encryption_type.
push edi
call fcn.1001abc0
add esp, 8
push dword [esp + 0xa4]
jmp 0x1004d493
push str.Failed_to_receive_SSPI_encryption_response.
push edi
call fcn.1001abc0
add esp, 8
jmp 0x1004d49d
push str.Failed_to_send_SSPI_encryption_type.
jmp 0x1004d481
push str.Failed_to_send_SSPI_encryption_request.
push edi
call fcn.1001abc0
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x1004d49d
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x40]
call eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10097268]
mov eax, dword [eax + 0x24]
call eax
mov eax, 7
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005408c
add esp, 0x134
ret
xchg dword [esp + 0xc], ebx
push dword [esp + 4]
popfd
lea esp, [esp + 0xc]
ret
lea ebx, [ebx + 0x6687f5b1]
jb fcn.10239254
jo 0x1004d170
ja 0x10185d9b
invalid