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

Disassembly:
sub esp, 0x80
mov eax, dword [0x4a2074]
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.0045bb30
add esp, 4
test eax, eax
je 0x45cbcb
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x4a352c]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
je 0x45c9b0
test eax, eax
jne 0x45cafb
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4a352c]
push 1
push dword [ebx]
mov eax, dword [eax + 8]
call eax
cmp eax, 0x80090300
je 0x45c9b0
test eax, eax
jne 0x45cafb
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.0041a9c0
push edi
mov dword [esp + 0x38], eax
call fcn.0045bb30
push eax
call fcn.00426600
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 [0x4a352c]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x45cbcb
cmp dword [esp + 0x34], 4
je 0x45c942
push str.GSSAPI_handshake_failure__invalid_security_data__n
jmp 0x45cbd0
mov eax, dword [esp + 0x3c]
push eax
mov ebx, dword [eax]
mov eax, dword [0x4a352c]
mov eax, dword [eax + 0x40]
call eax
movzx eax, bl
mov dword [esp + 0x10], eax
test eax, reloc.WS2_32.dll_accept
jne 0x45c96b
push str.GSSAPI_handshake_failure__invalid_security_layer__n
jmp 0x45cbd0
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 [0x4a2048]
mov edi, eax
add esp, 4
test edi, edi
je 0x45c9b0
push dword [esp + 0x1c]
call fcn.00473b9a
mov esi, eax
add esp, 4
test esi, esi
jne 0x45c9ba
push edi
call dword [0x4a204c]
add esp, 4
mov eax, 0x1b
jmp 0x45cbde
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c9c0
sub ecx, edx
lea eax, [ecx + 5]
push eax
mov dword [esp + 0x24], eax
call dword [0x4a2048]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x45c9f5
push edi
call dword [0x4a204c]
push esi
call fcn.004659f3
lea eax, [ebx + 0x1b]
jmp 0x45cbdb
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 0x45ca10
push esi
call fcn.004659f3
push dword [esp + 0x64]
call dword [0x4a2048]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45ca4c
push ebx
call dword [0x4a204c]
push edi
call dword [0x4a204c]
lea eax, [ebp + 0x1b]
jmp 0x45cbdb
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.00426600
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 [0x4a352c]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x45cb05
push ebp
call dword [0x4a204c]
push ebx
call dword [0x4a204c]
push edi
call dword [0x4a204c]
add esp, 0xc
cmp esi, 0x80090300
je 0x45c9b0
mov eax, 0x5e
jmp 0x45cbde
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x18], eax
call dword [0x4a2048]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45cb4c
push ebp
call dword [0x4a204c]
push ebx
call dword [0x4a204c]
push edi
call dword [0x4a204c]
add esp, 0xc
mov eax, 0x1b
jmp 0x45cbde
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.0045f210
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.0045f210
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.0045f210
push ebp
call dword [0x4a204c]
push ebx
call dword [0x4a204c]
push edi
call dword [0x4a204c]
push fcn.00417d10
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.0045bbb0
add esp, 0x40
xor eax, eax
jmp 0x45cbde
push str.GSSAPI_handshake_failure__empty_security_message__n
push esi
call fcn.00423ed0
mov eax, 0x3d
add esp, 8
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045d9c6
add esp, 0x80
ret