joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78fd60
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x84df10
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
test esi, esi
push edi
mov ebp, ecx
je 0x78fd8e
add esi, 0x38
jmp 0x78fd90
xor esi, esi
test ebp, ebp
je 0x78fd99
lea edi, [ebp + 0x38]
jmp 0x78fd9b
xor edi, edi
mov al, byte [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esp + 0x1c], al
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x84]
lea eax, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], eax
call fcn.00478ac0
push 0xffffffffffffffff
lea edx, [esi + 0x18]
push 0
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 1
mov dword [esp + 0x38], vtable.utf8string.0
call fcn.00428c90
mov eax, dword [esi + 0x30]
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
mov dword [esp + 0x4c], eax
call fcn.00435f60
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0x34]
push ecx
push edx
push ecx
push eax
mov dword [esp + 0x58], eax
call fcn.00429910
add esp, 0x10
add esi, 0x38
lea ecx, [esp + 0x4c]
push esi
mov byte [esp + 0x80], 3
call fcn.005e5690
mov dword [esp + 0x14], vtable.SshKeys::ClientKeyData.0
mov al, byte [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov byte [edi + 8], al
lea eax, [edi + 0x18]
mov dword [esp + 0x7c], 4
test eax, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
je 0x78fe6d
lea ecx, [eax + 4]
jmp 0x78fe6f
xor ecx, ecx
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00402e90
mov ebx, dword [esp + 0x44]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
lea esi, [edi + 0x2c]
push 0
push ebx
push ecx
push edx
mov ecx, esi
call fcn.0047dc70
mov ecx, dword [esp + 0x48]
push ebx
push ecx
push ebx
push eax
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
call fcn.00429910
add esp, 0x10
lea edx, [esp + 0x4c]
lea ecx, [edi + 0x38]
push edx
call fcn.005e5f03
mov dword [esp + 0x14], vtable.SshKeys::ClientKeyData.0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 7
call fcn.005e579e
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov esi, ecx
xor eax, eax
shr ecx, 2
mov edx, edi
rep stosd dword es:[edi], eax
mov ecx, esi
push edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 5
push 1
call fcn.00404c40
mov ecx, dword [esp + 0x74]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4
Function at 0x791640
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x84e27c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
mov byte [esi + 9], bl
lea edi, [esi + 0xc]
push ebx
push ebx
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [edi + 4], ebx
call fcn.00435f60
mov dword [edi + 8], eax
lea edi, [esi + 0x18]
push ebx
push ebx
mov ecx, edi
mov byte [esp + 0x34], 1
mov dword [edi + 4], ebx
call fcn.00435f60
mov dword [edi + 8], eax
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.004034c0
mov dword [edi], vtable.utf8string.0
mov dword [esi], vtable.SshKeys::PublicKeyInfo.0
mov dword [esp + 0x2c], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov al, byte [0x878828]
lea ebp, [esi + 0x38]
mov edi, ebp
push 1
mov byte [esp + 0x30], 4
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x10]
mov byte [edi + 8], al
push ecx
call fcn.005826c0
add esp, 8
lea ecx, [edi + 0x18]
call fcn.004034c0
mov dword [edi + 0x18], vtable.utf8string.0
lea edx, [esp + 0x18]
lea ecx, [edi + 0x2c]
push edx
mov byte [esp + 0x30], 5
call fcn.0042d5a0
push ebx
lea ecx, [edi + 0x38]
mov byte [esp + 0x30], 6
call fcn.005e55cb
mov dword [edi], vtable.SshKeys::ClientKeyData.0
xor ecx, ecx
xor eax, eax
push ebx
xor edi, edi
call fcn.007d7349
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esi], vtable.SshKeys::ClientKey.1.0
mov eax, esi
pop edi
mov dword [ebp], vtable.SshKeys::ClientKey.0
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x7b1aa8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x94d190
cmp edx, dword [eax]
je 0x7b1aca
add eax, 8
inc ecx
cmp eax, 0x94d220
jl 0x7b1abb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x94d190]
jne 0x7b1bf8
mov eax, dword [0x958c50]
cmp eax, 1
je 0x7b1bd2
test eax, eax
jne 0x7b1afb
cmp dword [0x94cd04], 1
je 0x7b1bd2
cmp edx, 0xfc
je 0x7b1bf8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7b1b32
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.007b25d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007ae880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7b1b75
lea eax, [ebp - 0x1a4]
push eax
call fcn.007ae880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x94b884
push edi
call fcn.007bd870
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.007b25d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007b25e0
lea eax, [ebp - 0xa0]
push 0x948060
push eax
call fcn.007b25e0
push dword [esi + 0x94d194]
lea eax, [ebp - 0xa0]
push eax
call fcn.007b25e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.007bd7e0
add esp, 0x2c
pop edi
jmp 0x7b1bf8
lea eax, [ebp + 8]
lea esi, [esi + 0x94d194]
push 0
push eax
push dword [esi]
call fcn.007ae880
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x7c8f50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.007ad120
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x7c901b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x7c901b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x7c8fce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x7c8fd9
or bh, 8
and edi, 0x8000000
je 0x7c8ff4
mov eax, dword [0x95b01c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x7c901b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7c93f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x7c941b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x7c943f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x7c945a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x7c9590
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x850568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
push 0x20
mov dword [esp + 0x14], 0x20
call fcn.007d7320
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 1
call fcn.007ca6a0
push 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call fcn.0047f6f0
mov eax, dword [esp + 0x30]
push eax
call fcn.005f9478
add esp, 4
mov dword [esp + 0x18], 0x87efc8
mov ecx, dword [esp + 0x4c]
push 8
push ecx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 3
call dword [0x87eff4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 5
call fcn.0047dd50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 4
call fcn.0047dd50
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.00511420
mov ecx, dword [esp + 0x50]
mov eax, esi
sub ecx, esi
mov edi, 0x10
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor dl, bl
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x7c965b
mov ecx, 8
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call fcn.007d7349
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x7cd630
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x850a1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 4]
mov dword [esp + 0x10], ebx
mov ecx, edi
call fcn.005560e0
xor esi, esi
mov dword [ebx + 0x18], esi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x23c], esi
mov dword [ebx], method.WWLib::CBase_unsigned_long_int__0_.virtual_0
mov word [esp + 0x230], si
mov dword [esp + 0x14], 0x10a
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x7cd6e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esi
mov dword [ebx + 0x18], eax
je 0x7cd6a4
lea esi, [edi + 4]
push str.GetUserNameW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.00404d30
test al, al
je 0x7cd6db
mov edx, dword [esi + 4]
push edi
push str.GetUserNameW__
push edx
call fcn.004069b0
add esp, 0xc
mov ecx, esi
push edi
call fcn.00404c90
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test al, al
jmp 0x7cd72f
mov eax, dword [esp + 0x23c]
cmp eax, esi
je 0x7cd6f4
lea esi, [eax + 4]
lea ecx, [esp + 0x14]
push ecx
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.00404d30
test al, al
je 0x7cd72f
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edi
push edx
push eax
call fcn.004069b0
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov ecx, dword [esp + 0x22c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 4
Function at 0x7cd750
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x850a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 4]
mov dword [esp + 0x10], ebx
mov ecx, edi
call fcn.005560e0
xor esi, esi
mov dword [ebx + 0x18], esi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x58], esi
mov dword [ebx], method.WWLib::CBase_unsigned_long_int__0_.virtual_0
mov word [esp + 0x4e], si
mov dword [esp + 0x14], 0x19
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x7cd7fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esi
mov dword [ebx + 0x18], eax
je 0x7cd7bb
lea esi, [edi + 4]
push str.GetComputerNameW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.00404d30
test al, al
je 0x7cd7f2
mov edx, dword [esi + 4]
push edi
push str.GetComputerNameW__
push edx
call fcn.004069b0
add esp, 0xc
mov ecx, esi
push edi
call fcn.00404c90
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test al, al
jmp 0x7cd843
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x7cd808
lea esi, [eax + 4]
lea ecx, [esp + 0x14]
push ecx
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.00404d30
test al, al
je 0x7cd843
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edi
push edx
push eax
call fcn.004069b0
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov ecx, dword [esp + 0x48]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4

Function at 0x7cdd1b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x850a90
call fcn.007ae8fc
sub esp, 0x44
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0x50]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x10], esi
call fcn.005e6864
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.ThreadLocalStorage:
push eax
call fcn.0044e080
push str._operation_failed_with_error_0x
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0044de30
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044df50
add esp, 0x30
mov dword [ebp + 0xc], eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.007ac4ef
push dword [ebp + 0xc]
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0xc], 6
call fcn.0042b6c0
mov dword [esi], vtable.CryptoPP::Exception.0
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call fcn.0042b6c0
mov dword [esi + 0x30], edi
mov dword [esi], 0x86a810
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00404c40
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00404c40
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00404c40
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00404c40
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x87f248
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x7d0530
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x850e9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x14], esi
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
mov byte [esi + 9], bl
lea edi, [esi + 0xc]
push ebx
push ebx
mov ecx, edi
mov dword [esp + 0x50], ebx
mov dword [edi + 4], ebx
call fcn.00435f60
mov dword [edi + 8], eax
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x4c], 1
call fcn.0042d560
lea ecx, [esi + 0x24]
call fcn.0041d560
mov dword [esi], vtable.SshKeys::PublicKeyInfo.0
lea eax, [esp + 0x13]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x4c], 2
call fcn.00478ac0
mov edi, 0x9511f8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x48], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], vtable.utf8string.0
push ecx
push 0x9511f8
lea ecx, [esp + 0x38]
call fcn.004030a0
push ebx
mov byte [esp + 0x4c], 4
mov dword [esp + 0x28], ebx
call fcn.00449810
add esp, 4
mov dword [esp + 0x28], ebx
mov cl, byte [0x878824]
lea edi, [esi + 0x38]
mov byte [esp + 0x48], 5
mov dword [esp + 0x18], edi
lea ebp, [edi + 0xc]
mov byte [edi + 8], cl
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call fcn.004034c0
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x54], 6
mov dword [ebp], vtable.utf8string.0
call fcn.00428c90
lea eax, [edi + 0x28]
push 1
push eax
mov byte [esp + 0x50], 7
mov dword [edi + 0x20], ebx
call fcn.005826c0
add esp, 8
lea ecx, [edi + 0x30]
call fcn.0041d560
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 8
push ecx
lea ecx, [edi + 0x44]
call fcn.0042d5a0
push ebx
lea ecx, [edi + 0x50]
mov byte [esp + 0x4c], 9
call fcn.005e55cb
mov dword [edi], vtable.SshKeys::HostKeyData.0
xor ecx, ecx
xor eax, eax
push ebx
xor edi, edi
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0x30]
push 1
call fcn.00404c40
mov ecx, dword [esp + 0x40]
mov dword [esi], vtable.SshKeys::HostKey.1.0
mov dword [esi + 0x38], vtable.SshKeys::HostKey.0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x7d3212
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x7d3234
cmp dword [edi + 0x3c], 0
jne 0x7d3234
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.007e5536
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.007d3261
pop edi
pop esi
pop ebx
ret 8
Function at 0x7d480b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x7d4843
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.007d79a8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.007d797f
jmp 0x7d484f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x7d61de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x7d6220
call fcn.007e5536
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x7d6220
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x7d6217
xor eax, eax
jmp 0x7d6228
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.007d622e
pop edi
pop esi
pop ebx
ret 4
Function at 0x7ffe548a
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe5495
pop edx
xor dx, dx
add edx, 0xd5e0
xor ecx, ecx
mov cl, 0x1e
xor byte [ecx + edx], 0x1f
loop 0x7ffe54a3
push dword fs:[0x24]
pop dword [edx + 0xa]
mov cl, 0xff
push edx
loop 0x7ffe54b5
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
mov dword [edx + 0x100], ecx
inc esi
dec esi
mov dword [eax + 0x2c], esp
push es
pop ds
push 0
cld
push 0
push 0
stc
push es
pop ds
push 0
push eax
pop eax
push 0x30
clc
push 0x20
push 0
pushal
inc eax
popal
push 0
add al, 0
add edx, 0xffff7f37
cld
push edx
push edx
add al, 0
stc
push 0
push es
pop ds
call dword [edx + 0x820c]
stc
add esp, 0x3f8
xor eax, eax
lea esp, [esp]
inc eax
inc esi
dec esi
ret 0xc

Function at 0x7ffe8354
Capabilities:
Encode data using xor

Disassembly:
stc
and al, 0xff
pop eax
add al, 0
add eax, 0x15
pushf
popf
nop
mov byte [eax], 5
pushf
popf
call 0x7ffe8354
push es
pop ds
push bx
inc esp
inc esp
clc
add eax, 5
xor eax, ecx
xor eax, ecx
push es
pop ds
mov ecx, eax
cld
call 0x7ffe831d
pop eax
inc esi
dec esi
cld
add eax, 0x11
push eax
pop eax
mov byte [eax], 5
pushf
popf
stc
call fcn.7ffe84d6
pushf
popf
add eax, 5
add al, 0
add al, 4
sub al, 4
nop
xchg ecx, eax
push bx
inc esp
inc esp
push es
pop ds
sub ecx, eax
clc
xor byte [eax + ecx], 0x28
loop 0x7ffe834b
inc esi
dec esi
nop
pop ecx
shr byte [eax], 0x28
sub byte [eax], ch
jo 0x7ffe8307
call 0xad277190
rcr byte [ebp - 0x54d7d7d8], 0xe8
sub eax, 0xc0dc6da1
popfd
sub byte [eax], ch
sub byte [ebx + 0x6da12de8], ch
fadd st(0), st(0)
sub byte [eax], ch
sub byte [eax], ch
jo 0x7ffe831e
call 0xad2771a7
ror byte [ebp - 0x54d7d7d8], 0xe8
sub eax, 0xde7cada1
out dx, al
sub byte [0x28288dc0], ch
sub byte [ebx - 0x525ed218], ch
jl 0x7ffe8362
xlatb
xlatb
jo 0x7ffe8400
shr byte [eax], 0x28
sub byte [eax], ch
jo 0x7ffe83dd
dec esi
sbb ebp, eax
mov eax, dword [0xd7d9c4ad]
xlatb
jo 0x7ffe8411
shr byte [eax], 0x28
sub byte [eax], ch
jo 0x7ffe838e
push 0x10c02d2d
sub byte [eax], ch
adc byte [esi + 0x28], ah
sub byte [ebx - 0x525edd18], ch
js 0x7ffe838d
stosd dword es:[edi], eax
call 0xf8ac24d0
invalid
xlatb
xlatb
jo 0x7ffe842b
shr byte [eax], 0x28
sub byte [eax], ch
jo 0x7ffe83a8
push 0x66c02d2d
inc esp
sub byte [eax], ch
stosd dword es:[edi], eax
call 0xf4ac24ea
invalid
call 0x4c6c2504
jo 0x7ffe8375
test al, 0x28
sub byte [eax], ch
mov dword [0x95a5cc5d], eax
fcomp st(1)
xlatb
xlatb
fisttp dword [ebp - 0x5e23925d]
lodsd eax, dword [esi]
xchg esp, eax
rcl bh, 1
xlatb
mov dword [0xd7de7ca5], eax
xlatb
xlatb
add esp, dword [ebp - 0x24]
mov eax, dword [0x7f79d065]
js 0x7ffe83a4
mov eax, 0xa3d065a3
xchg ebp, eax
xchg esp, eax
rcl bh, 1
xlatb
fild dword [edx - 0x1e8e8890]
sbb ebp, eax
push 0x792824ea
js 0x7ffe84a0
xchg ecx, eax
xlatb
xlatb
xlatb
xlatb
nop
sub dword [eax], ebp
sub byte [eax], ch
dec esi
cmpsb byte [esi], byte es:[edi]
rol byte [ebx], 0xe0
dec esi
movsb byte es:[edi], byte [esi]
ret
mov dword [0xd7d9c0ad], eax
xlatb
test al, 0x18
push dword [eax - 0x3d]
invalid