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

Disassembly:
sub esp, 0x80
mov eax, dword [0x47602c]
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.00441730
add esp, 4
test eax, eax
je 0x4427cb
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x476bdc]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
je 0x4425b0
test eax, eax
jne 0x4426fb
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x476bdc]
push 1
push dword [ebx]
mov eax, dword [eax + 8]
call eax
cmp eax, 0x80090300
je 0x4425b0
test eax, eax
jne 0x4426fb
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.00404f50
push edi
mov dword [esp + 0x38], eax
call fcn.00441730
push eax
call fcn.0040c760
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 [0x476bdc]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x4427cb
cmp dword [esp + 0x34], 4
je 0x442542
push str.GSSAPI_handshake_failure__invalid_security_data__n
jmp 0x4427d0
mov eax, dword [esp + 0x3c]
push eax
mov ebx, dword [eax]
mov eax, dword [0x476bdc]
mov eax, dword [eax + 0x40]
call eax
movzx eax, bl
mov dword [esp + 0x10], eax
test eax, reloc.WS2_32.dll_accept
jne 0x44256b
push str.GSSAPI_handshake_failure__invalid_security_layer__n
jmp 0x4427d0
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 [section..data]
mov edi, eax
add esp, 4
test edi, edi
je 0x4425b0
push dword [esp + 0x1c]
call fcn.0045374c
mov esi, eax
add esp, 4
test esi, esi
jne 0x4425ba
push edi
call dword [0x476004]
add esp, 4
mov eax, 0x1b
jmp 0x4427de
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4425c0
sub ecx, edx
lea eax, [ecx + 5]
push eax
mov dword [esp + 0x24], eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4425f5
push edi
call dword [0x476004]
push esi
call fcn.00446e2d
lea eax, [ebx + 0x1b]
jmp 0x4427db
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 0x442610
push esi
call fcn.00446e2d
push dword [esp + 0x64]
call dword [section..data]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x44264c
push ebx
call dword [0x476004]
push edi
call dword [0x476004]
lea eax, [ebp + 0x1b]
jmp 0x4427db
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.0040c760
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 [0x476bdc]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x442705
push ebp
call dword [0x476004]
push ebx
call dword [0x476004]
push edi
call dword [0x476004]
add esp, 0xc
cmp esi, 0x80090300
je 0x4425b0
mov eax, 0x5e
jmp 0x4427de
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x18], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44274c
push ebp
call dword [0x476004]
push ebx
call dword [0x476004]
push edi
call dword [0x476004]
add esp, 0xc
mov eax, 0x1b
jmp 0x4427de
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.00444700
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.00444700
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.00444700
push ebp
call dword [0x476004]
push ebx
call dword [0x476004]
push edi
call dword [0x476004]
push fcn.00404650
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.004417b0
add esp, 0x40
xor eax, eax
jmp 0x4427de
push str.GSSAPI_handshake_failure__empty_security_message__n
push esi
call fcn.0040a1e0
mov eax, 0x3d
add esp, 8
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004435c6
add esp, 0x80
ret