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

Disassembly:
push 0xffffffffffffffff
push 0x6950dd
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x140]
mov esi, dword [esp + 0x130]
push str.rsaHostKeyVerify
mov dword [esp + 0x3c], ecx
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.004b1850
mov ebp, dword [esp + 0x134]
xor eax, eax
cmp ebp, 4
mov dword [esp + 0x124], eax
mov dword [esp + 0x18], eax
jb 0x598cda
movzx ecx, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
sub ebp, 4
add esi, 4
mov dl, byte [esi - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi - 1]
shl edx, 8
or edx, ecx
mov edi, edx
cmp ebp, edi
jb 0x598ba8
mov dword [esp + 0x18], esi
add esi, edi
sub ebp, edi
cmp edi, eax
je 0x598cda
lea ecx, [esp + 0xa4]
call fcn.00485650
mov edx, dword [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x12c], 1
call fcn.004854b0
lea eax, [esp + 0xa4]
push eax
push 0x6eceb0
mov ecx, ebx
call fcn.004b1210
cmp ebp, 4
mov dword [esp + 0x18], 0
jb 0x598c22
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 3]
xor ecx, ecx
mov ch, byte [esi]
sub ebp, 4
add esi, 4
mov cl, byte [esi - 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov edi, ecx
cmp ebp, edi
jb 0x598c22
mov dword [esp + 0x18], esi
add esi, edi
test edi, edi
je 0x598cc6
mov ecx, dword [esp + 0x1c]
call fcn.00565590
cmp byte [ebx + 0x121], 0
mov ebp, eax
je 0x598c4b
push ebp
push str.hostKeyNumBits
mov ecx, ebx
call fcn.004b14c0
lea ecx, [esp + 0x3c]
call fcn.00468060
mov ecx, dword [esp + 0x18]
push edi
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x12c], 2
call fcn.00469150
lea ecx, [esp + 0x2c]
call fcn.005ce510
mov eax, ebp
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x12c], 3
call fcn.005cecb0
test al, al
jne 0x598cf5
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.Failed_to_parse_s.
mov ecx, ebx
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x124], 2
call fcn.005cefd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x124], 1
call fcn.00468860
lea ecx, [esp + 0xa4]
mov byte [esp + 0x124], 0
call fcn.00485710
lea ecx, [esp + 0x20]
mov dword [esp + 0x124], 0xffffffff
call fcn.004b18c0
xor al, al
jmp 0x598eb0
lea ecx, [esp + 0x6c]
call fcn.00468060
push str.rsa_sha2_256
lea ecx, [esp + 0xa8]
mov byte [esp + 0x128], 4
mov esi, 1
call fcn.00487710
test al, al
je 0x598d27
mov esi, 7
jmp 0x598d41
push str.rsa_sha2_512
lea ecx, [esp + 0xa8]
call fcn.00487710
test al, al
je 0x598d41
mov esi, 3
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x6c]
push ecx
push esi
push edx
push eax
call fcn.0048e660
add esp, 0x10
lea ecx, [esp + 0x58]
call fcn.004ba590
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 5
call fcn.005ce8b0
test al, al
jne 0x598db4
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.Failed_to_parse_s..
mov ecx, ebx
call eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x124], 4
call fcn.004ba6d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x124], 3
call fcn.00468860
jmp 0x598ca4
lea ecx, [esp + 0x88]
call fcn.00468060
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x12c], 6
call fcn.004be6a0
mov eax, dword [esp + 0x24]
add esp, 8
push ebx
push eax
lea ecx, [esp + 0x1f]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x23], 0
call fcn.00544a30
push eax
lea ecx, [esp + 0x7c]
call fcn.00467d80
push eax
lea ecx, [esp + 0x50]
call fcn.00544a30
push eax
lea ecx, [esp + 0x54]
call fcn.00467d80
push eax
call fcn.00551c70
add esp, 0x1c
test al, al
je 0x598e2c
cmp byte [esp + 0x17], 0
je 0x598e2c
mov bl, 1
jmp 0x598e2e
xor bl, bl
lea ecx, [esp + 0x88]
mov byte [esp + 0x124], 5
call fcn.00468860
lea ecx, [esp + 0x58]
mov byte [esp + 0x124], 4
call fcn.004ba6d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x124], 3
call fcn.00468860
lea ecx, [esp + 0x2c]
mov byte [esp + 0x124], 2
call fcn.005cefd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x124], 1
call fcn.00468860
lea ecx, [esp + 0xa4]
mov byte [esp + 0x124], 0
call fcn.00485710
lea ecx, [esp + 0x20]
mov dword [esp + 0x124], 0xffffffff
call fcn.004b18c0
mov al, bl
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x114
ret