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

Disassembly:
sub esp, 0x80
mov eax, dword [0x5a83f8]
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.00531f30
add esp, 4
test eax, eax
jne 0x46e530
push str.GSSAPI_handshake_failure__empty_security_message_
push esi
call fcn.0042ffe0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0046ec22
add esp, 0x80
ret
lea eax, [esp + 0x54]
push eax
mov eax, dword [0x5a9df4]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
jne 0x46e565
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0046ec22
add esp, 0x80
ret
test eax, eax
je 0x46e583
pop edi
pop esi
mov eax, 0x5e
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0046ec22
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.0046baf0
push edi
mov dword [esp + 0x34], eax
call fcn.00531f30
push eax
call fcn.0041db40
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 [0x5a9df4]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x46e508
cmp dword [esp + 0x30], 4
je 0x46e628
push str.GSSAPI_handshake_failure__invalid_security_data_
push esi
call fcn.0042ffe0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0046ec22
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 [0x5a9df4]
mov eax, dword [eax + 0x40]
call eax
and dword [esp + 0x10], 0x80000001
jne 0x46e686
push str.GSSAPI_handshake_failure__invalid_security_layer_
push esi
call fcn.0042ffe0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0046ec22
add esp, 0x80
ret
xor eax, eax
test ebx, ebx
push ebp
push dword [esp + 0x64]
cmovne ebx, eax
call dword [section..data]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x46e84d
mov esi, dword [esp + 0x20]
mov eax, 4
mov dword [esp + 0x10], eax
test esi, esi
je 0x46e6d0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e6c0
sub ecx, edx
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x46e6f2
push ebp
call dword [0x5a8004]
add esp, 4
lea eax, [edi + 0x1b]
jmp 0x46e8d1
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 0x46e729
cmp byte [esi], 0
je 0x46e729
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
push eax
lea eax, [edi + 4]
push esi
push eax
call fcn.004effe0
add esp, 0xc
push dword [esp + 0x60]
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46e755
push edi
call dword [0x5a8004]
push ebp
call dword [0x5a8004]
add esp, 8
lea eax, [ebx + 0x1b]
jmp 0x46e8d1
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.0041db40
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 [0x5a9df4]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x46e810
push ebx
call dword [0x5a8004]
push edi
call dword [0x5a8004]
push ebp
call dword [0x5a8004]
add esp, 0xc
mov eax, 0x5e
cmp esi, 0x80090300
mov ecx, 0x1b
cmove eax, ecx
jmp 0x46e8d1
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x1c], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x46e854
push ebx
call dword [0x5a8004]
push edi
call dword [0x5a8004]
push ebp
call dword [0x5a8004]
add esp, 0xc
mov eax, 0x1b
jmp 0x46e8d1
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.004effe0
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.004effe0
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.004effe0
push ebx
call dword [0x5a8004]
push edi
call dword [0x5a8004]
push ebp
call dword [0x5a8004]
push 0x4211e0
push dword [esp + 0x4c]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.0046bb00
add esp, 0x40
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046ec22
add esp, 0x80
ret