joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x140082ef0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x140055656
cmp word [rdx], r9w
jne 0x140055656
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14005565b
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1400557da
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400557a5
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1400556a3
cmp rcx, r8
jae 0x1400556c3
cmp word [rcx], r9w
jne 0x1400556a3
add rax, 4
mov edx, r9d
jmp 0x1400556a6
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140055678
jmp 0x1400557da
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005579e
cmp dword [rsp + 0x80], edi
je 0x14005579e
lea r9, [0x140082ef0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140055778
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x14005572b
mov word [rbx], bp
jmp 0x1400557d7
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x140055746
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1400557d7
cmp word [rsp + 0x70], bp
jne 0x140055784
cmp rbx, rsi
je 0x140055723
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140056320
cmp word [rsp + 0x70], bp
je 0x1400557da
mov word [rbx], 0xd
jmp 0x1400557d7
mov rcx, r15
lea r9, [0x140082ef0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400557d4
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400557da
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140057670
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140044048
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400576fa
cmp byte [rbp - 0x21], r15b
je 0x1400576f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140057730
call fcn.14004cc98
test eax, eax
jne 0x14005771c
cmp byte [rbp - 0x21], r15b
je 0x140057714
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140057730
cmp byte [rbp - 0x21], r15b
je 0x14005772d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140044418
test eax, eax
jne 0x1400577d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140044048
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14005776f
cmp byte [rbp - 0x21], r15b
je 0x1400577a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400577a4
call fcn.14004cc98
test eax, eax
jne 0x140057790
cmp byte [rbp - 0x21], r15b
je 0x140057789
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400577a4
cmp byte [rbp - 0x21], r15b
je 0x1400577a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140044418
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400577d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400577d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400577e1
mov rcx, rdi
call fcn.14004c890
cmp byte [rbp + 0x3f], r15b
je 0x1400577f0
mov rcx, qword [rbp + 0x27]
call fcn.14004c890
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140058610
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140058638
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140058638
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400078c4
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x110
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor eax, eax
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov word [rsp + 0x30], ax
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov rcx, r9
lea r8d, [rax + 0x64]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000d338
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14002b930
add rsp, 0x110
pop rbx
ret
Function at 0x14000a6f8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp qword [rax + 0x10], 0
je 0x14000a845
cmp qword [rax + 8], 0
je 0x14000a845
mov rdi, qword [rcx + 0x18]
lea rdx, [rbp - 0x20]
mov rsi, qword [rax + 0x28]
lea rcx, [rbp - 0x30]
xor r14d, r14d
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
lea r12d, [r14 + 8]
mov r8d, r12d
call fcn.140006874
lea r8d, [r14 + 0x10]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140006874
cmp qword [rbp - 0x18], r14
je 0x14000a7b2
cmp qword [rbp - 8], r14
je 0x14000a7b2
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x38]
add r8, r12
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 8]
mov r9d, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x38]
add r8, 0x10
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 0x10]
mov r9d, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r14d, [r12 - 7]
xor edx, edx
mov rcx, rbx
call fcn.14000853c
mov rcx, rbx
call fcn.1400094fc
test eax, eax
jne 0x14000a7db
lea rdx, [0x140060a20]
lea rcx, [0x14005f4e0]
call fcn.140025b7c
and qword [rsp + 0x28], 0
lea r8, [0x14000a6cc]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call fcn.14003efb4
mov qword [0x1400732d8], rax
test r14d, r14d
je 0x14000a8b6
lea rax, [rbp + 0x38]
mov r9, r12
lea rdx, [rsi + 8]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp + 0x38]
mov r9, r12
lea rdx, [rsi + 0x10]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x14000a8b6
mov edx, 0x20
call fcn.140008d4c
mov edi, eax
test eax, eax
jne 0x14000a868
lea rdx, [0x140060a50]
lea rcx, [0x14005f4e0]
call fcn.140025b7c
mov edx, edi
mov rcx, rbx
call fcn.14000853c
mov rcx, rbx
call fcn.1400094fc
test eax, eax
jne 0x14000a891
lea rdx, [0x140060a78]
lea rcx, [0x14005f4e0]
call fcn.140025b7c
and qword [rsp + 0x28], 0
lea r8, [0x14000a6cc]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call fcn.14003efb4
mov qword [0x1400732d8], rax
mov r9, qword [rbx + 8]
lea rcx, [rbp + 0x30]
and dword [rbp + 0x30], 0
lea r8, [0x14000a640]
mov qword [rsp + 0x28], rcx
xor edx, edx
and dword [rsp + 0x20], 0
xor ecx, ecx
mov r9, qword [r9 + 0x840]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x68], rax
mov eax, 1
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a904
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov rbx, rcx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.14002dc80
mov rcx, qword [rbx + 8]
xor eax, eax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov eax, 1
xor r9d, r9d
mov dword [rsp + 0xac], eax
xor r8d, r8d
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
movups xmmword [rsp + 0x50], xmm0
mov rdx, qword [rcx + 0x858]
mov rcx, qword [rcx + 0x850]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x14000a9b1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a9c4
lea rdx, str.CBugReportInfo::RestartCrashProcess_Fail_
lea rcx, str.BugReport
call fcn.140025b7c
mov eax, ebx
add rsp, 0xe0
pop rbx
ret
Function at 0x14000f55c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
call fcn.1400064a8
mov rcx, rax
xor r14d, r14d
test rax, rax
je 0x14000f651
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov edx, esi
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbp, rax
test rax, rax
jne 0x14000f5ec
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14000d3c8
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000f5d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [rax + 1]
test esi, esi
js 0x14000f65c
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14000f61e
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140005f18
mov rbx, qword [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140032164
test eax, eax
js 0x14000f65c
cmp eax, dword [rbx - 0xc]
jg 0x14000f65c
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
jmp 0x14000f5ae
mov ecx, 0x80004005
call fcn.140006280
nop
mov ecx, 0x80070057
call fcn.140006280
int3
Function at 0x140012b50
Capabilities:
Create http request

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400733e8]
mov rbx, rcx
test al, 1
jne 0x140012b7d
or eax, 1
mov dword [0x1400733e8], eax
call fcn.1400068ec
lea rcx, [0x140053410]
call fcn.14002bb88
mov rax, qword [0x140073358]
test byte [rax + 4], 0x20
je 0x140012b97
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140012854
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x140073498]
test al, 1
jne 0x140012bea
and dword [0x140073490], 0
lea rcx, str.QQ_Bug_Report_Tool
and dword [rsp + 0x20], 0
or eax, 1
xor r9d, r9d
mov dword [0x140073498], eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
lea rcx, [0x140053498]
mov qword [0x140073488], rax
call fcn.14002bb88
xor edx, edx
lea rcx, [0x140073488]
call fcn.14001e044
add rsp, 0x30
pop rbx
ret
Function at 0x140016fe4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r9
xor ebx, ebx
call fcn.140021ad8
mov rcx, rax
lea r8, [0x14005f3a0]
mov edx, 0x86
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x140017030
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x1400170b4
call fcn.140021ad8
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140017029
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1400170a9
test r14, r14
jne 0x14001707b
call fcn.140021ad8
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov dword [rax], ecx
jmp 0x1400170a7
mov rax, qword [rsp + 0x60]
movsxd r15, dword [rax]
call fcn.140021ad8
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
cmp r15d, eax
jl 0x1400170a9
mov r8, r15
mov rdx, rbp
mov rcx, r14
call fcn.14002d5d0
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400173b0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.14002dc80
xor eax, eax
mov dword [rbx], 0x67452301
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x58], eax
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov qword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x140018d68
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r15, rdx
test rdx, rdx
je 0x140018de9
mov r8d, ecx
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140018de9
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x50]
call fcn.14002dc80
mov r9d, 0x104
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov rcx, rbx
test eax, eax
jne 0x140018e11
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14002b930
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x140018de9
mov ecx, ebx
call fcn.14002bbd4
mov rdi, rax
mov r9, rax
mov r8d, ebx
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140018de9
and qword [rsp + 0x38], 0
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
xor r14d, r14d
xor esi, esi
test dword [rsp + 0x20], 0xfffffffc
jbe 0x140018f58
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x140018fa2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
movzx r9d, word [rax + rsi*4 + 2]
movzx r8d, word [rax + rsi*4]
lea rdx, str.StringFileInfo_04x_04xCompanyName
lea rcx, [rsp + 0x40]
call fcn.14000e420
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140018f16
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo040904e4CompanyName
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018f2d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140018f2d
mov rdx, r15
call fcn.14002e01c
test rax, rax
jne 0x140018f68
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018f47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc esi
mov eax, dword [rsp + 0x20]
shr eax, 2
cmp esi, eax
jb 0x140018e8d
mov rcx, rdi
call fcn.14002bbcc
mov eax, r14d
jmp 0x140018deb
mov r8, qword [rsp + 0x30]
lea rdx, str.company_name__s
lea rcx, [0x14005f5d8]
call fcn.140025b7c
mov r14d, 1
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, r14d
jg 0x140018f58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140018f58
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x1400190bc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
or r14, 0xffffffffffffffff
cmp rax, r14
jne 0x14001911d
lea rdx, [0x140061044]
mov rcx, rbx
call fcn.14000d338
jmp 0x1400192cb
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140019142
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140019109
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x1400192f5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
xor esi, esi
and dword [rsp + 0x30], esi
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x58]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140018fb0
mov r9d, dword [rsp + 0x20]
test eax, eax
jne 0x1400191f9
cmp r9d, r14d
je 0x1400191e2
add esi, 0xa
movzx r8d, word [rsp + 0x7c]
lea rdx, str._c_d
lea rcx, [rsp + 0x40]
call fcn.1400219a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000e0f8
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1400191e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140019247
jmp 0x140019168
add esi, 0x14
movzx r8d, word [rsp + 0x7c]
lea rdx, str._c_d
lea rcx, [rsp + 0x48]
call fcn.1400219a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000e0f8
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140019247
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test esi, esi
je 0x140019293
mov r8d, esi
lea rdx, [0x140063638]
lea rcx, [rsp + 0x38]
call fcn.1400219a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000e0f8
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140019293
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000d3c8
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1400192cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x1400197a4
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x30], rdx
and dword [rsp + 0x24], 0
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x1400198d9
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x24], 1
jmp 0x14001981e
mov r8d, dword [rsp + 0x20]
test r8d, r8d
je 0x140019853
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000e22c
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140019807
lea rdx, [0x140063710]
lea rcx, [0x14005f6f0]
call fcn.140025b7c
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.140025354
mov rbx, qword [rsp + 0x28]
mov r8, rbx
lea rdx, str.Received_cmd3_ack_s
lea rcx, [0x14005f6f0]
call fcn.140025b7c
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
jne 0x140019897
lea rdx, [0x1400637a0]
lea rcx, [0x14005f6f0]
call fcn.140025b7c
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400198b2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x140019ec4
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x70
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x14001a012
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
mov rdx, rbx
call fcn.140019300
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x140019fd5
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rdi], rax
test rax, rax
je 0x140019fd5
lea rdx, [0x140063908]
lea rcx, [0x14005f6f0]
call fcn.140025b7c
lea rax, str.text_
mov qword [rsp + 0x58], rax
and qword [rsp + 0x60], 0
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, str.HTTP_1.1
mov r8, qword [rsp + 0x50]
lea rdx, str.POST
mov rcx, qword [rdi]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [r14], rax
test rax, rax
jne 0x14001a00b
mov rcx, qword [rdi]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
and qword [rdi], 0
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140019ff2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
mov edi, 1
jmp 0x140019fd7
mov ecx, 0x80004005
call fcn.140006280
int3