joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110a5
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140017ff0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e224]
call fcn.140011645
lea rdx, str.NtCreateSection
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400284f0], rax
lea rdx, str.NtMapViewOfSection
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400284f8], rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028500], rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028508], rax
lea rdx, str.RtlInitUnicodeString
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028510], rax
lea rdx, str.RtlCreateProcessParameters
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028518], rax
lea rdx, str.RtlCreateUserProcess
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028520], rax
lea rdx, str.RtlCreateUserThread
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028528], rax
lea rdx, str.NtWaitForSingleObject
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028530], rax
lea rdx, str.NtClose
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028538], rax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400110f0
Capabilities:
Terminate process

Disassembly:
jmp 0x140017fa0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e224]
call fcn.140011645
cmp dword [rbp + 0xe0], 0
jge 0x140017fd2
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140011366
Capabilities:
Terminate process

Disassembly:
jmp 0x140018ec0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001145b
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a720
xor al, al
jmp 0x14001a7a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a733
xor al, al
jmp 0x14001a7a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a75d
xor al, al
jmp 0x14001a7a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a771
xor al, al
jmp 0x14001a7a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a783
xor al, al
jmp 0x14001a7a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a79f
xor al, al
jmp 0x14001a7a1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400054c0
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov ebp, edx
mov rdi, rcx
lea rax, [rcx + 0x48]
test rax, rax
jne 0x1400054f3
xor ebx, ebx
xor sil, sil
jmp 0x140005512
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, [rdi + 0x50]
xor sil, sil
add rbx, rcx
je 0x140005512
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov sil, 1
mov edx, ebp
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
test rbx, rbx
je 0x140005533
test sil, sil
je 0x140005533
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140005fb0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, r8
mov r12, rdx
mov rdi, rcx
lea rax, [rcx + 0x48]
test rax, rax
jne 0x140005fe9
xor esi, esi
mov ebx, esi
jmp 0x140005ffa
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, [rdi + 0x50]
add rbx, rcx
xor esi, esi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbx
xor r14b, r14b
mov byte [rsp + 0x48], r14b
test rbx, rbx
je 0x140006026
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov r14b, 1
mov byte [rsp + 0x48], r14b
cmp qword [rdi + 0x20], 0
je 0x140006066
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
test eax, eax
je 0x14000605c
test rbx, rbx
je 0x140006055
test r14b, r14b
je 0x140006055
mov byte [rsp + 0x48], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
jmp 0x14000617b
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r14, [rdi + 0x30]
mov dword [r14], esi
mov qword [rdi + 0x28], r12
mov qword [rdi + 0x40], r15
mov dword [rdi + 0x38], esi
mov r8, rsi
xchg qword [rdi + 0xa8], r8
test r8, r8
je 0x1400060a8
mov rax, qword [r8 + 8]
movsxd rdx, dword [rax + 4]
lea rcx, [r8 + 8]
add rcx, rdx
call fcn.140015e10
test al, al
je 0x1400060a8
mov rax, qword [r8]
mov rcx, r8
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi + 8]
movsxd rdx, dword [rax + 8]
add rdx, rdi
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lock inc dword [rcx + rdx + 0x18]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400060cf
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rdi
call fcn.14012dc28
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140002c80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x14000615c
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 8]
add rcx, 8
add rcx, rdi
call fcn.140002bd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000613a
movzx edi, ax
or edi, 0x80070000
test rbx, rbx
je 0x140006158
cmp byte [rsp + 0x48], 0
je 0x140006158
mov byte [rsp + 0x48], 0
mov rcx, qword [rbx]
mov rdx, qword [rcx + 8]
mov rcx, rbx
call rdx
nop
mov eax, edi
jmp 0x14000617b
jmp 0x140006163
test rbx, rbx
je 0x140006179
cmp byte [rsp + 0x48], 0
je 0x140006179
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14000a2a0
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
lea rax, vtable.CHttp.0
mov qword [rcx], rax
xor edi, edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea rax, [rcx + 0x20]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a2ed
mov rax, qword [rax]
mov word [rax], di
lea rax, [rcx + 0x40]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a30a
mov rax, qword [rax]
mov word [rax], di
add rcx, 0x60
mov qword [rsp + 0x48], rcx
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rdi
cmp qword [rcx + 0x18], 8
jb 0x14000a32e
mov rax, qword [rcx]
jmp 0x14000a331
mov rax, rcx
mov word [rax], di
mov r8d, 0x32
lea rdx, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1_
call fcn.140007090
nop
lea rax, [rbx + 0x80]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a364
mov rax, qword [rax]
mov word [rax], di
lea rax, [rbx + 0xa0]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a384
mov rax, qword [rax]
mov word [rax], di
lea rax, [rbx + 0xc0]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a3a4
mov rax, qword [rax]
mov word [rax], di
lea rax, [rbx + 0xe0]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x14000a3c4
mov rax, qword [rax]
mov word [rax], di
mov dword [rbx + 0x104], edi
mov qword [rbx + 0x108], rdi
mov qword [rbx + 0x110], rdi
mov qword [rbx + 0x118], rdi
mov qword [rbx + 0x120], rdi
mov qword [rbx + 0x128], rdi
mov qword [rbx + 0x130], rdi
lea rax, [0x14025f720]
mov qword [rbx + 0x140], rax
lea rax, vtable.ICriticalSection.0
mov qword [rbx + 0x188], rax
lea rax, vtable.CriticalSection.0
mov qword [rbx + 0x138], rax
mov rax, qword [rbx + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CriticalSection.1.0
mov qword [rcx + rbx + 0x140], rax
mov rax, qword [rbx + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x48]
mov dword [rcx + rbx + 0x13c], edx
mov qword [rbx + 0x170], rdi
mov dword [rbx + 0x178], edi
lea rcx, [rbx + 0x148]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000be80
Capabilities:
Get http content length

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
lea rax, [rcx + 0x138]
test rax, rax
jne 0x14000bea7
xor edi, edi
xor sil, sil
jmp 0x14000becc
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea rdi, [rbx + 0x140]
xor sil, sil
add rdi, rcx
je 0x14000becc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov sil, 1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000bf29
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x70], 4
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
mov edx, 0x20000005
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14000bf1d
mov eax, dword [rsp + 0x60]
mov qword [rbx + 0x108], rax
jmp 0x14000bf29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x120], eax
mov rbx, qword [rbx + 0x108]
test rdi, rdi
je 0x14000bf44
test sil, sil
je 0x14000bf44
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rbx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000bf50
Capabilities:
Get http content length

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
lea rax, [rcx + 0x138]
xor r15d, r15d
test rax, rax
jne 0x14000bf9e
mov edi, r15d
jmp 0x14000bfb3
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea rdi, [rbx + 0x140]
add rdi, rcx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
xor sil, sil
mov byte [rsp + 0x50], sil
test rdi, rdi
je 0x14000bfda
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov sil, 1
mov byte [rsp + 0x50], sil
cmp qword [rbx + 0x18], 0
je 0x14000c158
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.14012d3f0
mov dword [rsp + 0x34], 0x104
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rbp - 0x60]
mov edx, 0x35
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14000c106
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x60], 0
jne 0x14000c04d
mov r8, r15
jmp 0x14000c060
lea rax, [rbp - 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c055
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007090
nop
lea rcx, [rsp + 0x60]
call fcn.14000d2a0
cmp rax, 0xffffffffffffffff
je 0x14000c0e9
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140009df0
nop
mov rcx, rax
call fcn.14000d1e0
mov qword [rbx + 0x108], rax
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14000c0bf
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140007540
mov rbx, qword [rbx + 0x108]
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14000c15f
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007540
jmp 0x14000c15f
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14000c106
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007540
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
mov edx, 0x20000005
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14000c14c
mov eax, dword [rsp + 0x38]
mov qword [rbx + 0x108], rax
jmp 0x14000c158
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x120], eax
mov rbx, qword [rbx + 0x108]
test rdi, rdi
je 0x14000c173
test sil, sil
je 0x14000c173
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x14000c450
Capabilities:
Read data from internet
Receive data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r9
mov rbp, r8
mov r12, rdx
mov rsi, rcx
xor ebx, ebx
test r8, r8
jne 0x14000c49a
mov qword [r9], rbx
xor eax, eax
jmp 0x14000c593
lea rax, [rcx + 0x138]
xor r15b, r15b
test rax, rax
jne 0x14000c4ae
mov r14, rbx
jmp 0x14000c4d0
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea r14, [rsi + 0x140]
add r14, rcx
je 0x14000c4d0
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov r15b, 1
cmp qword [rsi + 0x18], rbx
jne 0x14000c4e0
mov ebx, 0x80004005
jmp 0x14000c57d
mov qword [rdi], rbx
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], ebx
mov r8d, ebp
sub r8d, dword [rdi]
mov rdx, qword [rdi]
add rdx, r12
lea r9, [rsp + 0x20]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000c525
mov eax, dword [rsp + 0x20]
add qword [rdi], rax
test eax, eax
je 0x14000c573
cmp rax, rbp
jae 0x14000c573
jmp 0x14000c4f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.14012d3f0
mov dword [rsp + 0x24], 0x104
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x120]
call qword [sym.imp.WININET.dll_InternetGetLastResponseInfoW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x120], eax
test eax, eax
jg 0x14000c56a
mov ebx, eax
jmp 0x14000c573
movzx ebx, ax
or ebx, 0x80070000
mov rax, qword [rdi]
add qword [rsi + 0x110], rax
test r14, r14
je 0x14000c591
test r15b, r15b
je 0x14000c591
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000c5c0
Capabilities:
Send data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r9
mov rbp, r8
mov r12, rdx
mov rsi, rcx
xor ebx, ebx
test r8, r8
jne 0x14000c60a
mov qword [r9], rbx
xor eax, eax
jmp 0x14000c6ff
lea rax, [rcx + 0x138]
xor r15b, r15b
test rax, rax
jne 0x14000c61e
mov r14, rbx
jmp 0x14000c640
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea r14, [rsi + 0x140]
add r14, rcx
je 0x14000c640
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov r15b, 1
cmp qword [rsi + 0x18], rbx
jne 0x14000c650
mov ebx, 0x80004005
jmp 0x14000c6e9
mov qword [rdi], rbx
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], ebx
mov r8d, ebp
sub r8d, dword [rdi]
mov rdx, qword [rdi]
add rdx, r12
lea r9, [rsp + 0x20]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x14000c691
mov eax, dword [rsp + 0x20]
add qword [rdi], rax
cmp rax, rbp
jae 0x14000c6df
jmp 0x14000c660
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.14012d3f0
mov dword [rsp + 0x24], 0x104
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x120]
call qword [sym.imp.WININET.dll_InternetGetLastResponseInfoW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x120], eax
test eax, eax
jg 0x14000c6d6
mov ebx, eax
jmp 0x14000c6df
movzx ebx, ax
or ebx, 0x80070000
mov rax, qword [rdi]
add qword [rsi + 0x118], rax
test r14, r14
je 0x14000c6fd
test r15b, r15b
je 0x14000c6fd
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000c730
Capabilities:
Query remote server for available data

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rsi, rcx
lea rax, [rcx + 0x138]
xor ebx, ebx
xor bpl, bpl
test rax, rax
jne 0x14000c766
mov edi, ebx
jmp 0x14000c788
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea rdi, [rsi + 0x140]
add rdi, rcx
je 0x14000c788
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov bpl, 1
mov rcx, qword [rsi + 0x18]
test rcx, rcx
jne 0x14000c798
mov ebx, 0x80004005
jmp 0x14000c7cc
mov dword [rsp + 0x40], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x14000c7cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsi + 0x120], eax
test eax, eax
jle 0x14000c7cc
movzx ebx, ax
or ebx, 0x80070000
test rdi, rdi
je 0x14000c7e0
test bpl, bpl
je 0x14000c7e0
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000f780
Capabilities:
Get session user name

Disassembly:
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x2b8], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x80]
call fcn.14012d3f0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14000f8bd
mov qword [rsp + 0x70], 7
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
cmp word [rsp + 0x80], bx
jne 0x14000f80b
mov r8d, ebx
jmp 0x14000f82b
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000f820
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140007090
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
cmp word [rdx], 0
je 0x14000f87a
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14000f870
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140007090
mov r8d, 3
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140010090
mov ebx, eax
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x14000f8b9
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140007540
mov eax, ebx
jmp 0x14000f8c2
mov eax, 0x270f
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x14000f9b0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov r14d, 0x14
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
test eax, eax
je 0x14000fb72
mov r8d, ebx
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000fa8e
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x14000fa85
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x14000fa7b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
je 0x14000fb69
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jle 0x14000fb72
dec r14d
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000fb72
mov dword [rbp - 0x70], 0x238
mov esi, r12d
lea rdx, [rbp - 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000fb60
nop
cmp dword [rbp - 0x68], ebx
je 0x14000fae7
lea rdx, [rbp - 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14000fb57
jmp 0x14000fad0
lea rax, [rsp + 0x48]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
cmp word [rbp - 0x44], 0
jne 0x14000fb10
mov r8, r12
jmp 0x14000fb2b
lea rax, [rbp - 0x44]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000fb20
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x48]
call fcn.140007090
nop
mov r8d, 5
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140010090
cmp eax, 0x270f
jne 0x14000fb77
mov esi, dword [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
test esi, esi
jmp 0x14000fa0b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x270f
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret