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

Disassembly:
sub esp, 0x90
mov eax, dword [0x46d060]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x98]
mov ecx, edx
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
push esi
mov dword [esp + 0x20], ebx
lea esi, [ecx + 1]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4557c7
sub ecx, esi
je 0x455bb3
cmp byte [edx], 0x3d
je 0x455bb3
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
push edx
call fcn.00439be0
add esp, 0xc
test eax, eax
jne 0x455a00
cmp dword [esp + 0x24], eax
je 0x455bb3
lea eax, [esp + 0x44]
push eax
mov eax, dword [0x46dc04]
push 0
push dword [ebp + 4]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
je 0x455846
push dword [esp + 0x24]
call dword [0x46d004]
add esp, 4
mov eax, 0x1b
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00456d98
add esp, 0x90
ret
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x46dc04]
push 1
push dword [ebp]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x455888
push dword [esp + 0x24]
call dword [0x46d004]
add esp, 4
mov eax, 0x38
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00456d98
add esp, 0x90
ret
push dword [esp + 0x54]
lea eax, [esp + 0x84]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 2
mov dword [esp + 0x88], 0xa
mov dword [esp + 0x8c], eax
call fcn.00433730
add esp, 4
mov dword [esp + 0x80], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
push eax
push 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x46dc04]
push dword [ebp + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
je 0x45593f
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebx
call fcn.00429070
push dword [esp + 0x2c]
call dword [0x46d004]
add esp, 0xc
pop esi
pop ebp
mov eax, 0x3d
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00456d98
add esp, 0x90
ret
cmp dword [esp + 0x8c], 4
je 0x455950
push str.GSSAPI_handshake_failure__invalid_security_data__n
jmp 0x45590f
mov eax, dword [esp + 0x94]
push eax
mov ecx, dword [eax]
mov eax, dword [0x46dc04]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x40]
call eax
push dword [esp + 0x24]
call dword [0x46d004]
mov eax, dword [esp + 0x10]
add esp, 4
movzx ecx, al
mov dword [esp + 0xc], ecx
test ecx, reloc.WS2_32.dll_accept
jne 0x455998
push str.GSSAPI_handshake_failure__invalid_security_layer__n
push ebx
call fcn.00429070
add esp, 8
jmp 0x455922
push edi
and eax, 0xffffff00
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x54]
mov ebp, eax
xor eax, eax
test ebp, ebp
cmovne ebp, eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
je 0x4559fa
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4559f0
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4559d0
sub ecx, edx
lea eax, [ecx + 5]
push eax
mov dword [esp + 0x1c], eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x455a18
push edi
call dword [0x46d004]
add esp, 4
mov eax, 0x1b
pop edi
mov ecx, dword [esp + 0x98]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00456d98
add esp, 0x90
ret
push ebp
call dword [sym.imp.WS2_32.dll_htonl]
or eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [ebx], eax
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi + 3], al
test al, al
jne 0x455a30
push dword [esp + 0x50]
call dword [section..data]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x455a63
push ebx
call dword [0x46d004]
push edi
call dword [0x46d004]
add esp, 8
jmp 0x4559fa
push dword [esp + 0x18]
lea eax, [esp + 0x64]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], 3
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], ebx
call fcn.00433730
add esp, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x7c], 9
push 0
push eax
mov eax, dword [esp + 0x1c]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x8c], ebp
push dword [eax + 4]
mov eax, dword [0x46dc04]
mov eax, dword [eax + 0x64]
call eax
test eax, eax
jne 0x455b05
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x6c]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x455b22
push ebp
call dword [0x46d004]
push ebx
call dword [0x46d004]
push edi
call dword [0x46d004]
add esp, 0xc
jmp 0x4559fa
push dword [esp + 0x60]
push dword [esp + 0x6c]
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esp + 0x78]
mov esi, dword [esp + 0x70]
push dword [esp + 0x84]
mov eax, dword [esp + 0x24]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esp + 0x90]
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x2c]
push dword [esp + 0x9c]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x58]
call fcn.00439d80
push dword [esp + 0x48]
mov esi, eax
call dword [0x46d004]
push ebp
call dword [0x46d004]
add esp, 0x40
push ebx
call dword [0x46d004]
push edi
call dword [0x46d004]
add esp, 8
mov eax, esi
jmp 0x4559ff
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebx
call fcn.00429070
add esp, 8
jmp 0x455922