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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3266
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x10c], edi
mov esi, edx
mov dword [ebp - 0x1f0], 0x4fca94
mov dword [ebp - 0x1e0], 0x4e4be8
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0xf4], 1
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
call fcn.00401780
lea eax, [ebp - 0x1d8]
push 0x20
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], ebx
call fcn.0040b460
mov byte [ebp - 0x150], al
cmp dword [ebp - 0x158], ebx
jne 0x436798
mov eax, dword [ebp - 0x184]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0x190]
call fcn.00401640
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x1f0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x1d8]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x144], ecx
call fcn.0040a560
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jb 0x436805
mov esi, dword [esi]
push ebx
push eax
push esi
lea ecx, [ebp - 0x1d8]
call fcn.0040a880
mov dword [ebp - 4], 7
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x1f0]
push 0x20
push edx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0040cf60
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 0xc], 6
je 0x436879
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x214]
mov dword [ebp - 0xf4], str.Server_Entries_are_corrupt:_cant_parse_Server_Address
call fcn.004a936f
push 0x515244
lea ecx, [ebp - 0x214]
push ecx
call fcn.004aba66
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
mov ecx, edi
call fcn.00408200
lea eax, [ebp - 0x1f0]
push 0x20
push eax
lea ecx, [ebp - 0x30]
call fcn.0040cf60
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 0xc], 6
je 0x4368d4
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0xf4], str.Server_Entries_are_corrupt:_cant_parse_Web_Server_Port
call fcn.004a936f
push 0x515244
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004aba66
mov eax, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x4368e4
lea eax, [ebp - 0x30]
push eax
call fcn.004aa74c
add esp, 4
lea edx, [ebp - 0x1f0]
push 0x20
push edx
lea ecx, [ebp - 0x30]
mov dword [edi + 0x1c], eax
call fcn.0040cf60
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 0xc], 6
je 0x43693d
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0xf4], str.Server_Entries_are_corrupt:_cant_parse_Web_Server_Secret
call fcn.004a936f
push 0x515244
lea ecx, [ebp - 0x208]
push ecx
call fcn.004aba66
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
lea ecx, [edi + 0x20]
call fcn.00408200
lea eax, [ebp - 0x1f0]
push 0x20
push eax
lea ecx, [ebp - 0x30]
call fcn.0040cf60
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 0xc], 6
je 0x436999
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0xf4], str.Server_Entries_are_corrupt:_cant_parse_Web_Server_Certificate
call fcn.004a936f
push 0x515244
lea ecx, [ebp - 0x220]
push ecx
call fcn.004aba66
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
lea ecx, [edi + 0x3c]
call fcn.00408200
lea eax, [ebp - 0x1f0]
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040cf60
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 0xc], 6
je 0x436a12
push str.ServerEntry::FromString
push str._s:_Extended_JSON_values_not_present
push 1
push ebx
call fcn.00432650
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00406910
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 4], 0xffffffff
call fcn.00414d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
and dword [ebp - 0x128], 0xfffffe00
mov dword [ebp - 0x124], ebx
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401b90
lea ecx, [ebp - 0x130]
push ecx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
call fcn.00401cc0
test al, al
jne 0x436aca
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0xf0]
call fcn.004045c0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
call fcn.004045c0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], esi
jb 0x436a7c
mov eax, dword [eax]
push eax
push str.ServerEntry::FromString
push str._s:_Extended_JSON_parse_failed:__S
push ebx
push ebx
call fcn.00432650
add esp, 0x14
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.00406910
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0xf4], str.Server_Entries_are_corrupt:_cant_parse_JSON
call fcn.004a936f
push 0x515244
lea edx, [ebp - 0x238]
push edx
call fcn.004aba66
mov eax, dword [ebp - 0x138]
and eax, 0xfffffe06
or eax, 6
push esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ebx
call fcn.004a9f06
add esp, 4
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x436b04
mov esi, eax
call fcn.00407040
jmp 0x436b06
xor eax, eax
mov dword [ebp - 0x140], eax
push str.OSSH
lea edi, [ebp - 0x108]
mov byte [ebp - 4], 0xf
call fcn.00404a40
mov ecx, edi
push ecx
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x10
call fcn.004059a0
mov eax, edi
mov byte [ebp - 4], 0xf
call fcn.00404c20
push 0x4fedb0
lea edi, [ebp - 0x108]
call fcn.00404a40
mov edx, edi
push edx
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x11
call fcn.004059a0
mov eax, edi
mov byte [ebp - 4], 0xf
call fcn.00404c20
push 0x4fedb4
lea edi, [ebp - 0x108]
call fcn.00404a40
mov eax, edi
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x12
call fcn.004059a0
mov eax, edi
mov byte [ebp - 4], 0xf
call fcn.00404c20
push str.handshake
lea edi, [ebp - 0x108]
call fcn.00404a40
mov ecx, edi
push ecx
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x13
call fcn.004059a0
mov eax, edi
mov byte [ebp - 4], 0xf
call fcn.00404c20
mov edx, dword [ebp - 0x100]
and edx, 0xffffff01
or edx, 1
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
lea eax, [ebp - 0x108]
push eax
mov bl, 0x15
mov edx, str.sshPort
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], bl
call fcn.00405a20
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00404f00
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x58], eax
mov eax, edi
mov byte [ebp - 4], bl
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
push 0x4e10ad
lea edi, [ebp - 0x108]
call fcn.00404a40
mov edx, edi
push edx
mov edx, str.sshUsername
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x17
call fcn.00405a20
lea esi, [ebp - 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00404e30
mov ebx, dword [ebp - 0x10c]
push eax
lea ecx, [ebx + 0x5c]
mov byte [ebp - 4], 0x19
call fcn.004080d0
mov ecx, esi
call fcn.00406910
mov eax, edi
mov byte [ebp - 4], 0x17
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
push 0x4e10ad
lea edi, [ebp - 0x108]
call fcn.00404a40
mov eax, edi
push eax
mov edx, str.sshPassword
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x1a
call fcn.00405a20
lea esi, [ebp - 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00404e30
push eax
lea ecx, [ebx + 0x78]
mov byte [ebp - 4], 0x1c
call fcn.004080d0
mov ecx, esi
call fcn.00406910
mov eax, edi
mov byte [ebp - 4], 0x1a
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
push 0x4e10ad
lea edi, [ebp - 0x108]
call fcn.00404a40
mov ecx, edi
push ecx
mov edx, str.sshHostKey
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x1d
call fcn.00405a20
lea esi, [ebp - 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.00404e30
push eax
lea ecx, [ebx + 0x94]
mov byte [ebp - 4], 0x1f
call fcn.004080d0
mov ecx, esi
call fcn.00406910
mov byte [ebp - 4], 0x1d
mov eax, edi
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
mov edx, dword [ebp - 0x100]
and edx, 0xffffff01
xor eax, eax
or edx, 1
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x108]
push eax
mov edx, str.sshObfuscatedPort
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x20
call fcn.00405a20
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00404f00
mov dword [ebx + 0xb0], eax
mov eax, edi
mov byte [ebp - 4], 0x20
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
push 0x4e10ad
lea edi, [ebp - 0x108]
call fcn.00404a40
mov ecx, edi
mov bl, 0x22
push ecx
mov edx, str.sshObfuscatedKey
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], bl
call fcn.00405a20
lea esi, [ebp - 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.00404e30
mov ecx, dword [ebp - 0x10c]
push eax
add ecx, 0xb4
mov byte [ebp - 4], 0x24
call fcn.004080d0
mov ecx, esi
call fcn.00406910
mov eax, edi
mov byte [ebp - 4], bl
call fcn.00404c20
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
and dword [ebp - 0x100], 0xfffffe00
xor ebx, ebx
mov dword [ebp - 0xfc], ebx
lea edx, [ebp - 0x140]
push edx
mov edx, str.capabilities
lea edi, [ebp - 0x120]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x26
call fcn.00405a20
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 0x27
call fcn.00404c90
mov eax, edi
mov byte [ebp - 4], 0x26
call fcn.00404c20
mov esi, dword [ebp - 0x10c]
add esi, 0xd0
call fcn.004079a0
lea ecx, [ebp - 0x108]
call fcn.00405540
cmp ebx, eax
jae 0x436f4c
push 0x4e10ad
lea edi, [ebp - 0x120]
call fcn.00404a40
mov eax, edi
push eax
push ebx
lea edi, [ebp - 0x68]
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x28
call fcn.00405950
lea esi, [ebp - 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.00404e30
mov eax, edi
mov byte [ebp - 4], 0x2b
call fcn.00404c20
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x2c
call fcn.00404c20
cmp dword [ebp - 0x3c], 0
je 0x436f3a
mov ecx, esi
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0xd0
call fcn.004078d0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x26
call fcn.00406910
inc ebx
jmp 0x436ec3
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.00404c20
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0xb
call fcn.00404c20
lea edi, [ebp - 0xf0]
call fcn.00404870
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.00404c20
lea ecx, [ebp - 0x30]
call fcn.00406910
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.0041cc10
lea edx, [ebp - 0x190]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00497fcd
add esp, 4
jmp 0x4369f6