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

Disassembly:
sub esp, 0x80
mov eax, dword [0x53b0f8]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
call fcn.0049e120
add esp, 4
test eax, eax
jne 0x4a1110
push str.GSSAPI_handshake_failure__empty_security_message_
push esi
call fcn.00467490
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret
lea eax, [esp + 0x54]
push eax
mov eax, dword [0x53db78]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
jne 0x4a1145
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret
test eax, eax
je 0x4a1163
pop edi
pop esi
mov eax, 0x5e
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], 0
push edi
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], 0xa
call fcn.0049e1a0
push edi
mov dword [esp + 0x34], eax
call fcn.0049e120
push eax
call fcn.00469a20
add esp, 0xc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
push eax
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [0x53db78]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x4a10e8
cmp dword [esp + 0x30], 4
je 0x4a1208
push str.GSSAPI_handshake_failure__invalid_security_data_
push esi
call fcn.00467490
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret
mov ecx, dword [esp + 0x38]
push ecx
movzx eax, byte [ecx]
movzx ebx, byte [ecx + 1]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 3]
shl ebx, 8
or ebx, eax
mov eax, dword [0x53db78]
mov eax, dword [eax + 0x40]
call eax
and dword [esp + 0x10], 0x80000001
jne 0x4a1266
push str.GSSAPI_handshake_failure__invalid_security_layer_
push esi
call fcn.00467490
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret
xor eax, eax
test ebx, ebx
push ebp
push dword [esp + 0x64]
cmovne ebx, eax
call dword [0x53b124]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a142d
mov esi, dword [esp + 0x20]
mov eax, 4
mov dword [esp + 0x10], eax
test esi, esi
je 0x4a12b0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a12a0
sub ecx, edx
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
push eax
call dword [0x53b124]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a12d2
push ebp
call dword [0x53b128]
add esp, 4
lea eax, [edi + 0x1b]
jmp 0x4a14b1
mov eax, dword [esp + 0x14]
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], bl
test esi, esi
je 0x4a1309
cmp byte [esi], 0
je 0x4a1309
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
push eax
lea eax, [edi + 4]
push esi
push eax
call fcn.004a26f0
add esp, 0xc
push dword [esp + 0x60]
call dword [0x53b124]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a1335
push edi
call dword [0x53b128]
push ebp
call dword [0x53b128]
add esp, 8
lea eax, [ebx + 0x1b]
jmp 0x4a14b1
push dword [esp + 0x10]
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], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], edi
call fcn.00469a20
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 + 0x20]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x94], ebx
push dword [eax + 4]
mov eax, dword [0x53db78]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x4a13f0
push ebx
call dword [0x53b128]
push edi
call dword [0x53b128]
push ebp
call dword [0x53b128]
add esp, 0xc
mov eax, 0x5e
cmp esi, 0x80090300
mov ecx, 0x1b
cmove eax, ecx
jmp 0x4a14b1
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x1c], eax
call dword [0x53b124]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a1434
push ebx
call dword [0x53b128]
push edi
call dword [0x53b128]
push ebp
call dword [0x53b128]
add esp, 0xc
mov eax, 0x1b
jmp 0x4a14b1
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.004a26f0
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.004a26f0
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.004a26f0
push ebx
call dword [0x53b128]
push edi
call dword [0x53b128]
push ebp
call dword [0x53b128]
push 0x494680
push dword [esp + 0x4c]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.0049e1b0
add esp, 0x40
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434475
add esp, 0x80
ret