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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d33b3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
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 eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x164], 0x4fca94
mov dword [ebp - 0x154], 0x4e4be8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xa8], 2
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 - 0x15c], esi
mov dword [ebp - 0x158], esi
call fcn.00401780
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0xcc], ecx
push 0x20
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xc8], esi
call fcn.0040b460
mov byte [ebp - 0xc4], al
cmp dword [ebp - 0xcc], esi
jne 0x435c8d
mov eax, dword [ebp - 0xf8]
or eax, 4
push esi
push eax
lea ecx, [ebp - 0x104]
call fcn.00401640
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 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], 6
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 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
lea ecx, [ebp - 0x14c]
call fcn.0040a560
xor esi, esi
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
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
push 0x4e4b24
push ecx
lea edx, [ebp - 0x154]
push edi
push edx
mov dword [ebp - 4], 8
call fcn.0040bc40
add esp, 0xc
push eax
call fcn.0040b990
mov eax, dword [edi + 0x1c]
add esp, 8
push 0x4e4b24
push ecx
push eax
lea ecx, [ebp - 0x154]
call fcn.004069e0
add esp, 4
push eax
call fcn.0040b990
add esp, 8
push 0x4e4b24
push ecx
lea ecx, [edi + 0x20]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.0040bc40
add esp, 0xc
push eax
call fcn.0040b990
add esp, 8
push 0x4e4b24
push ecx
lea eax, [edi + 0x3c]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.0040bc40
add esp, 0xc
push eax
call fcn.0040b990
and dword [ebp - 0x8c], 0xfffffe00
add esp, 8
mov dword [ebp - 0x88], esi
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + 0x58]
and edx, 0xffffff01
or edx, 1
mov dword [ebp - 0x64], edx
cdq
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push str.sshPort
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0xb
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
mov bl, 0xa
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + 0x6c]
and edx, 0xffffff04
lea ecx, [edi + 0x5c]
or edx, 0x104
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], 0
jb 0x435dfd
mov ecx, dword [ecx]
push ecx
call fcn.004048e0
add esp, 4
mov dword [ebp - 0x6c], eax
push str.sshUsername
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0xc
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + 0x88]
and edx, 0xffffff04
lea ecx, [edi + 0x78]
or edx, 0x104
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], 0
jb 0x435e5d
mov ecx, dword [ecx]
push ecx
call fcn.004048e0
add esp, 4
mov dword [ebp - 0x6c], eax
push str.sshPassword
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0xd
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + 0xa4]
and edx, 0xffffff04
lea ecx, [edi + 0x94]
or edx, 0x104
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], 0
jb 0x435ec0
mov ecx, dword [ecx]
push ecx
call fcn.004048e0
add esp, 4
mov dword [ebp - 0x6c], eax
push str.sshHostKey
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0xe
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov ecx, dword [ebp - 0x64]
mov eax, dword [edi + 0xb0]
and ecx, 0xffffff01
cdq
or ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push str.sshObfuscatedPort
lea edx, [ebp - 0x94]
push edx
mov byte [ebp - 4], 0xf
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov eax, dword [ebp - 0x64]
and eax, 0xffffff04
or eax, 0x104
cmp dword [edi + 0xc8], 0x10
lea ecx, [edi + 0xb4]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x60], 0
jb 0x435f6e
mov ecx, dword [ecx]
push ecx
call fcn.004048e0
add esp, 4
mov dword [ebp - 0x6c], eax
push str.sshObfuscatedKey
lea ecx, [ebp - 0x94]
push ecx
mov byte [ebp - 4], 0x10
call fcn.00405790
mov esi, eax
lea eax, [ebp - 0x6c]
call fcn.00404c90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00404c20
mov eax, dword [ebp - 0x9c]
and eax, 0xfffffe06
or eax, 6
push 0x10
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
call fcn.004a9f06
add esp, 4
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x435fe0
mov esi, eax
call fcn.00407040
jmp 0x435fe2
xor eax, eax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0x12
mov eax, dword [edi + 0xd0]
mov edi, dword [edi + 0xd4]
mov dword [ebp - 0x80], eax
cmp eax, edi
je 0x436211
mov ebx, dword [ebp - 0x24]
mov edi, dword [eax + 0x10]
and ebx, 0xffffff04
or ebx, 0x104
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0
jb 0x436029
mov ebx, dword [eax]
jmp 0x43602b
mov ebx, eax
cmp edi, 0xffffffff
jne 0x436040
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436035
sub eax, edx
mov edi, eax
lea edx, [edi + 1]
push edx
call fcn.004a990b
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x4362c7
push edi
push ebx
push esi
call fcn.004abff0
add esp, 0xc
mov byte [esi + edi], 0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x13
movsx eax, byte [ebp - 0x9c]
cmp eax, 7
ja case.0x43607b.0
jmp dword [eax*4 + 0x4366a8]
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 8], 0
je case.0x43607b.0
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
call fcn.00408d70
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x14]
inc eax
jmp 0x4360b2
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 8]
jmp 0x4360b2
xor eax, eax
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004055b0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.00404ad0
movsx eax, byte [edi + 8]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
mov esi, dword [edi]
xor eax, ecx
and eax, 0xff
mov byte [edi + 8], cl
xor ecx, eax
mov eax, dword [edi + 4]
mov dword [edi], edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov dword [edi + 4], edx
mov edx, dword [edi + 8]
mov eax, edx
shl eax, 0x17
sar eax, 0x1f
shl eax, 8
xor eax, ecx
and eax, 0x100
mov ebx, edx
xor ebx, ecx
xor ecx, eax
and ebx, 0x100
movsx eax, cl
xor ebx, edx
mov dword [ebp - 0x6c], esi
mov dword [edi + 8], ebx
mov dword [ebp - 0x64], ecx
cmp eax, 4
je 0x436161
add eax, 0xfffffffa
cmp eax, 1
ja 0x436176
mov dword [ebp - 0x78], esi
test esi, esi
je 0x436176
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x74]
call fcn.004089b0
mov byte [ebp - 4], 0x13
mov eax, dword [esi + 4]
push eax
call fcn.004a9dd8
add esp, 4
push esi
call fcn.004a9dd8
jmp 0x436173
test ecx, 0x100
je 0x436176
test esi, esi
je 0x436176
push esi
call fcn.004a98d1
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43619a
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x404970
push ecx
push 4
push eax
call fcn.004a9b7b
push esi
call fcn.004a9da3
add esp, 4
mov byte [ebp - 4], 0x12
mov ebx, dword [ebp - 0x24]
movsx eax, bl
cmp eax, 4
je 0x4361e5
add eax, 0xfffffffa
cmp eax, 1
ja 0x4361f9
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 0x15
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0xb4]
call fcn.004089b0
mov byte [ebp - 4], 0x12
mov eax, dword [esi + 4]
push eax
call fcn.004a9dd8
add esp, 4
push esi
call fcn.004a9dd8
jmp 0x4361f6
test ebx, 0x100
je 0x4361f9
mov edx, dword [ebp - 0x7c]
push edx
call fcn.004a98d1
add esp, 4
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
add eax, 0x1c
mov dword [ebp - 0x80], eax
cmp eax, dword [ecx + 0xd4]
jne 0x436006
push str.capabilities
lea ecx, [ebp - 0x94]
push ecx
call fcn.00405790
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00404ad0
movsx eax, byte [edi + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov esi, dword [edi]
xor eax, ecx
and eax, 0xff
mov byte [edi + 8], cl
xor ecx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 4], eax
mov dword [edi], edx
mov edx, dword [edi + 8]
mov eax, edx
shl eax, 0x17
sar eax, 0x1f
shl eax, 8
xor eax, ecx
and eax, 0x100
mov ebx, edx
xor ebx, ecx
xor ecx, eax
and ebx, 0x100
movsx eax, cl
xor ebx, edx
mov dword [edi + 8], ebx
cmp eax, 4
je 0x4362f8
add eax, 0xfffffffa
cmp eax, 1
ja 0x43630d
mov dword [ebp - 0xb4], esi
test esi, esi
je 0x43630d
mov byte [ebp - 4], 0x16
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x74]
call fcn.004089b0
mov byte [ebp - 4], 0x12
mov eax, dword [esi + 4]
push eax
call fcn.004a9dd8
add esp, 4
push esi
call fcn.004a9dd8
jmp 0x43630a
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x70], str.Failed_to_allocate_string_value_buffer
call fcn.004a936f
push 0x514ed0
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xbc], vtable.std::runtime_error.0
call fcn.004aba66
test ecx, 0x100
je 0x43630d
test esi, esi
je 0x43630d
push esi
call fcn.004a98d1
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x436331
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x404970
push ecx
push 4
push eax
call fcn.004a9b7b
push esi
call fcn.004a9da3
add esp, 4
mov edi, vtable.Json::FastWriter.0
mov esi, 0xf
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x34]
mov bl, 0x17
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.004063e0
push eax
lea ecx, [ebp - 0x154]
push ecx
mov byte [ebp - 4], 0x18
call fcn.0040bc40
mov byte [ebp - 4], bl
mov ebx, 0x10
add esp, 8
cmp dword [ebp - 0x20], ebx
jb 0x436395
mov edx, dword [ebp - 0x34]
push edx
call fcn.004a9dd8
add esp, 4
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x164]
call fcn.0041cca0
mov dword [ebp - 0xa8], 3
mov dword [ebp - 0x58], edi
cmp dword [ebp - 0x40], ebx
jb 0x4363c5
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004a9dd8
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x9c]
movsx eax, cl
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], vtable.Json::Writer.0
cmp eax, 4
je 0x436431
add eax, 0xfffffffa
cmp eax, 1
ja 0x43644c
mov ebx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], ebx
test ebx, ebx
je 0x43644c
mov byte [ebp - 4], 0x19
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x74]
mov esi, ebx
call fcn.004089b0
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 4]
push eax
call fcn.004a9dd8
add esp, 4
push ebx
call fcn.004a9dd8
jmp 0x436449
test ecx, 0x100
je 0x43644c
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43644c
push eax
call fcn.004a98d1
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x436473
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x404970
push edx
push 4
push eax
call fcn.004a9b7b
push esi
call fcn.004a9da3
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x8c]
movsx eax, cl
cmp eax, 4
je 0x4364ca
add eax, 0xfffffffa
cmp eax, 1
ja 0x4364e5
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0xb4], ebx
test ebx, ebx
je 0x4364e5
mov byte [ebp - 4], 0x1a
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x74]
mov esi, ebx
call fcn.004089b0
mov byte [ebp - 4], 8
mov eax, dword [ebx + 4]
push eax
call fcn.004a9dd8
add esp, 4
push ebx
call fcn.004a9dd8
jmp 0x4364e2
test ecx, 0x100
je 0x4364e5
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x4364e5
push eax
call fcn.004a98d1
add esp, 4
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x43650c
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x404970
push ecx
push 4
push eax
call fcn.004a9b7b
push esi
call fcn.004a9da3
add esp, 4
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x104]
mov dword [ebp - 0xb4], edx
mov dword [ebp + ecx - 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 - 4], 0x1b
test byte [ebp - 0x10c], 1
lea edx, [ebp - 0x14c]
mov dword [ebp - 0x74], edx
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
je 0x436560
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
push eax
call fcn.004a9dd8
add esp, 4
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x12c]
mov dword [edx], 0
mov eax, dword [ebp - 0x11c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x138]
mov dword [ecx], 0
mov edx, dword [ebp - 0x128]
mov dword [edx], 0
mov eax, dword [ebp - 0x118]
mov dword [eax], 0
and dword [ebp - 0x10c], 0xfffffffe
mov dword [ebp - 0x110], 0
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x114]
mov ebx, eax
test eax, eax
je 0x43661b
mov edi, dword [eax]
test edi, edi
je 0x436612
push 0
lea ecx, [ebp - 0x70]
call fcn.004983a4
mov eax, dword [edi + 4]
test eax, eax
je 0x4365f3
cmp eax, 0xffffffff
jae 0x4365f3
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x70]
not esi
call fcn.004983cc
and esi, edi
je 0x436612
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.004a9dd8
add esp, 4
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x1b
call fcn.004983fd
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x104]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00497fcd
mov eax, dword [ebp - 0xac]
add esp, 4
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 4