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

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180056db0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001d593
mov qword [rsp], rbx
lea rbx, [0x180049e10]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d573
cmp byte [r8], r9b
jne 0x18001d573
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001d560
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f40]
not eax
mov r8, qword [r10 + 0x5f48]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001d5bf
cmp dword [r8 + 8], eax
je 0x18001d5c6
add r8, 0x48
cmp r8, rcx
jne 0x18001d5b0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18003f810
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x180056db0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18003fa2e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18003fa2e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x180056db0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18003f8e4
movsx rdx, word [r8 + 0x60a8]
lea rax, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18003f8d9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60ac]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60a0]
test rdi, rdi
je 0x18003f901
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x18003f904
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x18004ebf8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x18003f947
mov rsi, qword [r8 + 0x90]
jmp 0x18003f94a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18003f975
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x180056db0]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18003f9ee
inc rbx
cmp rbx, 5
jl 0x18003f9d0
jmp 0x18003fa1a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x18003fa30
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180046710
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180042190
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x1800421a0
xor eax, eax
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x180042110]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180044af0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x180044bcb
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x180044b3e
cmp rbx, qword [0x180056008]
ja 0x180044b3e
sub rbx, 0x8000000
jmp 0x180044bc2
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180044bcb
cmp dword [rsp + 0x40], 0x10000
jne 0x180044ba6
cmp qword [rsp + 0x38], 0x10000
jb 0x180044ba6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180044bcd
sub rbx, 0x10000
jmp 0x180044bc2
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180044b20
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x180044be0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180044c02
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x180044cbd
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x180044c2e
cmp rbx, qword [0x180056008]
ja 0x180044c2e
add rbx, 0x8000000
jmp 0x180044cb4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180044cbd
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180044c99
cmp rcx, 0x10000
jb 0x180044c99
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180044cbf
add rbx, 0x10000
jmp 0x180044cb4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x180044cb4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180044c10
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180044cd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180044cf2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x180044d0e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180044d25
cmp byte [rcx + 1], 0x25
jne 0x180044d69
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180044d31
cmp al, 0xe9
jne 0x180044d69
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180044d54
cmp rcx, 0xffffffff80000000
jae 0x180044d4b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180044d69
mov rsi, 0xfffffffffff80000
jmp 0x180044d69
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180044d69
mov edi, 0x80000
mov rdx, qword [0x1800564e8]
mov rax, qword [0x1800564e0]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180044d90
test rax, rax
je 0x180044da7
mov rdx, rax
mov qword [0x1800564e8], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180044da7
cmp rcx, rdi
jb 0x180044da7
cmp rcx, rsi
jbe 0x180044efa
mov qword [0x1800564e8], rax
mov rdx, rax
test rax, rax
je 0x180044df2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x180044ddc
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180044ddc
cmp rax, rdi
jb 0x180044ddc
cmp rax, rsi
jbe 0x180044efa
mov rdx, qword [rdx + 8]
mov qword [0x1800564e8], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x180044dc0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x180044e1c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.180044af0
mov rdx, rax
test rax, rax
jne 0x180044ea8
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180044e42
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.180044be0
mov rdx, rax
test rax, rax
jne 0x180044ea8
cmp rbx, 0x40000000
jbe 0x180044e62
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.180044be0
mov rdx, rax
test rax, rax
jne 0x180044ea8
cmp rbx, rbp
jae 0x180044e7e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.180044af0
mov rdx, rax
test rax, rax
jne 0x180044ea8
mov rdx, rbx
mov rcx, rdi
call fcn.180044af0
mov rdx, rax
test rax, rax
jne 0x180044ea8
mov rdx, rsi
mov rcx, rbx
call fcn.180044be0
mov rdx, rax
test rax, rax
je 0x180044f31
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x1800564e8], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x1800564e0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1800564e0], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180044ee2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180044f31
cmp rax, rsi
ja 0x180044f31
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1800487d0]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180044f33
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180045190
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1800451be
xor al, al
jmp 0x180045200
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x1800451cf
xor al, al
jmp 0x180045200
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1800451f6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1800451f6
mov al, 1
jmp 0x180045200
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1800456e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1800564f8], eax
je 0x180045707
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x1800564fc]
test eax, eax
jne 0x180045843
test rbp, rbp
jne 0x180045724
lea eax, [rbp + 0x57]
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x180045740
cmp qword [rsi], 0
jne 0x18004574c
mov dword [0x1800564fc], 6
mov qword [0x180056500], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.180046730
mov rdi, rax
test rax, rax
jne 0x180045770
lea ebx, [rax + 8]
jmp 0x180045818
mov rcx, qword [rsi]
xor edx, edx
call fcn.180045630
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.180045630
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x18004580a
cmp rdx, 0x1e
ja 0x18004580a
cmp qword [rbx + 0x50], rax
jne 0x18004580a
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800457cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180045818
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x180056510]
mov qword [rdi], rax
xor eax, eax
mov qword [0x180056510], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x1800564f0], 0
mov ebx, 9
jne 0x180045823
mov dword [0x1800564fc], ebx
test rdi, rdi
je 0x180045830
mov edx, 0x30
mov rcx, rdi
call fcn.180046ae4
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x180056500], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180045850
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x1800564f8], 0
jne 0x1800458f7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1800564f8], ecx
jne 0x1800458f7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1800564e0]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180056510], rdi
mov qword [0x180056508], rdi
mov qword [0x180056500], rdi
test rbx, rbx
je 0x1800458e0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800458d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800458b0
jmp 0x1800458e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x1800564fc], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180045f10
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x1800564fc]
mov rdi, rcx
test eax, eax
jne 0x180045fb3
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x180045f3a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180046730
mov rbx, rax
test rax, rax
jne 0x180045f56
lea edi, [rax + 8]
jmp 0x180045f79
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180045f97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180046ae4
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x1800564fc], edi
mov qword [0x180056500], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180056508]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180056508], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x614cf0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x614cfd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x614d0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x614cf5
lea eax, [rcx + 1]
jmp 0x614d1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x614d2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x614d14
sub eax, 3
jb 0x614d4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x614d9d
sar eax, 1
movsxd rbp, eax
jb 0x614d84
jmp 0x614d5c
add ebx, ebx
jne 0x614d5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x614d84
inc ecx
add ebx, ebx
jne 0x614d6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x614d84
call r11
adc ecx, ecx
add ebx, ebx
jne 0x614d7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x614d6c
add ecx, 2
jmp 0x614d89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00614cb2
jmp 0x614cfd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xbb400
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x614de9
cmp rsi, rcx
jae 0x614df1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x614dd0
cmp al, 0x8f
ja 0x614dd0
cmp byte [rsi - 2], 0xf
je 0x614dd6
sub al, 0xe8
cmp al, 1
ja 0x614dba
cmp rsi, rcx
jae 0x614df1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x614dc0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x614df1
lodsb al, byte [rsi]
jmp 0x614dd0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x210000]
mov eax, dword [rdi]
or eax, eax
je 0x614e4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x214000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x614dfe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x614e48
mov qword [rbx], rax
add rbx, 8
jmp 0x614e1e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x614e88
cmp al, 0xef
ja 0x614e7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x614e5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x614e69
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x614edc
sub rsp, 0xffffffffffffff80
jmp 0x465240
Function at 0x1400011e0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor ebx, ebx
lea rdx, [rsp + 0x270]
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140001210
lea rcx, [rsp + 0x270]
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x140001230
lea rcx, [rsp + rax*2 + 0x26e]
movzx eax, word [rsp + rax*2 + 0x26e]
cmp ax, word [0x140019fa0]
jne 0x140001261
movzx eax, word [rcx + 2]
cmp ax, word [0x140019fa2]
je 0x140001282
lea rcx, [rsp + 0x270]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x140001270
mov eax, dword [0x140019fa0]
mov dword [rcx], eax
lea rax, [rsp + 0x270]
sub rax, 2
nop
cmp word [rax + 2], bx
lea rax, [rax + 2]
jne 0x140001290
movsd xmm0, qword [0x140019fa8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
movsd qword [rax], xmm0
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001322
test byte [rsp + 0x20], 0x10
je 0x140001305
movzx ecx, word [rsp + 0x4c]
cmp cx, word [0x140019fb0]
movzx eax, word [rsp + 0x4e]
jne 0x1400012e5
cmp ax, word [0x140019fb2]
je 0x140001307
cmp cx, word [0x140019fb4]
jne 0x140001305
cmp ax, word [0x140019fb6]
jne 0x140001305
movzx eax, word [rsp + 0x50]
cmp ax, word [0x140019fb8]
je 0x140001307
inc ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400012c2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140006070
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x490
pop rdi
ret
Function at 0x140001610
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rdi, [0x14001ee00]
xor eax, eax
mov esi, 4
lea rbp, [0x14001ee10]
mov r15, rdi
lea r13, [0x14001a090]
mov r14d, eax
lea rbx, [0x14001ee20]
mov r12d, esi
nop dword [rax]
mov r8, qword [r14 + r13]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + rbx], rax
add rbp, 4
xor eax, eax
lea r14, [r14 + 8]
mov dword [r15], eax
lea r15, [r15 + 4]
sub r12, 1
jne 0x140001660
or r9d, 0xffffffff
lea r8d, [rax + 1]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov r13, qword [rsp + 0x60]
nop dword [rax]
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x1400016b0
cmp dword [0x14001ee00], 5
jae 0x1400016e5
cmp dword [0x14001ee04], 5
jb 0x140001702
cmp dword [0x14001ee08], 0xf70
jb 0x140001702
cmp dword [0x14001ee0c], 2
jb 0x140001702
mov rcx, r13
call fcn.140003180
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400024a0
Capabilities:
Encode data using xor

Disassembly:
mov r8d, edx
xor eax, eax
shr r8d, 2
mov r10, rcx
test r8d, r8d
je 0x140002553
cmp r8d, 8
jb 0x14000252d
movdqa xmm2, xmmword [0x14001a220]
mov ecx, r8d
movdqa xmm3, xmmword [0x14001a230]
and ecx, 7
mov r9d, r8d
sub r9d, ecx
nop word [rax + rax]
movdqu xmm0, xmmword [r10 + rax*4]
lea edx, [rax + 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
psubd xmm1, xmm3
pxor xmm1, xmm0
movdqu xmmword [r10 + rax*4], xmm1
add eax, 8
movd xmm1, edx
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
psubd xmm1, xmm3
movdqu xmm0, xmmword [r10 + rdx*4]
pxor xmm1, xmm0
movdqu xmmword [r10 + rdx*4], xmm1
cmp eax, r9d
jb 0x1400024e0
cmp eax, r8d
jae 0x140002553
lea rdx, [r10 + rax*4]
nop word [rax + rax]
lea ecx, [rax - 0xff0100]
inc eax
xor dword [rdx], ecx
lea rdx, [rdx + 4]
cmp eax, r8d
jb 0x140002540
ret

Function at 0x140002560
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea esi, [rdx - 0x10]
mov rbx, rcx
mov ecx, esi
mov r14, r8
mov edi, esi
call fcn.140008114
mov r10, rax
test rax, rax
je 0x140002688
xor r8d, r8d
mov word [rsp + 0x20], 0
mov ecx, r8d
nop dword [rax]
mov byte [rsp + rcx + 0x22], cl
inc rcx
cmp rcx, 0x100
jb 0x1400025b0
xor r9b, r9b
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsp + r8 + 0x22]
mov rax, r8
and eax, 0xf
movzx ecx, byte [rax + rbx]
add cl, dl
add r9b, cl
lea rcx, [rsp + 0x22]
movzx eax, r9b
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x22], al
inc r8
mov byte [rcx], dl
cmp r8, 0x100
jb 0x1400025d0
test esi, esi
je 0x140002682
movzx edx, byte [rsp + 0x21]
mov r9, r10
movzx r8d, byte [rsp + 0x20]
sub rbx, r10
nop dword [rax]
inc r8b
lea r9, [r9 + 1]
mov byte [rsp + 0x20], r8b
movzx eax, r8b
lea r8, [rsp + 0x22]
add r8, rax
add dl, byte [r8]
mov byte [rsp + 0x21], dl
movzx ecx, byte [r8]
movzx eax, dl
lea rdx, [rsp + 0x22]
add rdx, rax
movzx eax, byte [rdx]
mov byte [r8], al
mov byte [rdx], cl
movzx edx, byte [rsp + 0x21]
movzx r8d, byte [rsp + 0x20]
movzx ecx, byte [rsp + rdx + 0x22]
add cl, byte [rsp + r8 + 0x22]
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x22]
xor cl, byte [rbx + r9 + 0xf]
mov byte [r9 - 1], cl
sub rdi, 1
jne 0x140002620
mov dword [r14], esi
mov rax, r10
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140006070
mov rbx, qword [rsp + 0x178]
add rsp, 0x140
pop r14
pop rdi
pop rsi
ret