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

Disassembly:
push 0xffffffffffffffff
push 0x69515d
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1a0]
mov esi, ecx
push str.ed25519VerifyHostKey
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], esi
call fcn.004b1850
add esi, 0x9e0
mov ecx, esi
mov dword [esp + 0x198], 0
call fcn.00467d80
mov ecx, esi
mov edi, eax
call fcn.00544a30
mov ebp, eax
xor esi, esi
cmp ebp, 4
mov dword [esp + 0x18], esi
jb 0x598f92
movzx ecx, byte [edi + 2]
movzx edx, byte [edi + 3]
xor eax, eax
mov ah, byte [edi]
sub ebp, 4
add edi, 4
mov al, byte [edi - 3]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov esi, eax
cmp ebp, esi
jb 0x598f92
mov dword [esp + 0x18], edi
add edi, esi
sub ebp, esi
lea ecx, [esp + 0x118]
call fcn.00485650
mov eax, dword [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x1a0], 1
call fcn.004854b0
lea ecx, [esp + 0x118]
push ecx
push str.keyType
mov ecx, ebx
call fcn.004b1210
lea ecx, [esp + 0x50]
call fcn.00468060
xor eax, eax
cmp ebp, 4
mov byte [esp + 0x198], 2
jb 0x59900b
movzx ecx, byte [edi + 2]
xor edx, edx
mov dh, byte [edi]
sub ebp, 4
add edi, 4
mov dl, byte [edi - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi - 1]
shl edx, 8
or edx, ecx
mov esi, edx
cmp ebp, esi
jb 0x59900b
mov eax, edi
push esi
push eax
lea ecx, [esp + 0x58]
call fcn.00469150
lea ecx, [esp + 0x50]
call fcn.00544a30
push eax
push str.keyLen
mov ecx, ebx
call fcn.004b14c0
mov ebp, dword [esp + 0x1c]
add ebp, 0x9fc
mov ecx, ebp
call fcn.00467d80
mov ecx, ebp
mov edi, eax
call fcn.00544a30
mov ebp, eax
cmp ebp, 4
mov dword [esp + 0x18], 0
jb 0x599082
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 3]
xor edx, edx
mov dh, byte [edi]
sub ebp, 4
add edi, 4
mov dl, byte [edi - 3]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov esi, edx
cmp ebp, esi
jb 0x599082
mov dword [esp + 0x18], edi
add edi, esi
sub ebp, esi
lea ecx, [esp + 0xa4]
call fcn.00485650
mov edx, dword [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x1a0], 3
call fcn.004854b0
lea eax, [esp + 0xa4]
push eax
push str.sigName
mov ecx, ebx
call fcn.004b1210
lea ecx, [esp + 0x34]
call fcn.00468060
xor eax, eax
cmp ebp, 4
mov byte [esp + 0x198], 4
jb 0x5990fb
movzx edx, byte [edi + 2]
xor ecx, ecx
mov ch, byte [edi]
sub ebp, 4
add edi, 4
mov cl, byte [edi - 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi - 1]
shl ecx, 8
or ecx, edx
mov esi, ecx
cmp ebp, esi
jb 0x5990fb
mov eax, edi
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.00469150
lea ecx, [esp + 0x34]
call fcn.00544a30
push eax
push str.sigLen
mov ecx, ebx
call fcn.004b14c0
lea ecx, [esp + 0x34]
call fcn.00544a30
cmp eax, 0x40
je 0x59918f
lea ecx, [esp + 0x34]
mov byte [esp + 0x198], 3
call fcn.00468860
lea ecx, [esp + 0xa4]
mov byte [esp + 0x198], 2
call fcn.00485710
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 1
call fcn.00468860
lea ecx, [esp + 0x118]
mov byte [esp + 0x198], 0
call fcn.00485710
lea ecx, [esp + 0x28]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b18c0
xor al, al
jmp 0x5992de
lea ecx, [esp + 0x50]
call fcn.00544a30
cmp eax, 0x20
jne 0x59912a
lea ecx, [esp + 0x6c]
call fcn.00468060
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x19c], 5
call fcn.0046ad20
mov ecx, dword [esp + 0x1c]
add ecx, 0xa9c
push ecx
lea ecx, [esp + 0x70]
call fcn.0046ad20
lea ecx, [esp + 0x88]
call fcn.00468060
lea ecx, [esp + 0x6c]
mov byte [esp + 0x198], 6
call fcn.00544a30
add eax, 0x20
push eax
lea ecx, [esp + 0x8c]
call fcn.0046c5f0
xor esi, esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.00467d80
push eax
lea ecx, [esp + 0x70]
call fcn.00544a30
push esi
push eax
lea ecx, [esp + 0x78]
call fcn.00467d80
push eax
lea edx, [esp + 0x30]
push edx
push esi
lea ecx, [esp + 0xa0]
call fcn.00467dd0
push eax
call fcn.005b3820
add esp, 0x18
test al, al
mov byte [esp + 0x17], al
jne 0x599257
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.ed25519_host_key_failed_to_verify.
mov ecx, ebx
call edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x198], 5
call fcn.00468860
lea ecx, [esp + 0x6c]
mov byte [esp + 0x198], 4
call fcn.00468860
lea ecx, [esp + 0x34]
mov byte [esp + 0x198], 3
call fcn.00468860
lea ecx, [esp + 0xa4]
mov byte [esp + 0x198], 2
call fcn.00485710
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 1
call fcn.00468860
lea ecx, [esp + 0x118]
mov byte [esp + 0x198], 0
call fcn.00485710
lea ecx, [esp + 0x28]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b18c0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x188
ret 4