joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801147c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1801149e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1801148c7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180114824
mov rax, qword [0x180222008]
cmp qword [rsp + 0x20], rax
ja 0x180114824
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801147e6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18011cf40
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180114853
jmp 0x1801148c7
cmp dword [rsp + 0x50], 0x10000
jne 0x1801148aa
cmp qword [rsp + 0x48], 0x10000
jb 0x1801148aa
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180114898
mov rax, qword [rsp + 0x28]
jmp 0x1801148c9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801148c2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1801149e0
mov qword [rsp + 0x20], rax
jmp 0x1801147e6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1801148d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180114a20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1801149d3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011492b
mov rax, qword [0x180222008]
cmp qword [rsp + 0x20], rax
ja 0x18011492b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801148ed
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18011cf40
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18011495a
jmp 0x1801149d3
cmp dword [rsp + 0x50], 0x10000
jne 0x1801149b1
cmp qword [rsp + 0x48], 0x10000
jb 0x1801149b1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011499f
mov rax, qword [rsp + 0x28]
jmp 0x1801149d5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801149ce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180114a20
mov qword [rsp + 0x20], rax
jmp 0x1801148ed
xor eax, eax
add rsp, 0x68
ret
Function at 0x180114a70
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180115000
mov qword [rsp + 0x28], 0
cmp qword [0x1802524f8], 0
jne 0x180114ab8
cmp qword [0x1802524f0], 0
je 0x180114ab8
mov rax, qword [0x1802524f0]
mov qword [0x1802524f8], rax
cmp qword [0x1802524f8], 0
je 0x180114b5e
mov rax, qword [0x1802524f8]
cmp qword [rax + 0x10], 0
je 0x180114b5e
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180114b5e
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180114b5e
mov rax, qword [0x1802524f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180114b24
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180114b2b
xor eax, eax
jmp 0x180114cd9
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18011cf40
mov rax, qword [rsp + 0x28]
jmp 0x180114cd9
mov rax, qword [0x1802524f0]
mov qword [0x1802524f8], rax
jmp 0x180114b80
mov rax, qword [0x1802524f8]
mov rax, qword [rax + 8]
mov qword [0x1802524f8], rax
cmp qword [0x1802524f8], 0
je 0x180114bcd
cmp qword [0x1802524f8], 0
je 0x180114bcb
mov rax, qword [0x1802524f8]
cmp qword [rax + 0x10], 0
je 0x180114bcb
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180114bcb
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180114bcb
jmp 0x180114afc
jmp 0x180114b6e
mov rcx, qword [rsp + 0x60]
call fcn.180116e80
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180114ce0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180114cd7
mov rax, qword [rsp + 0x48]
mov qword [0x1802524f8], rax
mov rax, qword [0x1802524f8]
mov dword [rax], 0x52727464
mov rax, qword [0x1802524f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802524f8]
mov rcx, qword [0x1802524f0]
mov qword [rax + 8], rcx
mov rax, qword [0x1802524f8]
mov qword [0x1802524f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802524f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180114c88
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180114cc2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180114c7e
mov rax, qword [0x1802524f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180114afc
xor eax, eax
add rsp, 0x58
ret
Function at 0x180136b98
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180136bb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801255a0
or eax, 0xffffffff
jmp 0x180136bba
xor eax, eax
add rsp, 0x28
ret
Function at 0x180001a70
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.180046390
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x180000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.180046390
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x180001b03
cmp dword [rsp + 0x24], 5
jb 0x180001b1d
jmp 0x180001b19
cmp dword [rsp + 0x30], esi
jne 0x180001b1d
cmp dword [rsp + 0x24], 4
ja 0x180001b19
jne 0x180001b1d
cmp dword [rsp + 0x28], 0
jbe 0x180001b1d
mov byte [rbx + 0x18], sil
lea rax, [0x1800b3d70]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.180032c4c
movzx ecx, byte [0x1800dcf54]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1800dcf54], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180043830
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800038d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, rcx
xor r12d, r12d
mov ecx, 0xd4
mov esi, r12d
mov r15, r8
mov rbx, rdx
call fcn.180053730
mov rdi, rax
test rax, rax
jne 0x18000391f
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
xor edx, edx
mov qword [rsp + 0x60], rbp
mov r8d, 0xd4
mov rcx, rdi
call fcn.180046390
imul rbp, rbx, 0x11
mov rcx, rbp
call fcn.180053730
mov qword [rdi + 0xb3], rax
test rax, rax
jne 0x180003966
mov rcx, rdi
call fcn.180053728
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180003a2f
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.180046390
mov qword [rdi], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rdi + 8], r12
mov rdx, r12
mov qword [rdi + 0x6b], r14
mov rcx, r14
mov word [rdi + 0x10], r12w
mov qword [rdi + 0x73], r15
mov rbx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r12
mov r8d, 0x12
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800039c2
mov ebx, dword [rsp + 0x78]
jmp 0x1800039ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x180003a0b
mov rdx, qword [rdi + 0xb3]
lea r9, [rsp + 0x78]
mov r8d, ebp
mov qword [rdi + 0x12], rbx
mov rcx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800039ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x180003a0b
lea rax, [rbp + 0x12]
mov qword [rdi + 0x22], r12
mov qword [rdi + 0x1a], rax
lea rcx, [rdi + 0x43]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
je 0x180003a2c
mov rcx, rdi
call fcn.180053728
mov ecx, esi
mov rdi, r12
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800043f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, r8
mov r10, rdx
not ecx
test r8, r8
je 0x180004430
lea r11, [0x1800bea40]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r10]
lea r10, [r10 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [r11 + r8*4]
xor ecx, eax
sub r9, 1
jne 0x180004410
not ecx
mov eax, ecx
ret
Function at 0x180004f70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x10
call fcn.180053730
mov rbx, rax
test rax, rax
je 0x180004ff2
cmp byte [0x1800df308], 0
jne 0x180004fac
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x1800df308], 1
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x1800df338]
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov qword [rbx], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x180004f10]
mov r9, rbx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800050e0
Capabilities:
Create thread

Disassembly:
test rcx, rcx
je 0x1800051a2
push rbx
sub rsp, 0x30
mov qword [rsp + 0x40], rbp
mov rbx, rcx
mov qword [rsp + 0x50], rdi
xor ebp, ebp
mov qword [rsp + 0x48], rsi
cmp qword [rbx + 0xc4], rbp
je 0x18000517e
mov ecx, 0x10
call fcn.180053730
mov rsi, rax
test rax, rax
je 0x18000517e
cmp byte [0x1800df308], bpl
jne 0x18000513a
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x1800df308], 1
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x1800df338]
lea rcx, [0x1800df3e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r9, rsi
mov qword [rsp + 0x28], rbp
lea r8, [0x180004f10]
mov qword [rsi], rbx
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
mov rbx, qword [rbx + 0xc4]
test rbx, rbx
jne 0x180005102
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x1800074a0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r12d, r8d
mov r14, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xor eax, eax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
xor r15b, r15b
mov rdi, qword [r11 + 0x28]
mov dword [rsp + 0x48], edi
mov rax, rdi
shr rax, 0x20
mov dword [rsp + 0x4c], eax
mov ebx, r8d
mov qword [rsp + 0xb0], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r13d, dword [rsp + 0xb4]
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
jne 0x18000754e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x30], eax
jmp 0x1800075c4
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
mov r8d, r12d
mov rdx, qword [rsp + 0x98]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r15d, eax
test al, al
jne 0x1800075a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1800075a8
mov dword [rcx], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8d, ebx
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800075d4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, r15b
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180007600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, r9
mov r12d, r8d
mov r13, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
cmp byte [0x1800df30a], al
jne 0x18000765d
mov byte [0x1800df30a], 1
lea rcx, [0x1800df360]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [r15]
mov dword [rsp + 0x48], eax
mov eax, dword [r15 + 4]
mov dword [rsp + 0x4c], eax
mov rbx, r12
mov qword [rsp + 0xa8], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x50], rax
mov r14d, dword [rsp + 0xac]
nop dword [rax]
nop dword [rax + rax]
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9d, ebx
xor r8d, r8d
lea edx, [rdi + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
jne 0x1800076e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x30], eax
cmp eax, 0x21
jne 0x1800076e5
lea ecx, [rax - 0x17]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x21
je 0x1800076a0
test edi, edi
jne 0x180007757
lea rcx, [0x1800df360]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
mov r8d, r12d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1800df360]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180007767
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180007cf0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0xa0
movzx r13d, r9b
mov r14, r8
mov r12, rdx
movzx ebx, cl
xor eax, eax
mov qword [rsp + 0x48], rax
xor r15b, r15b
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0x34], eax
xor esi, esi
mov ecx, 0xd4
call fcn.180053730
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180007f09
xor edx, edx
mov r8d, 0xd4
mov rcx, rax
call fcn.180046390
lea rcx, [rdi + 0x43]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [rdi + 0xbb], bl
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x38]
lea r8d, [rsi + 0x12]
mov rdx, rdi
mov rcx, r12
call fcn.180007790
test eax, eax
jne 0x180007f09
mov qword [rsp + 0x38], 0x12
mov qword [rdi + 0x12], 0x12
mov rbx, qword [rdi]
mov qword [rsp + 0x90], rbx
mov qword [rdi + 0x6b], r12
mov qword [rdi + 0x73], r14
imul r14, rbx, 0x11
test r13b, r13b
je 0x180007dc5
mov qword [rdi + 0xb3], rsi
jmp 0x180007df9
mov rcx, r14
call fcn.180053730
mov qword [rdi + 0xb3], rax
test rax, rax
je 0x180007f09
imul r8d, ebx, 0x11
lea r9, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call fcn.180007790
test eax, eax
jne 0x180007f09
lea rbx, [r14 + 0x12]
mov qword [rsp + 0x38], rbx
mov qword [rdi + 0x1a], rbx
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x6b]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180007f09
mov rax, qword [rsp + 0x50]
mov r14, rax
sub r14, rbx
mov qword [rsp + 0x78], r14
cmp r14, rax
ja 0x180007f09
test r13b, r13b
je 0x180007e47
xor esi, esi
mov qword [rsp + 0x88], rsi
jmp 0x180007e68
test r14, r14
je 0x180007e68
mov rcx, r14
call fcn.180053730
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x180007f09
mov qword [rdi + 0x3b], rsi
mov qword [rdi + 0x22], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x80], rsi
test rsi, rsi
je 0x180007ecb
xor ebx, ebx
mov qword [rsp + 0x58], rbx
cmp rbx, r14
jae 0x180007ecb
mov rax, qword [rdi + 0x1a]
add rax, rbx
mov qword [rsp + 0x38], rax
lea rdx, [rbx + rsi]
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rcx, r12
call fcn.1800074a0
test al, al
jne 0x180007eef
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13b, r13b
jne 0x180007f01
mov rcx, rdi
test rsi, rsi
je 0x180007efc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rsi
call fcn.1800044c0
jmp 0x180007f01
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180007ecb
add rbx, rax
jmp 0x180007e84
call fcn.180004770
mov r15b, 1
mov byte [rsp + 0x30], r15b
test r15b, r15b
jne 0x180007f1d
test rdi, rdi
je 0x180007f1d
mov rcx, rdi
call fcn.180006d50
xor edi, edi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x18000ca54
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x1800aadec]
lea rcx, [0x1800d5d90]
call fcn.180053900
test eax, eax
jne 0x18000cae9
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x18000cad7
lea rcx, [rsp + 0x30]
call fcn.18003f058
mov rbx, rax
test rax, rax
jne 0x18000cab9
lea eax, [rbx + 8]
jmp 0x18000cae1
mov r8, rbx
lea rcx, [0x1800d5d90]
mov edx, 0x100
call fcn.18005388c
mov rcx, rbx
call fcn.180053728
jmp 0x18000cae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18000cae9
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [0x1800d5d90]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180043830
add rsp, 0x240
pop rbx
ret

Function at 0x18000da04
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x70]
mov r13d, 0x40
mov rsi, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
cmp rbx, r13
jbe 0x18000da76
lea rcx, [rsp + 0x20]
call fcn.18003a460
mov r8d, ebx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.18003a4a0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.180037cd0
lea ebx, [r13 - 0x20]
lea rsi, [rbp - 0x30]
xor edi, edi
mov edx, edi
test rbx, rbx
je 0x18000daa0
lea rax, [rbp - 0x70]
mov r8, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx]
xor al, 0x36
mov byte [rcx], al
cmp rdx, rbx
jb 0x18000da89
cmp rbx, r13
jae 0x18000dab9
mov r8, r13
lea rcx, [rbp - 0x70]
sub r8, rbx
add rcx, rbx
mov dl, 0x36
call fcn.180046390
lea rcx, [rsp + 0x20]
call fcn.18003a460
mov r8d, r13d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.18003a4a0
mov r8d, r12d
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.18003a4a0
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.180037cd0
mov dl, 0x5c
test rbx, rbx
je 0x18000db15
lea rax, [rbp - 0x70]
sub rsi, rax
lea rcx, [rbp - 0x70]
add rcx, rdi
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x18000daff
cmp rbx, r13
jae 0x18000db2c
mov r8, r13
lea rcx, [rbp - 0x70]
sub r8, rbx
add rcx, rbx
call fcn.180046390
lea rcx, [rsp + 0x20]
call fcn.18003a460
mov r8d, r13d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.18003a4a0
mov r8d, 0x20
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.18003a4a0
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.180037cd0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180043830
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000f5d0
Capabilities:
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov r13, rcx
and dword [rax + 0x18], 0
xor edi, edi
xor ebx, ebx
mov r14d, 0x400
mov dword [rax - 0x44], r14d
mov ecx, r14d
call fcn.180053730
mov rsi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x18000f621
lea ebx, [rdi + 8]
mov dword [rsp + 0x20], ebx
jmp 0x18000f6ef
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.180046390
xor edi, edi
mov qword [rsp + 0x88], rdi
and dword [rsp + 0x80], 0
mov r8d, r14d
sub r8d, edi
dec r8d
lea rdx, [rdi + rsi]
lea r9, [rsp + 0x80]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18000f670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x20], eax
jmp 0x18000f6d9
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x18000f6d9
add rdi, rax
mov qword [rsp + 0x88], rdi
lea eax, [r14 - 1]
mov ecx, eax
cmp rdi, rcx
jb 0x18000f6d9
lea eax, [r14 + 0x2800]
mov r12d, eax
mov qword [rsp + 0x30], r12
mov edx, eax
mov rcx, rsi
call fcn.18006bb38
test rax, rax
jne 0x18000f6b8
lea ebx, [rax + 8]
mov dword [rsp + 0x20], ebx
jmp 0x18000f6d9
mov rsi, rax
mov qword [rsp + 0x28], rax
mov r14d, r12d
mov dword [rsp + 0x24], r12d
mov r8, r12
sub r8, rdi
lea rcx, [rdi + rax]
xor edx, edx
call fcn.180046390
cmp dword [rsp + 0x80], 0
je 0x18000f6eb
test ebx, ebx
je 0x18000f638
mov byte [rdi + rsi], 0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r15, r15
je 0x18000f6ff
mov qword [r15], rdi
mov rax, rsi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret