joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400030ed
lea rbx, [0x140030ab0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400030d4
cmp r10, 2
jb 0x1400030d4
cmp byte [r9], r8b
jne 0x1400030d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400030b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000312f
lea rbx, [0x140030ab0]
cmp r8b, 0x23
jne 0x140003113
cmp byte [r9], r8b
jne 0x140003113
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003100
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000328a
mov qword [r8], 0
lea rdx, [0x1400308a4]
call fcn.140003140
mov rbx, rax
test rax, rax
jne 0x1400032aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003381
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003381
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003381
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003381
cmp rdi, 0xffffffffffffffff
je 0x140003381
mov rax, qword [0x14003bad0]
test rax, rax
je 0x14000331e
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003381
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000336e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14003bad0]
test rax, rax
je 0x140003363
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000338a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000337c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000338c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000ece0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14003bad0]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x14000ed40
cmp byte [rbx + 0x1f4e], 0
jne 0x14000ed40
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003010
test dil, 1
je 0x14000ee5e
jmp 0x14000edc8
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140034f30]
mulss xmm1, dword [0x140034f24]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x140034ebc]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140003010
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000ee18
lea r11, [0x140030ab0]
cmp r9b, 0x23
jne 0x14000edfb
cmp byte [r8], r9b
jne 0x14000edfb
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000ede8
not ecx
call fcn.1400093e0
test rax, rax
je 0x14000ee5e
cmp byte [rax + 0x8e], 0
je 0x14000ee5e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.140003010
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000b970
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14002d780
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140013140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3098], 0
lea rbx, [rcx + 0x30a0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400131e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001319a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140014eb0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400036d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30a8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14003bac8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400131ef
mov rcx, rbx
call fcn.1400036d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140026c90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14003bd60]
lea rdx, [rsp + 0x38]
mov rdi, qword [0x14003bad0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
mov qword [rsp + 0x30], 0
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14003bd68]
cvtsi2ss xmm0, qword [0x14003bd70]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14003bd68], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x14003bad0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x140026dcf
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x14003bd60]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140026dcf
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140026e4e
mov rdx, qword [0x14003bd60]
cmp rax, rdx
je 0x140026e07
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140026e4e
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140026e4e
mov rcx, qword [0x14003bd60]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140026e4e
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140026e5e
mov eax, 0xffffffff
jmp 0x140026e6b
mov rax, qword [0x14003bad0]
mov eax, dword [rax + 0x1f48]
cmp dword [0x14003b2d0], eax
je 0x140026e7e
mov dword [0x14003b2d0], eax
call fcn.140026840
call fcn.1400269c0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002d780
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14002b2a0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x14003b010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14002b320
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14002b39a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002b34b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14002e710
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14002b39a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14002b39d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14002b3aa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14002b3c2
inc rbx
test eax, eax
jne 0x14002b3b0
test ecx, ecx
mov rcx, rsi
je 0x14002b422
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002b310
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14002b41e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14002b419
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002b4a3
mov rcx, r8
call fcn.14002da2c
xor eax, eax
jmp 0x14002b463
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x14002b461
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14002b45c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002b4a3
mov rcx, r8
call fcn.14002da2c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.14002d780
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002e2f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002e342
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002e342
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002e342
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002e342
cmp dword [rcx + 0x84], 0xe
jbe 0x14002e342
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002e344
xor al, al
add rsp, 0x28
ret
Function at 0x180001290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
lea rbx, [0x180000000]
mov r12d, esi
mov ecx, esi
mov eax, esi
mov r8d, 0x2b0
movdqu xmm0, xmmword [rax + rbx + 0x31cb0]
add ecx, 0x10
pxor xmm0, xmmword [0x18002d4f0]
movdqu xmmword [rax + rbx + 0x31cb0], xmm0
movsxd rax, ecx
cmp rax, r8
jb 0x1800012d3
movsxd rax, ecx
cmp rax, r8
jae 0x18000131a
lea rdx, [rbx + 0x31cb0]
add rdx, rax
xor byte [rdx], 2
inc ecx
movsxd rax, ecx
inc rdx
cmp rax, r8
jb 0x18000130a
movsd xmm0, qword [0x180031cb0]
lea rdx, [0x180033950]
mov eax, dword [0x180031cb8]
lea rcx, [0x180029164]
movsd qword [0x180033950], xmm0
movsd xmm0, qword [0x180031cbd]
mov dword [0x180033958], eax
movzx eax, word [0x180031cc5]
movsd qword [0x1800339b4], xmm0
mov word [0x1800339bc], ax
call fcn.18000123c
lea rdx, [0x1800339b4]
lea rcx, [0x180029164]
call fcn.18000123c
lea rdi, str.Wfqu_qDfwqggC
mov edx, esi
mov rcx, rdi
mov r13d, 0xbb
xor byte [rcx], 0x16
inc edx
movsxd rax, edx
inc rcx
cmp rax, r13
jb 0x18000138c
cmp dword [0x180033340], esi
je 0x1800013d0
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x9056135a
mov dword [rbp - 0x1c], 0x432bb12d
mov dword [rbp - 0x18], 0xe1fe556c
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
mov edx, esi
mov rcx, rdi
xor byte [rcx], 2
inc edx
movsxd rax, edx
inc rcx
cmp rax, r13
jb 0x1800013d5
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd01226b6
mov dword [rbp - 0x1c], 0x4dd77534
mov dword [rbp - 0x18], 0x4cd6613a
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
mov r15d, esi
lea r14, [0x180032101]
cmp byte [r14 - 1], 0xd
jne 0x180001486
cmp byte [r14], 0xa
jne 0x180001486
mov edi, r15d
lea rcx, str._d__d_n
sub edi, r12d
mov edx, r15d
lea r8d, [rdi + 1]
call fcn.18000123c
movsxd rax, esi
lea rbx, [rbx + 0x33350]
imul rcx, rax, 0x64
lea rax, str.Wfqu_qDfwqggC
movsxd rdx, r12d
add rbx, rcx
movsxd r8, edi
mov rcx, rbx
add rdx, rax
call fcn.18000d0c0
mov rdx, rbx
lea rcx, str.1__s_n
lea r12d, [r15 + 2]
call fcn.18000123c
inc esi
lea rbx, [0x180000000]
inc r15d
inc r14
movsxd rax, r15d
cmp rax, r13
jb 0x18000141b
lea rcx, str.success_n
call fcn.18000123c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180009ed0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18000167c
Capabilities:
Get common file path
Get hostname
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
push rbp
lea rbp, [rax - 0x5a8]
sub rsp, 0x6a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x258
call fcn.18000cf10
xor r9d, r9d
lea rdx, [rbp + 0x330]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x330]
sub rcx, 2
xor edi, edi
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1800016e2
movups xmm0, xmmword [str.VMChromechromed.log]
mov eax, dword [0x1800291d0]
movups xmm1, xmmword [0x1800291b8]
mov dword [rsp + 0x28], 0x14866d7f
movups xmmword [rcx], xmm0
mov dword [rsp + 0x2c], 0x45366f1f
movsd xmm0, qword [0x1800291c8]
movups xmmword [rcx + 0x10], xmm1
mov dword [rsp + 0x30], 0x4fc67296
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
lea rcx, [rsp + 0x28]
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
mov ebx, 0x190
lea rcx, [rbp + 0x10]
mov r8d, ebx
xor edx, edx
call fcn.18000cf10
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea r15, str.1234567890
test eax, eax
jne 0x1800017d8
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], 0xb4831226
mov dword [rsp + 0x2c], 0x76eefddf
mov dword [rsp + 0x30], 0xdbb56dd9
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1800017d8
mov rcx, rdi
movzx eax, word [rcx + r15]
mov word [rbp + rcx + 0x10], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800017c5
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0xc8
call fcn.18000cf10
mov r8, rbx
lea rcx, [rbp + 0x1a0]
xor edx, edx
call fcn.18000cf10
lea rdx, [0x1800291f0]
lea rcx, [rbp + 0x330]
call fcn.18000e9b8
mov rbx, rax
test rax, rax
jne 0x18000181d
xor eax, eax
jmp 0x1800018b9
mov r9, rax
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, 0xc8
call fcn.180011a28
mov rcx, rbx
call fcn.18000ebfc
mov rcx, rdi
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180001840
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x1a0]
call fcn.18000afc8
test rax, rax
jne 0x1800018b4
mov rdx, r15
lea rcx, [rbp + 0x1a0]
call fcn.18000afc8
test rax, rax
jne 0x1800018b4
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], 0x80abe49d
mov dword [rsp + 0x2c], 0x3108bd53
mov dword [rsp + 0x30], 0xf53fa3f4
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
jmp 0x180001816
mov eax, 1
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.180009ed0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r15, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180002bd8
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xd0], rax
lea rdx, str.password18791713213231
lea rcx, str.IM0098_01
call fcn.18000b1c8
xor ebx, ebx
test rax, rax
jne 0x180002d23
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x190
call fcn.18000cf10
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x180002cad
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], 0x9ba4bf22
mov dword [rsp + 0x2c], 0x9706cbe7
mov dword [rsp + 0x30], 0x808d8482
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x180002cad
mov ecx, ebx
lea rax, [0x1800292b8]
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180002c94
mov r8d, ebx
lea r9, str.password18791713213231
lea r10, [rsp + 0x40]
mov al, byte [r10]
inc r8d
mov byte [r9], al
lea r10, [r10 + 2]
inc r9
movsxd rax, r8d
cmp rax, 0xc8
jb 0x180002cbc
lea rdx, str.password18791713213231
lea rcx, str.IM0098_01
call fcn.18000b1c8
test rax, rax
jne 0x180002d23
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], 0x2c9feb8a
mov dword [rsp + 0x2c], 0xd09dd038
mov dword [rsp + 0x30], 0xae0b5915
call fcn.1800018e4
mov edx, eax
lea rcx, [0x180029168]
call fcn.18000123c
xor eax, eax
jmp 0x180002d28
mov eax, 1
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180009ed0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rbp
ret
Function at 0x18000a984
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18000aa15
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x18000aa15
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000aa15
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18000a9f9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x18000a9f3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000a9fb
add rdx, 0x28
jmp 0x18000a9d8
xor edx, edx
test rdx, rdx
jne 0x18000aa04
xor al, al
jmp 0x18000aa1b
test dword [rdx + 0x24], 0x80000000
je 0x18000aa11
xor al, al
jmp 0x18000aa1b
mov al, 1
jmp 0x18000aa1b
xor al, al
jmp 0x18000aa1b
add rsp, 0x18
ret

Function at 0x18000e7b4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x18000e5d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000e5d4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000e5d4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000e5d4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000e5d4
cmp dword [rcx + 0x84], 0xe
jbe 0x18000e5d4
cmp dword [rcx + 0xf8], esi
je 0x18000e5d4
mov ecx, r14d
call fcn.18000e71c
mov ecx, 2
call fcn.1800156f0
nop
cmp byte [0x180032a20], 0
jne 0x18000e69e
mov r15d, 1
mov eax, r15d
xchg dword [0x180032a10], eax
test ebx, ebx
jne 0x18000e647
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x180032a18]
cmp rcx, rax
je 0x18000e63e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.18000de2c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x180032a68]
jmp 0x18000e653
cmp ebx, r15d
jne 0x18000e659
lea rcx, [0x180032a80]
call fcn.180013250
nop
test ebx, ebx
jne 0x18000e670
lea rdx, [0x180021308]
lea rcx, [0x1800212e8]
call fcn.1800129fc
lea rdx, [0x180021318]
lea rcx, [0x180021310]
call fcn.1800129fc
movzx eax, byte [0x180032a20]
test esi, esi
cmove eax, r15d
mov byte [0x180032a20], al
jmp 0x18000e69e
mov ecx, 2
call fcn.180015744
test esi, esi
jne 0x18000e6b5
mov ecx, r14d
call fcn.18000e6d0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x18000e564
Function at 0x180019158
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180018ff8
call fcn.180012960
mov dword [rax], 0x16
call fcn.180016544
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180018fe0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180018fe0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18001902a
lock or dword [rax + 0x14], 0x10
jmp 0x180018fe0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180019047
mov rcx, qword [rbp + 0x10]
call fcn.18001d9d0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800172dc
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.180013a00
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18001909e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180018fe0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18001910a
mov rcx, qword [rbp + 0x10]
call fcn.1800172dc
cmp eax, 0xffffffff
je 0x1800190f1
mov rcx, qword [rbp + 0x10]
call fcn.1800172dc
cmp eax, 0xfffffffe
je 0x1800190f1
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800172dc
movsxd rdi, eax
lea rsi, [0x180032e60]
mov rcx, rbx
sar rdi, 6
call fcn.1800172dc
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1800190f8
lea rax, [0x1800312b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18001910a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x180019140
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18001913c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18001913c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180018fe3
jmp 0x180018fb0