joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005613c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180042ef0
sub rsp, rax
mov rax, qword [0x180081100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800504bc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18005618b
mov rax, rbp
jmp 0x180056293
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xd1df0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180057b5c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xd1df0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18005628f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005628f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180057b5c
test rax, rax
js 0x18005628f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18005628f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180056281
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180056281
cmp byte [rcx], 0xd
jne 0x180056267
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180056276
cmp byte [rcx + 1], 0xa
jne 0x180056276
inc rcx
jmp 0x180056276
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x81530]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180056249
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180056293
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180042e40
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180056efc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800d1df0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180056f53
cmp word [rdx], r13w
jne 0x180056f53
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180056f58
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18005707d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005709e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180056f91
mov rdx, r9
mov word [rbx], cx
jmp 0x180056fb8
cmp r9, r8
jae 0x180056fc8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180056f72
jmp 0x18005707d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180057072
cmp dword [rsp + 0x80], esi
je 0x180057072
lea r8, [0x1800d1df0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18005704a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005701a
mov word [rbx], r13w
jmp 0x18005707a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180057027
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18005707a
cmp word [rsp + 0x70], r13w
jne 0x180057057
cmp rbx, r14
je 0x180057014
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180057b64
cmp word [rsp + 0x70], r13w
je 0x18005707d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800d1df0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180057077
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18005707d
Function at 0x18005ae5c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005ae8c
xor eax, eax
jmp 0x18005af4f
mov rbp, rbx
cmp word [rax], si
je 0x18005aeb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005ae98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005ae94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180059574
movsxd r14, eax
test eax, eax
jne 0x18005aeef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005ae85
mov rcx, r14
call fcn.180054918
mov rdi, rax
test rax, rax
jne 0x18005af08
xor ecx, ecx
call fcn.180053794
jmp 0x18005aee4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180059574
test eax, eax
jne 0x18005af39
mov rcx, rdi
call fcn.180053794
jmp 0x18005af43
xor ecx, ecx
call fcn.180053794
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18005dcc4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180050ae0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18005dd65
cmp ebx, dword [rsp + 0x30]
je 0x18005dd5e
test esi, esi
je 0x18005dd5e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18005dd39
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18005dd46
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18005dd23
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18005dd4a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18005dd67
mov eax, 1
jmp 0x18005dd67
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800626f8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180057b64
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180057b64
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180062848
cmp rax, 0xffffffffffffffff
je 0x180062848
xor edi, edi
test rbp, rbp
jle 0x1800627f3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180052934
mov rbx, rax
test rax, rax
jne 0x180062780
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800627e9
mov edx, 0x8000
mov ecx, r14d
call fcn.18006257c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18005348c
cmp eax, 0xffffffff
je 0x1800627c9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180062790
mov edx, r15d
mov ecx, r14d
call fcn.18006257c
jmp 0x1800627e9
cmp byte [rsi + 0x38], dil
je 0x1800627e0
cmp dword [rsi + 0x34], 5
jne 0x1800627e0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800627e9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180053794
jmp 0x18006285c
jns 0x18006285c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180057b64
cmp rax, 0xffffffffffffffff
jne 0x180062814
cmp byte [rsi + 0x30], dil
je 0x18006285c
mov edi, dword [rsi + 0x2c]
jmp 0x18006285c
mov ecx, r14d
call fcn.18005b618
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18006285c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18006285c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180062855
mov eax, dword [rsi + 0x2c]
jmp 0x18006285a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180057b64
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180063080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800630a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800630a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x141799058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417991df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141799089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14179906f
add dl, dl
jne 0x141799096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417990f6
xor eax, eax
add dl, dl
jne 0x1417990a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417991ad
add dl, dl
jne 0x1417990b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417990c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417990d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417990dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417990ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14179907e
mov eax, 1
add dl, dl
jne 0x141799106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141799113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417990fb
sub eax, ebx
mov ebx, 1
jne 0x14179914c
mov ecx, 1
add dl, dl
jne 0x14179912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14179913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141799123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14179907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141799168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141799175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14179915d
cmp eax, 0x7d00
jae 0x14179919b
cmp eax, 0x500
jb 0x141799196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14179907e
cmp eax, 0x7f
ja 0x14179919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14179907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417991d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14179907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011c0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
nop dword [rax + rax]
lea rcx, [0x1400033d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.enter_license_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001420
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140001770
lea rcx, [0x1400033d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 0xf
cmova rax, rbx
cmp qword [rsp + 0x30], 5
jne 0x140001284
cmp dword [rax], 0x30343132
jne 0x140001284
cmp byte [rax + 4], 0x31
je 0x1400012a9
lea rdx, str.wrong_key_lol_ntry_again._nPress_any_key_to_continue_._._.__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001420
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
jmp 0x140001200
lea rdx, str._n__________CORRECT__KEY___________n_nPress_any_key_to_continue_._._.__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001420
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
cmp rdi, 0xf
jbe 0x140001304
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400012fc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400012fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000197c
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001920
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400022a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.14016b170
sub rsp, rax
mov rax, qword [0x140250f68]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov rbx, rcx
xor ecx, ecx
call fcn.14017aba0
mov rcx, rax
call fcn.14017a768
call fcn.140002910
movzx eax, word [0x140237438]
lea rcx, [rbp + 0xf90]
movups xmm0, xmmword [str.F:XvhuvSxeolfGrzqordgv_]
mov word [rbp + 0xfa8], ax
movzx eax, byte [0x14023743a]
movups xmmword [rbp + 0xf90], xmm0
mov byte [rbp + 0xfaa], al
mov rax, 0xffffffffffffffff
movsd xmm0, qword [0x140237430]
movsd qword [rbp + 0xfa0], xmm0
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140002f00
movsxd r9, eax
test eax, eax
jle 0x140002f83
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rbp + r8 + 0xf90]
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x140002f4f
lea ecx, [rax - 0x2a]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
add cl, 0x41
jmp 0x140002f73
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x140002f7b
lea ecx, [rax - 0x4a]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
add cl, 0x61
mov byte [rbp + r8 + 0xf90], cl
inc r8
cmp r8, r9
jl 0x140002f20
lea r8, [rbp + 0xf90]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140002d10
xor r8d, r8d
lea rcx, [rbp + 0x34]
call fcn.140002d70
xor r8d, r8d
lea rcx, [rbp + 0x3d]
call fcn.140002d70
lea rax, [rbp + 0x3d]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x34]
lea r8, str._s_s_s
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x46]
call fcn.140002d10
call fcn.1400016c0
lea rax, [rbp + 0x3d]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x34]
lea r8, str._s_s_s
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x14a]
call fcn.140002d10
call fcn.140002910
lea rax, [rbp + 0x34]
mov edx, 0x104
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_
lea rcx, [rbp + 0x24e]
call fcn.140002d10
call fcn.1400016c0
lea rax, [rbp + 0x34]
mov edx, 0x104
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_
lea rcx, [rbp + 0x352]
call fcn.140002d10
call fcn.140002910
lea r8, str..exe
mov edx, 0x104
lea rcx, [rbp + 0x46]
call fcn.14017ac14
lea r8, str..dat
mov edx, 0x104
lea rcx, [rbp + 0x14a]
call fcn.14017ac14
lea r8, str.edge.xml
mov edx, 0x104
lea rcx, [rbp + 0x24e]
call fcn.14017ac14
lea r8, str.edge.jpg
mov edx, 0x104
lea rcx, [rbp + 0x352]
call fcn.14017ac14
lea rax, [rbp + 0x34]
mov edx, 0x104
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_
lea rcx, [rbp + 0xfb0]
call fcn.140002d10
lea rcx, [rbp + 0xfb0]
call fcn.14017adfc
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x14000310b
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov r8d, 0x1052
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14016bc80
mov rax, rbx
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.14016ae50
mov rbx, qword [rsp + 0x11e0]
add rsp, 0x11d0
pop rbp
ret
Function at 0x140003150
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140250f68]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
call fcn.140002910
call fcn.1400016c0
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400031ba
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400031be
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000320f
call fcn.140002910
call fcn.1400016c0
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400031f6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400031d0
jmp 0x1400031fa
mov esi, dword [rsp + 0x28]
call fcn.140002910
call fcn.1400016c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14016ae50
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140250f68]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400035e4
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14016bc80
xor eax, eax
test rdi, rdi
je 0x140003549
cmp rdi, 8
jb 0x14000354e
movdqa xmm2, xmmword [0x140237680]
cmp rdi, 0x40
jb 0x140003527
mov rdx, rdi
lea rcx, [rsi + 0x20]
and edx, 0x3f
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add rax, 0x40
lea rcx, [rcx + 0x40]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x60], xmm0
movdqu xmm0, xmmword [rcx - 0x50]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x50], xmm0
movdqu xmm1, xmmword [rcx - 0x40]
andnps xmm1, xmm2
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmm0, xmmword [rcx - 0x30]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x30], xmm0
cmp rax, r8
jb 0x1400034e0
cmp rdx, 8
jb 0x140003549
mov rcx, rdi
mov rdx, rdi
and ecx, 7
sub rdx, rcx
movq xmm0, qword [rax + rsi]
andnps xmm0, xmm2
movq qword [rax + rsi], xmm0
add rax, 8
cmp rax, rdx
jb 0x140003533
cmp rax, rdi
jae 0x14000356c
mov r8, rdi
lea rdx, [rax + rsi]
sub r8, rax
nop dword [rax + rax]
not byte [rdx]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140003560
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14016ae50
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
lea r8, [0x140237200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x1400036cb
call fcn.140002910
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
call fcn.1400016c0
test rdi, rdi
je 0x1400036cb
mov qword [rsp + 0x30], rsi
call fcn.1400016c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400036a8
call fcn.140002910
lea r8d, [rbp - 0x400]
mov rdx, rsi
mov rcx, r14
call fcn.140003450
test eax, eax
je 0x1400036a8
call fcn.1400016c0
call fcn.140002910
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov eax, 1
jmp 0x1400036cd
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400097b0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14016b170
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140015af0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140015b17
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x140015b00
movzx eax, r9b
ret