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

Disassembly:
sub esp, 0x80
mov edx, dword [esp + 0x88]
push esi
push edi
xor edi, edi
mov eax, edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 0x18], edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449f72
sub eax, esi
je 0x449fa3
cmp byte [edx], 0x3d
je 0x449fa3
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.0041fab0
add esp, 0xc
cmp eax, edi
jne 0x44a3c9
cmp dword [esp + 8], edi
jne 0x449fc6
mov edx, dword [esp + 0x8c]
push str.GSSAPI_handshake_failure__empty_security_message__n
push edx
call fcn.0040ffd0
add esp, 8
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
mov edx, dword [0x592dc8]
push ebx
mov ebx, dword [esp + 0x98]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 0x2c]
push edi
push ecx
call eax
mov esi, eax
cmp esi, edi
je 0x449ff0
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x44a010
mov eax, dword [ebx]
mov ecx, dword [0x592dc8]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 8]
push 1
push eax
call edx
mov esi, eax
cmp esi, edi
je 0x44a033
mov eax, dword [esp + 0xc]
push eax
call dword [0x58d0c0]
add esp, 4
lea eax, [esi + 0x7ff6fd00]
neg eax
sbb eax, eax
pop ebx
and eax, 0x43
pop edi
add eax, 0x1b
pop esi
add esp, 0x80
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x50]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], 0xa
mov dword [esp + 0x5c], edx
call fcn.004131f0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x592dc8]
push edi
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], edi
mov edx, dword [ecx + 0x68]
push eax
call edx
test eax, eax
je 0x44a0c5
mov eax, dword [esp + 0x90]
push str.GSSAPI_handshake_failure__empty_security_message__n
push eax
call fcn.0040ffd0
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x58d0c0]
add esp, 0xc
pop ebx
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
cmp dword [esp + 0x5c], 4
je 0x44a0fb
mov edx, dword [esp + 0x90]
push str.GSSAPI_handshake_failure__invalid_security_data__n
push edx
call fcn.0040ffd0
mov eax, dword [esp + 0x14]
push eax
call dword [0x58d0c0]
add esp, 0xc
pop ebx
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [0x592dc8]
mov edx, dword [ecx + 0x40]
mov ebx, dword [eax]
push eax
call edx
mov eax, dword [esp + 0xc]
push eax
call dword [0x58d0c0]
movzx eax, bl
add esp, 4
mov dword [esp + 0x24], eax
test eax, reloc.WS2_32.dll_accept
jne 0x44a14d
mov ecx, dword [esp + 0x90]
push str.GSSAPI_handshake_failure__invalid_security_layer__n
push ecx
call fcn.0040ffd0
add esp, 8
pop ebx
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
and ebx, 0xffffff00
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x14], eax
cmp eax, edi
jbe 0x44a166
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x4c]
push ebp
push edx
call dword [0x58d0bc]
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, edi
je 0x44a31b
mov eax, dword [esp + 0x24]
mov ebx, eax
cmp eax, edi
je 0x44a1ac
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a190
sub eax, edx
lea esi, [eax + 5]
push esi
call dword [0x58d0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44a1c6
push ebp
call dword [0x58d0c0]
add esp, 4
pop ebp
pop ebx
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
or eax, dword [esp + 0x28]
lea edx, [edi + 4]
mov dword [edi], eax
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a1e0
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x58d0bc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44a21d
push edi
call dword [0x58d0c0]
push ebp
call dword [0x58d0c0]
add esp, 8
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
pop edi
pop esi
add esp, 0x80
ret
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x6c]
push esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], edi
call fcn.004131f0
mov ecx, dword [esp + 0x50]
add esp, 4
push 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [0x592dc8]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 4]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x94], 9
mov dword [esp + 0x98], ebx
mov eax, dword [edx + 0x64]
push ecx
call eax
mov esi, eax
test esi, esi
je 0x44a2e0
push ebx
call dword [0x58d0c0]
push edi
call dword [0x58d0c0]
push ebp
call dword [0x58d0c0]
add esp, 0xc
lea eax, [esi + 0x7ff6fd00]
neg eax
pop ebp
sbb eax, eax
pop ebx
and eax, 0x43
pop edi
add eax, 0x1b
pop esi
add esp, 0x80
ret
mov ebp, dword [esp + 0x84]
add ebp, dword [esp + 0x78]
add ebp, dword [esp + 0x6c]
push ebp
call dword [0x58d0bc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x44a32b
push ebx
call dword [0x58d0c0]
push edi
call dword [0x58d0c0]
mov eax, dword [esp + 0x24]
push eax
call dword [0x58d0c0]
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
push ecx
push edx
push esi
call fcn.00505ee0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
push ecx
mov dword [esp + 0x38], eax
push edx
add eax, esi
push eax
call fcn.00505ee0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
push eax
add edx, esi
add edx, dword [esp + 0x44]
push ecx
push edx
call fcn.00505ee0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb8]
push eax
push ecx
push ebp
push esi
push edx
call fcn.0041fd70
push esi
mov ebp, eax
call dword [0x58d0c0]
push ebx
call dword [0x58d0c0]
add esp, 0x40
push edi
call dword [0x58d0c0]
mov eax, dword [esp + 0x20]
push eax
call dword [0x58d0c0]
add esp, 8
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x80
ret