joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4362a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
test rsi, rsi
jne 0x436374
xor rsi, rsi
mov rcx, rbx
mov edx, esi
lea r8, [rbp + 0x266]
mov r9d, 0x20a
call sub.advapi32.dll_RegEnumKeyW
mov edi, eax
test edi, edi
je 0x4362ef
cmp edi, 0x103
jne 0x43636e
xor rdi, rdi
jmp 0x43636e
cmp word [rbp + 0x266], 0x2e
jne 0x43634f
mov dword [rbp + 0x58], 0x20a
mov rcx, rbx
lea rdx, [rbp + 0x266]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x58]
call sub.advapi32.dll_RegQueryValueW
mov edi, eax
test edi, edi
jne 0x43636e
lea rax, [rbp + 0x266]
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 0xa
lea rax, [rbp + 0x5c]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], 0xa
lea rcx, [0x00436414]
lea rdx, [rbp + 0x30]
mov r8d, 1
call fcn.0042b650
mov rax, qword [0x0044c358]
cmp dword [rax], 0
je 0x436366
mov eax, 1
jmp 0x436408
add esi, 1
jmp 0x4362c0
nop
jmp 0x436406
mov rcx, rsi
xor rdx, rdx
call fcn.0043ffd0
mov rsi, rax
mov rcx, rsi
mov dx, 0x20
call fcn.00426210
test rax, rax
je 0x436398
mov word [rax], 0
mov dword [rbp + 0x58], 0x20a
mov rcx, rbx
mov rdx, rsi
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x58]
call sub.advapi32.dll_RegQueryValueW
mov edi, eax
test edi, edi
jne 0x4363e5
mov qword [rbp + 0x30], rsi
mov byte [rbp + 0x38], 0xa
lea rax, [rbp + 0x5c]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], 0xa
lea rcx, [0x00436414]
lea rdx, [rbp + 0x30]
mov r8d, 1
call fcn.0042b650
jmp 0x436406
mov qword [rbp + 0x20], rsi
mov byte [rbp + 0x28], 0xa
lea rcx, [0x00436430]
mov edx, 1
lea r8, [rbp + 0x20]
xor r9, r9
call fcn.0043f5e0
mov eax, edi
lea rsp, [rbp + 0x478]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x436cc0
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x2b0
mov rbp, rsp
mov rbx, rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], r8
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [rbp + 0x9e]
lea rdx, [0x00436f58]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.004263b0
mov rcx, rbx
lea rdx, [rbp + 0x9e]
lea r8, [rbp + 0x2a8]
call sub.advapi32.dll_RegOpenKeyW
mov r13d, eax
test r13d, r13d
je 0x436e39
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x436d3f
mov rax, qword [rbp + 0x58]
cmp word [rax], 0
jne 0x436d75
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00436f90]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043f5e0
mov eax, r13d
jmp 0x436f48
lea rdi, [rbp + 0x9e]
jmp 0x436d82
add rdi, 2
cmp word [rdi], 0
je 0x436d8e
cmp word [rdi], 0x5c
jne 0x436d7e
movzx rsi, word [rdi]
mov word [rdi], 0
mov rcx, rbx
lea rdx, [rbp + 0x9e]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x2a8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
call sub.advapi32.dll_RegCreateKeyExW
mov r13d, eax
test r13d, r13d
je 0x436e1b
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00436f90]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043f5e0
mov eax, r13d
jmp 0x436f48
test si, si
je 0x436e38
mov word [rdi], si
add rdi, 2
mov rcx, qword [rbp + 0x2a8]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x436d82
nop
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x436e4c
mov rax, qword [rbp + 0x58]
cmp word [rax], 0
jne 0x436e9a
mov rcx, qword [rbp + 0x2a8]
xor rdx, rdx
call sub.advapi32.dll_RegDeleteKeyW
mov r13d, eax
test r13d, r13d
je 0x436f39
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00436f90]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043f5e0
jmp 0x436f39
mov rcx, qword [rbp + 0x58]
call fcn.00426280
mov rcx, qword [rbp + 0x2a8]
lea rdx, [0x00437014]
xor r8, r8
mov r9d, 2
mov r10, qword [rbp + 0x58]
mov qword [rsp + 0x20], r10
add eax, 1
add eax, eax
mov dword [rsp + 0x28], eax
call sub.advapi32.dll_RegSetValueExW
mov r13d, eax
test r13d, r13d
jne 0x436f0b
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x68], 0xa
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0xa
lea rcx, [0x00437016]
lea rdx, [rbp + 0x60]
mov r8d, 1
call fcn.0042b650
jmp 0x436f39
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00437034]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043f5e0
mov rcx, qword [rbp + 0x2a8]
call sub.advapi32.dll_RegCloseKey_1
mov eax, r13d
lea rsp, [rbp + 0x2b0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x439d10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x2a0
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x48], r9
mov rcx, qword [rbp + 0x30]
call fcn.00426280
mov ebx, eax
xor rcx, rcx
mov rsi, qword [rbp + 0x2f8]
jmp 0x439d56
add ecx, 1
jmp 0x439d50
add rsi, 2
cmp word [rsi], 0
jne 0x439d4c
cmp word [rsi], 0
jne 0x439d47
mov rax, qword [rbp + 0x2f8]
neg rax
lea rax, [rsi + rax]
mov r8d, 2
cqo
idiv r8
mov edx, ebx
add edx, eax
add edx, 1
imul ecx, edx
add ecx, ecx
call fcn.0043df30
mov r13, rax
mov rsi, qword [rbp + 0x2f8]
mov rdi, r13
jmp 0x439dd1
mov rcx, rdi
mov rdx, qword [rbp + 0x30]
mov r8d, ebx
call fcn.00426170
movsxd rax, ebx
lea rcx, [rdi + rax*2]
mov rdx, rsi
call fcn.004262a0
movsxd rax, ebx
add rax, rax
add rdi, rax
jmp 0x439dc7
add rsi, 2
add rdi, 2
cmp word [rsi], 0
jne 0x439dbf
add rdi, 2
cmp word [rsi], 0
jne 0x439d96
mov word [rdi], 0
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov r8d, dword [rbp + 0x2f0]
mov r9, r13
mov byte [rsp + 0x20], 1
call fcn.0043ae50
mov esi, eax
mov rax, qword [rbp + 0x38]
mov word [rax], 0x2a
mov word [rax + 2], 0
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_FindFirstFileW_1
mov rbx, rax
mov rax, qword [rbp + 0x38]
mov word [rax], 0
cmp rbx, 0xffffffffffffffff
je 0x439ed2
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x7c]
call fcn.004262a0
mov eax, dword [rbp + 0x50]
test eax, 0x10
je 0x439eb6
lea rcx, [rbp + 0x7c]
lea rdx, [0x00439ee4]
call fcn.0041ccb0
test eax, eax
je 0x439eb6
lea rcx, [rbp + 0x7c]
lea rdx, [0x00439ee8]
call fcn.0041ccb0
test eax, eax
je 0x439eb6
mov rcx, qword [rbp + 0x38]
call fcn.00426430
mov rsi, rax
add rsi, 2
mov word [rsi], 0x5c
add rsi, 2
mov word [rsi], 0
mov rcx, qword [rbp + 0x30]
mov rdx, rsi
mov r8, qword [rbp + 0x40]
mov r9, qword [rbp + 0x48]
mov eax, dword [rbp + 0x2f0]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0x2f8]
mov qword [rsp + 0x28], rax
call fcn.00439d10
mov esi, eax
mov rcx, rbx
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x439e2c
mov rcx, rbx
call sub.kernel32.dll_FindClose_1
mov eax, esi
lea rsp, [rbp + 0x2a0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x43cd20
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x40], 0xffffffff80000002
mov qword [rsp + 0x48], 0xffffffff80000001
cmp byte [0x0044ba3a], 0
je 0x43cd4b
mov byte [0x0044ba38], 1
xor rsi, rsi
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0x40]
lea rdx, [0x0043cf8c]
lea r8, [rsp + 0x98]
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x43cf73
mov dword [rsp + 0x50], 0
lea rbx, [rsp + 0x58]
mov dword [rsp + 0x54], 0x40
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043cfd6]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43cde6
cmp dword [rsp + 0x50], 4
jne 0x43cdcb
cmp dword [rbx], 0
setne al
mov byte [0x0044ba22], al
jmp 0x43cde6
cmp dword [rsp + 0x50], 1
jne 0x43cde6
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044ba22], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043cff6]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43ce45
cmp dword [rsp + 0x50], 4
jne 0x43ce2a
cmp dword [rbx], 0
setne al
mov byte [0x0044ba38], al
jmp 0x43ce45
cmp dword [rsp + 0x50], 1
jne 0x43ce45
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044ba38], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043d018]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43cea4
cmp dword [rsp + 0x50], 4
jne 0x43ce89
cmp dword [rbx], 0
setne al
mov byte [0x0044ba39], al
jmp 0x43cea4
cmp dword [rsp + 0x50], 1
jne 0x43cea4
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044ba39], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043d03a]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43cf05
cmp dword [rsp + 0x50], 4
jne 0x43cee7
movzx rax, word [rbx]
mov word [0x0044ba40], ax
jmp 0x43cf05
cmp dword [rsp + 0x50], 1
jne 0x43cf05
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x0044ba40], ax
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043d054]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43cf66
cmp dword [rsp + 0x50], 4
jne 0x43cf48
movzx rax, word [rbx]
mov word [0x0044ba42], ax
jmp 0x43cf66
cmp dword [rsp + 0x50], 1
jne 0x43cf66
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x0044ba42], ax
mov rcx, qword [rsp + 0x98]
call sub.advapi32.dll_RegCloseKey_1
add esi, 1
cmp esi, 2
jne 0x43cd4e
nop
mov al, 1
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x43f3c0
Capabilities:
Set current directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
mov rbp, rsp
xor rdi, rdi
mov word [rbp + 0x238], 0x3d
add cx, 0x40
mov word [rbp + 0x23a], cx
mov word [rbp + 0x23c], 0x3a
mov word [rbp + 0x23e], 0
xor rsi, rsi
lea rcx, [rbp + 0x238]
call fcn.00428700
mov rbx, rax
test rbx, rbx
je 0x43f41c
mov rcx, rbx
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
setne sil
test sil, sil
jne 0x43f497
test rbx, rbx
je 0x43f433
mov ecx, 1
call sub.kernel32.dll_SetErrorMode
mov edi, eax
movzx rax, word [rbp + 0x23a]
mov word [rbp + 0x2e], ax
movzx rax, word [rbp + 0x23c]
mov word [rbp + 0x30], ax
mov word [rbp + 0x32], 0x5c
mov word [rbp + 0x34], 0
lea rcx, [rbp + 0x238]
lea rdx, [rbp + 0x2e]
call fcn.00428a70
lea rcx, [rbp + 0x2e]
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x43f48b
lea rcx, [0x0043f4c0]
xor rdx, rdx
lea r8, [rbp + 0x20]
or r9d, 0xffffffff
call fcn.0043f5e0
test rbx, rbx
je 0x43f497
mov ecx, edi
call sub.kernel32.dll_SetErrorMode
mov rcx, qword [0x0044c5d0]
xor rdx, rdx
call fcn.0042adb0
lea rsp, [rbp + 0x248]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x43fdf0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x43fe1c
call sub.kernel32.dll_GetLastError_2
mov dword [0x0044bc30], eax
test esi, esi
je 0x43fe2a
mov rcx, rbx
call fcn.0043fe40
mov edi, eax
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x440050
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov word [rbp + 0x28], cx
mov word [rbp + 0x2a], 0x3a
mov word [rbp + 0x2c], 0x5c
mov word [rbp + 0x2e], 0
lea rcx, [rbp + 0x28]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x440081
xor rax, rax
jmp 0x440083
mov al, 1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x440090
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x260
mov rbp, rsp
mov word [rbp + 0x44], cx
mov word [rbp + 0x46], 0x3a
mov word [rbp + 0x48], 0x5c
mov word [rbp + 0x4a], 0
lea rcx, [rbp + 0x44]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x4400c3
mov al, 1
jmp 0x440120
cmp eax, 2
je 0x44011d
cmp eax, 5
je 0x44011d
lea rcx, [rbp + 0x44]
lea rdx, [rbp + 0x4e]
mov r8d, 0x104
lea r9, [rbp + 0x258]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x44011d
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x44011d
mov al, 1
jmp 0x440120
xor rax, rax
lea rsp, [rbp + 0x260]
pop rbp
ret

Function at 0x440710
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
test rbx, rbx
je 0x44080e
mov rax, qword [0x0044c1a0]
cmp qword [rax], 0
jne 0x44080e
mov rax, qword [0x0044c028]
cmp byte [rax], 0
jne 0x44080e
mov ecx, 0x20c
call fcn.00405280
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x44080e
mov rcx, qword [rbp + 0x28]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov esi, eax
test esi, esi
je 0x44080e
mov rcx, rbx
call fcn.00426280
lea rcx, [rbp + 0x28]
mov edx, esi
add edx, eax
add edx, dword [0x0046a0c4]
add edx, 0xa
add edx, edx
mov edx, edx
call fcn.004052e0
cmp qword [rbp + 0x28], 0
je 0x44080e
mov rax, qword [0x0044c298]
cmp byte [rax], 0
je 0x4407c7
mov rax, qword [rbp + 0x28]
mov ecx, dword [0x0046a0c4]
lea rcx, [rax + rcx*2]
mov rdx, rbx
call fcn.004262a0
jmp 0x4407fc
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00440818]
call fcn.004262c0
mov rcx, qword [rbp + 0x28]
call fcn.00426280
mov dword [0x0046a0c4], eax
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call fcn.004262c0
mov rax, qword [0x0044c298]
mov byte [rax], 1
mov rcx, qword [rbp + 0x28]
call sub.kernel32.dll_SetConsoleTitleW
mov rcx, qword [rbp + 0x28]
call fcn.004052b0
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x440820
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x44085b
mov rax, qword [0x0044c1a0]
cmp qword [rax], 0
jne 0x44085b
mov rax, qword [0x0044c298]
cmp byte [rax], 0
je 0x44085b
call sub.kernel32.dll_SetConsoleTitleW
mov dword [0x0046a0c4], 0
mov rax, qword [0x0044c298]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x4410c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
movzx rbx, word [rax]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 2]
mov word [rbp + 0x3c], ax
mov rax, qword [rbp + 0x28]
movzx rsi, word [rax + 4]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 6]
mov word [rbp + 0x3e], ax
mov qword [rbp + 0x30], rdx
mov r13d, 1
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov ebx, eax
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
movzx rax, word [rbp + 0x3c]
add ax, word [rcx]
mov word [rbp + 0x3c], ax
add rcx, 2
mov qword [rbp + 0x30], rcx
add si, word [rcx]
add rcx, 2
mov qword [rbp + 0x30], rcx
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov word [rbp + 0x3e], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov edi, ebx
xor di, si
mov rcx, rbp
mov edx, edi
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov edi, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
movzx rcx, word [rbp + 0x3e]
xor ax, cx
mov ecx, edi
add cx, ax
mov eax, ecx
mov rcx, rbp
mov edx, eax
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
add di, ax
xor bx, ax
movzx rcx, word [rbp + 0x3e]
xor cx, di
mov word [rbp + 0x3e], cx
movzx rcx, word [rbp + 0x3c]
xor di, cx
xor si, ax
mov word [rbp + 0x3c], si
mov esi, edi
add r13d, 1
cmp r13d, 9
jne 0x441107
nop
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov ebx, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov word [rax], bx
mov rax, qword [rbp + 0x30]
add si, word [rax]
mov rax, qword [rbp + 0x28]
mov word [rax + 2], si
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
mov rcx, qword [rbp + 0x30]
add ax, word [rcx]
mov rcx, qword [rbp + 0x28]
mov word [rcx + 4], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441070
mov rcx, qword [rbp + 0x28]
mov word [rcx + 6], ax
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x140011613
Capabilities:
Terminate process

Disassembly:
jmp 0x140021d10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011776
Capabilities:
Parse pe header

Disassembly:
jmp 0x140022840
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022860
xor al, al
jmp 0x1400228e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022873
xor al, al
jmp 0x1400228e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002289d
xor al, al
jmp 0x1400228e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400228b1
xor al, al
jmp 0x1400228e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400228c3
xor al, al
jmp 0x1400228e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400228df
xor al, al
jmp 0x1400228e1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400119ba
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a740
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400390f3]
call fcn.140011a46
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001a7a6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14001a7ad
mov al, 1
jmp 0x14001a902
call fcn.1400113d4
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
movzx edx, ax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov word [rbp + 0x160], ax
call fcn.1400113d4
movzx ecx, word [rbp + 0x160]
movzx edx, cx
movzx ecx, ax
call fcn.140011479
movzx eax, al
test eax, eax
je 0x14001a803
xor al, al
jmp 0x14001a902
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14001a868
cmp dword [rbp + 0x154], 1
je 0x14001a873
cmp dword [rbp + 0x154], 3
je 0x14001a8f1
jmp 0x14001a900
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001a8c3
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001a8c3
xor al, al
jmp 0x14001a902
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14001a8de
mov dword [rbp + 0x154], 1
jmp 0x14001a8e8
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001a902
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x14001a902
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a830]
call fcn.1400118c0
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140011519
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140005ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov r11, qword [rdx + 0x20]
mov r10, qword [rdx + 0x28]
lea rcx, [r10 + 1]
mov qword [rdx + 0x28], rcx
mov al, 1
cmp rcx, r11
jae 0x140005b02
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x140005af7
cmp edi, 0x2d
jne 0x140005b02
xor eax, eax
add r10, 2
mov qword [rdx + 0x28], r10
mov rcx, r10
cmp rcx, r11
jae 0x140005caa
mov rdi, qword [rdx + 0x18]
movzx r10d, byte [rdi + rcx]
lea rbx, [rcx + 1]
mov qword [rdx + 0x28], rbx
add r10b, 0xd0
cmp r10b, 0xa
jae 0x140005cb5
movzx r10d, r10b
cmp rbx, r11
jae 0x140005bb0
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x140005b6c
movzx r11d, r11b
lea r10d, [r10 + r10*4]
lea r10d, [r11 + r10*2]
lea r11, [rbx + rcx]
inc r11
inc rcx
cmp r11, 2
je 0x140005bb0
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x140005bb0
mov qword [rdx + 0x28], rcx
cmp r10d, 0xccccccb
jle 0x140005b50
cmp r10d, 0xccccccc
jne 0x140005b98
cmp r11b, 7
jbe 0x140005b50
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call fcn.14020abd0
jmp 0x140005c97
mov ecx, dword [rsp + 0x80]
test al, al
je 0x140005bcc
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x140005bdc
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x140215700]
subpd xmm1, xmmword [0x140215710]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x140005c48
xorpd xmm1, xmm1
movsd xmm2, qword [0x140215720]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x140005c28
jnp 0x140005c80
test ecx, ecx
jns 0x140005cdb
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x140005c20
mov eax, eax
mov r9, qword [0x140325050]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x140005c9f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x140005cdb
test r8b, r8b
jne 0x140005c8d
xorpd xmm0, xmmword [0x140215730]
movsd qword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x140005c85
jmp 0x140005c8d
mov qword [rsp + 0x28], 5
jmp 0x140005cbe
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14020ac70
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140005c97
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14020ac70
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140005c94