joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013ff60
Capabilities:
Capture webcam image

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x188
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1400d55cc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x186
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x90]
mov edx, 0x40e
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edx, 0x411
mov rcx, rbx
cmp eax, 1
jne 0x140140062
call fcn.1400d4b70
mov edx, 0x412
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x413
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x414
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x415
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x416
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x417
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x418
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x412
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x18b
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x419
mov rcx, rbx
test eax, eax
je 0x14014003e
call fcn.1400d4b70
mov edx, 0x41a
mov rcx, rbx
call fcn.1400d4b70
mov edx, 0x412
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400d5590
call fcn.1400d4ad0
mov edx, 0x41a
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x412
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400d5590
call fcn.1400d4ad0
mov edx, 0x412
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x413
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x414
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x415
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x416
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x417
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x418
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x419
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x41a
mov rcx, rbx
call fcn.1400d4ad0
mov edx, 0x412
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rcx, rax
mov edx, 0x186
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_SendMessageW]

Function at 0x140141c50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
lea rdx, [0x1401d0c34]
mov rcx, 0xffffffff80000000
jmp fcn.1400d93c0

Function at 0x140141e50
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
lea r8, [0x1401b2850]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
jmp fcn.1400e0c80
Function at 0x140141e70
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x390
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rcx, [rsp + 0x140]
call fcn.1400012c0
lea r9, [rsp + 0x140]
lea r8, [0x1401b2850]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.1400d9510
test eax, eax
je 0x140141fc3
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rcx, [rsp + 0x260]
mov ebx, 2
call fcn.1400012c0
lea rcx, [rsp + 0x260]
xor edx, edx
call fcn.1400d85c0
mov r8, qword [rsp + 0x268]
lea rdx, str.__s___startup
lea rcx, [rsp + 0x20]
call fcn.140176700
call fcn.1400cd3c0
test rax, rax
je 0x140141f2b
call fcn.1400cd3c0
lea rdx, str.__instance___s_
lea rcx, [rsp + 0x20]
mov r8, rax
call fcn.140176950
mov r8, qword [0x14020b0c0]
cmp qword [r8 + 0x18], 0
je 0x140141f4e
mov r8, qword [r8 + 0x18]
lea rdx, str.__config___s_
lea rcx, [rsp + 0x20]
call fcn.140176950
lea rcx, [rsp + 0x260]
call fcn.140175010
mov rdx, qword [rsp + 0x148]
lea rcx, str.reg:__s_n
call fcn.1400b35e0
mov rdx, qword [rsp + 0x28]
lea rcx, str.set:__s_n
call fcn.1400b35e0
mov r11, qword [rsp + 0x28]
mov rax, qword [rsp + 0x148]
movzx ecx, byte [r11]
cmp cl, byte [rax]
jne 0x140141fa9
test cl, cl
je 0x140141fb4
mov cl, byte [r11 + 1]
add r11, 1
add rax, 1
cmp cl, byte [rax]
je 0x140141f95
movzx eax, byte [rax]
movzx ecx, byte [r11]
cmp ecx, eax
jne 0x140141fb9
mov ebx, 1
lea rcx, [rsp + 0x20]
call fcn.140175010
lea rcx, [rsp + 0x140]
call fcn.140175010
mov eax, ebx
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x390
pop rbx
ret

Function at 0x140147880
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x278
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea r8, [0x1401b2850]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.1400e0c80
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rcx, [rsp + 0x140]
call fcn.1400012c0
lea rcx, [rsp + 0x140]
xor edx, edx
call fcn.1400d85c0
mov r8, qword [rsp + 0x148]
lea rdx, str.__s___startup
lea rcx, [rsp + 0x20]
call fcn.140176700
call fcn.1400cd3c0
test rax, rax
je 0x140147915
call fcn.1400cd3c0
lea rdx, str.__instance___s_
lea rcx, [rsp + 0x20]
mov r8, rax
call fcn.140176950
mov r8, qword [0x14020b0c0]
cmp qword [r8 + 0x18], 0
je 0x140147938
mov r8, qword [r8 + 0x18]
lea rdx, str.__config___s_
lea rcx, [rsp + 0x20]
call fcn.140176950
lea rcx, [rsp + 0x140]
call fcn.140175010
mov r9, qword [rsp + 0x28]
lea r8, [0x1401b2850]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.1400e0b40
lea rcx, [rsp + 0x20]
call fcn.140175010
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x278
ret
Function at 0x1401602c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x170
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0xa0]
xor r9d, r9d
lea edx, [r9 + 0xe]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
add eax, 1
movsxd rbx, eax
lea rcx, [rbx + rbx]
call fcn.1400ce030
mov rcx, qword [rdi + 0xa0]
mov r8, rbx
mov r9, rax
mov edx, reloc.WS2_32.dll_listen
mov rsi, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x28]
mov rbx, rsi
xor esi, esi
test rcx, rcx
mov edx, esi
mov qword [rsp + 0x28], rsi
mov r12, rsi
mov dword [rsp + 0x20], edx
je 0x140160366
call fcn.1400ce0b0
mov edx, esi
lea rbp, [rdi + 0x40]
mov r15, rsi
mov ecx, 0x100
mov qword [rsp + 0x1a8], r14
nop
nop
movzx eax, word [rbx]
mov r13, rbx
test ax, ax
je 0x1401603ae
nop
nop
cmp ax, 0xd
jne 0x1401603a1
cmp word [rbx + 2], 0xa
je 0x14016043a
mov ax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x140160390
mov rdi, rbx
sub rdi, r13
sar rdi, 1
cmp esi, edx
jl 0x140160405
lea esi, [rdx + rdx]
test esi, esi
cmove esi, ecx
movsxd rcx, esi
imul rcx, rcx, 0xd0
call fcn.1400ce030
movsxd r8, dword [rsp + 0x20]
mov rdx, r12
mov rcx, rax
mov r14, rax
imul r8, r8, 0xd0
call fcn.1401a6b10
test r12, r12
je 0x1401603f9
mov rcx, r12
call fcn.1400ce0b0
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x28]
mov r12, r14
lea rcx, [rsp + 0x40]
mov r8d, edi
mov rdx, r13
call fcn.140176000
mov eax, dword [rsp + 0x40]
mov dword [r15 + r12 + 0x10], eax
mov edx, dword [rsp + 0x40]
add edx, 1
cmp edx, 0x100
jle 0x14016044c
mov rcx, rbp
call fcn.1400e3040
mov rcx, rax
jmp 0x140160471
mov rdi, rbx
sub rdi, r13
sar rdi, 1
add rbx, 4
jmp 0x1401603b7
mov rax, qword [rbp + 0x10]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [rbp + 0x18]
jb 0x140160465
mov rcx, rbp
call fcn.1400e2f70
mov rcx, qword [rbp + 0x10]
lea rax, [rcx + rdi]
mov qword [rbp + 0x10], rax
mov qword [r15 + r12 + 8], rcx
movsxd r8, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.1401a6b10
mov rax, qword [r15 + r12 + 8]
movsxd r11, dword [rsp + 0x40]
mov edx, dword [rsp + 0x20]
add esi, 1
mov byte [r11 + rax], 0
add r15, 0x20
cmp word [rbx], 0
mov qword [rsp + 0x28], rsi
mov ecx, 0x100
jne 0x140160380
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x28], r12
mov dword [rax + 0x30], esi
call fcn.1400ce0b0
lea rcx, [rsp + 0x40]
call fcn.140175010
mov r14, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401a6ae0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140160920
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x5b8
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov qword [r11 + 0x20], rbp
mov rdi, rcx
mov qword [r11 - 0x18], rsi
lea rcx, [r11 - 0x248]
mov rbp, r8
mov rsi, rdx
call fcn.1400012c0
lea rcx, [rsp + 0x380]
mov rdx, rsi
call fcn.14017b470
test rbp, rbp
je 0x140160a76
lea rcx, [rsp + 0x160]
call fcn.1400012c0
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [rsp + 0x164]
add eax, 1
cmp eax, ebx
jle 0x1401609c7
lea rcx, [rsp + 0x160]
mov edx, eax
call fcn.14017b180
mov ebx, dword [rsp + 0x164]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x168]
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
mov rcx, rax
sub r11d, eax
mov rax, qword [rsp + 0x168]
lea r9, [rax + rcx*2]
lea rdx, str._s_T_s
lea rcx, [rsp + 0x40]
mov r8, rsi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r11d
call fcn.140176700
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x380]
call fcn.14017b470
lea rcx, [rsp + 0x40]
call fcn.140175010
lea rcx, [rsp + 0x160]
call fcn.140175010
jmp 0x140160a86
lea rcx, [rsp + 0x380]
mov rdx, rsi
call fcn.14017b470
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, qword [rsp + 0x388]
mov edx, 0xc2
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x5b0]
test rbp, rbp
mov rbp, qword [rsp + 0x5e8]
je 0x140160b4c
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
add r11d, 0xffffffff
mov edx, 0x3ea
mov dword [rsp + 0x30], r11d
mov ebx, r11d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
xor r8d, r8d
mov edx, 0xb1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x10]
mov ebx, dword [rsp + 0x30]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
mov r8, rbx
mov rcx, rax
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x380]
call fcn.140175010
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x5b8
pop rdi
pop rbx
ret
Function at 0x140160b90
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x5b8
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov qword [r11 + 0x20], rbp
mov rdi, rcx
mov qword [r11 - 0x18], rsi
lea rcx, [r11 - 0x248]
mov rsi, r8
mov rbp, rdx
call fcn.1400012c0
test rsi, rsi
je 0x140160cd6
lea rcx, [rsp + 0x160]
call fcn.1400012c0
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [rsp + 0x164]
add eax, 1
cmp eax, ebx
jle 0x140160c27
lea rcx, [rsp + 0x160]
mov edx, eax
call fcn.14017b180
mov ebx, dword [rsp + 0x164]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x168]
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
mov rcx, rax
sub r11d, eax
mov rax, qword [rsp + 0x168]
lea r9, [rax + rcx*2]
lea rdx, str._s_T_s
lea rcx, [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r11d
call fcn.140176700
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x380]
call fcn.14017b470
lea rcx, [rsp + 0x40]
call fcn.140175010
lea rcx, [rsp + 0x160]
call fcn.140175010
jmp 0x140160ce6
lea rcx, [rsp + 0x380]
mov rdx, rbp
call fcn.14017b470
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, qword [rsp + 0x388]
mov edx, 0xc2
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, qword [rsp + 0x5e8]
test rsi, rsi
mov rsi, qword [rsp + 0x5b0]
je 0x140160dac
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
add r11d, 0xffffffff
mov edx, 0x3ef
mov dword [rsp + 0x30], r11d
mov ebx, r11d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
xor r8d, r8d
mov edx, 0xb1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x10]
mov ebx, dword [rsp + 0x30]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
mov r8, rbx
mov rcx, rax
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x380]
call fcn.140175010
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x5b8
pop rdi
pop rbx
ret
Function at 0x140177970
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov esi, r8d
mov ebx, edx
call fcn.1400012c0
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140177a08
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140177a52
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140177a52
mov r9d, dword [rsp + 0x24]
cmp eax, r9d
jle 0x1401779f5
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14017b180
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401779b7
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14016cb10
mov dword [rdi], eax
lea ebx, [rax + 1]
mov eax, dword [rdi + 4]
cmp ebx, eax
jle 0x140177a97
cmp eax, 0x104
jle 0x140177a31
mov rcx, qword [rdi + 8]
call fcn.1400ce0b0
cmp ebx, 0x104
jle 0x140177a88
add ebx, 0xffff
and ebx, 0xffff0000
movsxd rcx, ebx
call fcn.1400ce030
mov dword [rdi + 4], ebx
jmp 0x140177a93
mov eax, dword [rdi + 4]
cmp eax, 1
jge 0x140177a79
cmp eax, 0x104
jle 0x140177a6a
mov rcx, qword [rdi + 8]
call fcn.1400ce0b0
lea rax, [rdi + 0x10]
mov dword [rdi + 4], 0x104
mov qword [rdi + 8], rax
mov rax, qword [rdi + 8]
mov byte [rax], 0
mov dword [rdi], 0
jmp 0x140177aa3
lea rax, [rdi + 0x10]
mov dword [rdi + 4], 0x104
mov qword [rdi + 8], rax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14016bca0
lea rcx, [rsp + 0x20]
call fcn.140175010
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401780a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, rdx
mov rbx, rcx
xor edi, edi
lea edx, [rdi + 1]
mov rcx, rax
call fcn.1400d41f0
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x14017818d
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400d6430
test eax, eax
je 0x140178184
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14017814f
lea rcx, [rax + 1]
test rcx, rcx
je 0x140178184
mov edx, 0x80000000
cmp rcx, rdx
jge 0x140178184
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1401750a0
test eax, eax
je 0x140178184
mov rax, qword [rsp + 0x58]
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov r8d, eax
mov rcx, rsi
mov dword [rbx], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140178184
movsxd rax, dword [rbx]
cmp dword [rsp + 0x50], eax
jne 0x140178184
mov rcx, rax
mov rax, qword [rbx + 8]
mov byte [rcx + rax], dil
jmp 0x14017817f
mov eax, dword [rbx + 4]
cmp eax, 1
jge 0x140178176
cmp eax, 0x104
jle 0x140178167
mov rcx, qword [rbx + 8]
call fcn.1400ce0b0
lea rax, [rbx + 0x10]
mov dword [rbx + 4], 0x104
mov qword [rbx + 8], rax
mov rax, qword [rbx + 8]
mov byte [rax], dil
mov dword [rbx], edi
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14017df30
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, byte [rcx + 0x5c]
xor edx, edx
mov r8, rcx
cmp dword [rcx + 0x60], edx
jle 0x14017df7a
movzx r10d, r9b
lea r11, [0x140208e10]
nop
nop
mov ecx, dword [r8 + 0x288]
add edx, 1
mov rax, rcx
shl ecx, 8
shr rax, 0x18
xor rax, r10
mov eax, dword [r11 + rax*4]
xor eax, ecx
mov dword [r8 + 0x288], eax
cmp edx, dword [r8 + 0x60]
jl 0x14017df50
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
movsxd rdx, dword [r8 + 0x60]
mov ecx, edx
sub ecx, 1
je 0x14017e025
sub ecx, 1
je 0x14017e014
cmp ecx, 1
je 0x14017e003
mov byte [rdx + r8 + 0x7c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movzx edx, byte [r8 + 0x60]
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
sub dl, 4
mov byte [rcx + rax], dl
add dword [r8 + 0x6c], 1
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
ret
Function at 0x1401a7120
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x1401a716c
call fcn.1401a89a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401a8ca0
xor eax, eax
jmp 0x1401a7212
mov qword [rsp + 0x50], rdi
call fcn.1401a7c40
mov edx, 0x2d8
mov ecx, 1
call fcn.1401a8ad0
test rax, rax
mov rdi, rax
je 0x1401a71f8
call fcn.1401a7e80
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.1401a7c60
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x1401a7080]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1401a720d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1401a7300
test ebx, ebx
je 0x1401a720b
mov ecx, ebx
call fcn.1401a89d0
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
Function at 0x1401a78e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140209b48]
jne 0x1401a6afa
rol rcx, 0x10
test cx, 0xffff
jne 0x1401a6af6
repz ret
ror rcx, 0x10
jmp 0x1401a7840
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14020b4d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14020b5c8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401a78c5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14020b4d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1401a78e7
mov rax, qword [rsp + 0x88]
mov qword [0x14020b5c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14020b568], rax
mov rax, qword [0x14020b5c8]
mov qword [0x14020b440], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14020b550], rax
mov dword [0x14020b430], 0xc0000409
mov dword [0x14020b434], 1
mov rax, qword [0x140209b48]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140209b50]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14020b4c8], eax
mov ecx, 1
call fcn.1401aae20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401e6370]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14020b4c8], 0
jne 0x1401a796e
mov ecx, 1
call fcn.1401aae20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1401a8ca0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14020ba10]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1401a7b50
test rax, rax
je 0x1401a8cf4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x1401a8d89
mov ecx, 2
call fcn.1401aae20
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1401a6e60
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1401a8d75
test ebx, ebx
jne 0x1401a8d75
lea ecx, [rax + 2]
call fcn.1401aae20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret