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

Disassembly:
sub esp, 0x80
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x98]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
call fcn.004d04c0
add esp, 4
test eax, eax
je 0x4d124b
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x659714]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
je 0x4d1030
test eax, eax
jne 0x4d117b
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x659714]
push 1
push dword [ebx]
mov eax, dword [eax + 8]
call eax
cmp eax, 0x80090300
je 0x4d1030
test eax, eax
jne 0x4d117b
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push edi
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], 0xa
call fcn.0048ec60
push edi
mov dword [esp + 0x38], eax
call fcn.004d04c0
push eax
call fcn.0049b2c0
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
push eax
push 0
lea eax, [esp + 0x48]
push eax
mov eax, dword [0x659714]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x4d124b
cmp dword [esp + 0x34], 4
je 0x4d0fc2
push str.GSSAPI_handshake_failure__invalid_security_data__n
jmp 0x4d1250
mov eax, dword [esp + 0x3c]
push eax
mov ebx, dword [eax]
mov eax, dword [0x659714]
mov eax, dword [eax + 0x40]
call eax
movzx eax, bl
mov dword [esp + 0x10], eax
test eax, reloc.WS2_32.dll_accept
jne 0x4d0feb
push str.GSSAPI_handshake_failure__invalid_security_layer__n
jmp 0x4d1250
and ebx, 0xffffff00
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x64]
mov ebp, eax
xor eax, eax
test ebp, ebp
cmovne ebp, eax
call dword [0x64c024]
mov edi, eax
add esp, 4
test edi, edi
je 0x4d1030
push dword [esp + 0x1c]
call fcn.005cfb1c
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d103a
push edi
call dword [0x64c028]
add esp, 4
mov eax, 0x1b
jmp 0x4d125e
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d1040
sub ecx, edx
lea eax, [ecx + 5]
push eax
mov dword [esp + 0x24], eax
call dword [0x64c024]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4d1075
push edi
call dword [0x64c028]
push esi
call fcn.005a8164
lea eax, [ebx + 0x1b]
jmp 0x4d125b
push ebp
call dword [sym.imp.WS2_32.dll_htonl]
or eax, dword [esp + 0x10]
mov edx, ebx
mov dword [ebx], eax
mov ecx, esi
sub edx, esi
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 3], al
test al, al
jne 0x4d1090
push esi
call fcn.005a8164
push dword [esp + 0x64]
call dword [0x64c024]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4d10cc
push ebx
call dword [0x64c028]
push edi
call dword [0x64c028]
lea eax, [ebp + 0x1b]
jmp 0x4d125b
push dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], 3
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], ebx
call fcn.0049b2c0
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x84], 9
push 0
push eax
mov eax, dword [esp + 0x1c]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x94], ebp
push dword [eax + 4]
mov eax, dword [0x659714]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x4d1185
push ebp
call dword [0x64c028]
push ebx
call dword [0x64c028]
push edi
call dword [0x64c028]
add esp, 0xc
cmp esi, 0x80090300
je 0x4d1030
mov eax, 0x5e
jmp 0x4d125e
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x18], eax
call dword [0x64c024]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d11cc
push ebp
call dword [0x64c028]
push ebx
call dword [0x64c028]
push edi
call dword [0x64c028]
add esp, 0xc
mov eax, 0x1b
jmp 0x4d125e
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.005a5500
push dword [esp + 0x80]
mov esi, dword [esp + 0x78]
push dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
add eax, esi
push eax
call fcn.005a5500
push dword [esp + 0x98]
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x2c]
push dword [esp + 0xa4]
add eax, esi
push eax
call fcn.005a5500
push ebp
call dword [0x64c028]
push ebx
call dword [0x64c028]
push edi
call dword [0x64c028]
push fcn.0048bef0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.004d0540
add esp, 0x40
xor eax, eax
jmp 0x4d125e
push str.GSSAPI_handshake_failure__empty_security_message__n
push esi
call fcn.00498af0
mov eax, 0x3d
add esp, 8
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00483ab6
add esp, 0x80
ret