joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180033f70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push r12
push r13
sub rsp, 0x468
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, rcx
xor ecx, ecx
mov r13, r9
movsxd r12, r8d
mov rbp, rdx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
je 0x180034194
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x180072c20]
lea rcx, [0x180072c30]
lea r8d, [rdx + 1]
mov qword [rsp + 0x460], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x180034182
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x180072c50]
mov rax, qword [rcx]
call qword [rax]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x180034177
mov rax, qword [rsp + 0x38]
mov rcx, rsi
mov qword [rsp + 0x458], rdi
mov rdi, qword [rax]
call fcn.180033550
mov rcx, qword [rsp + 0x38]
mov rdx, rax
xor r8d, r8d
call qword [rdi + 0x28]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x180034164
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, r12d
mov rax, qword [rcx]
mov rdx, rbp
mov dword [rsp + 0x20], 0
call qword [rax + 0x18]
xor edx, edx
mov rcx, rbp
call fcn.180054f78
test eax, eax
je 0x18003414e
cmp byte [rbp], 0
je 0x18003414e
lea rdx, str.Program_Files__x86__
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov rsi, rax
test rax, rax
je 0x18003414e
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x40], 0
call fcn.180055310
mov r8, rsi
lea rcx, [rsp + 0x40]
sub r8, rbp
mov rdx, rbp
call fcn.180054180
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
mov rax, qword [str.Program_Files_]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
mov rax, qword [0x180082d00]
mov qword [rdi + 7], rax
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rsi + rcx + 0x15]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x180034100
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.180054f78
test eax, eax
jne 0x18003414e
mov r8, r12
xor edx, edx
mov rcx, rbp
call fcn.180055310
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbp
call fcn.180054180
mov rcx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x4b0]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rdi, qword [rsp + 0x458]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x460]
jmp 0x180034196
mov eax, ecx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180050540
add rsp, 0x468
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x1800341c0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1800341e4
and eax, 0xfffffffe
mov rcx, rdi
or eax, 4
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
sete al
test al, al
je 0x1800342ec
xor edx, edx
lea rax, [rsp + 0x50]
lea r9, [0x180072c20]
lea rcx, [0x180072c30]
lea r8d, [rdx + 1]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
setns bl
test bl, bl
je 0x1800342df
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [0x180072c50]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
setns bl
test bl, bl
je 0x1800342d4
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov rbx, qword [rax]
call fcn.180033550
mov rcx, qword [rsp + 0x48]
mov rdx, rax
mov r8d, 1
call qword [rbx + 0x28]
test eax, eax
setns bl
test bl, bl
je 0x1800342c9
mov rcx, qword [rsp + 0x50]
lea rdx, [0x18007584f]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1800a3510]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov r11, qword [rsp + 0x48]
mov rcx, rdi
mov rbx, qword [r11]
call fcn.180033550
mov rcx, qword [rsp + 0x48]
mov rdx, rax
mov r8d, 1
call qword [rbx + 0x30]
test eax, eax
setns bl
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180034730
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov dword [rsp + 0x58], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x180034774
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1800347ba
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180034764
lea rdx, [rsp + 0x58]
mov rcx, rbx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x1800347d9
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x1800347cb
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx eax, byte [rbx + 0x19d]
movzx r10d, byte [rbx + 0x19a]
movzx r9d, byte [rbx + 0x199]
movzx r8d, byte [rbx + 0x198]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
mov rcx, rdi
mov dword [rsp + 0x20], r10d
call fcn.18005151c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x180034850
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea edx, [rbx + 8]
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800348ab
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180050540
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1800348d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
test rax, rax
je 0x180034945
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x180034942
nop dword [rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.1800514c8
test eax, eax
je 0x180034966
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180034920
or eax, 0xffffffff
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180050540
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x180034945
Function at 0x180034970
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x160
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor sil, sil
mov rbx, rcx
test rcx, rcx
je 0x180034a95
cmp byte [rcx], sil
je 0x180034a95
mov edx, 0x5c20
mov qword [rsp + 0x178], rdi
call fcn.180051920
test rax, rax
je 0x1800349c2
lea rbx, [rax + 1]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp eax, 0xffffffff
jne 0x1800349ff
xor eax, eax
mov rdi, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180050540
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rsi
ret
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x130
call fcn.180055310
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x180034a83
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov edx, 0x5c20
call fcn.180051920
test rax, rax
je 0x180034a49
inc rax
jmp 0x180034a4e
lea rax, [rsp + 0x4c]
mov rdx, rbx
mov rcx, rax
call fcn.1800514c8
test eax, eax
je 0x180034a80
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180034a30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
jmp 0x1800349d6
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
jmp 0x1800349d6
xor eax, eax
jmp 0x1800349de
Function at 0x180034df0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x200
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.180055310
xor eax, eax
lea rcx, [rsp + 0xe1]
xor esi, esi
xor edx, edx
mov r8d, 0x103
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x50], rax
mov word [rsp + 0xb0], si
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0xe0], al
call fcn.180055310
lea rdi, [0x1800a44a0]
mov rcx, rdi
xor edx, edx
call fcn.180054f78
test eax, eax
jne 0x180034f04
mov rcx, rsi
nop dword [rax]
movzx eax, byte [rcx + rdi]
inc rcx
mov byte [rsp + rcx + 0xdf], al
test al, al
jne 0x180034e90
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xe0]
repne scasb al, byte [rdi]
mov rax, qword [str.__C_start]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
movzx eax, word [0x1800804b0]
mov word [rdi + 7], ax
movzx eax, byte [0x1800804b2]
mov byte [rdi + 9], al
xor eax, eax
lea rdi, [rsp + 0xe0]
repne scasb al, byte [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rbx + rdx]
inc rdx
mov byte [rdi + rdx - 2], al
test al, al
jne 0x180034ef0
jmp 0x180034f8f
mov rax, qword [str.C:WindowsSystem32cmd.exe]
lea rcx, [rsp + 0xe0]
lea rdi, [rsp + 0xe0]
mov qword [rcx], rax
mov rax, qword [0x1800804d0]
mov qword [rcx + 8], rax
mov rax, qword [0x1800804d8]
mov qword [rcx + 0x10], rax
mov eax, dword [0x1800804e0]
mov dword [rcx + 0x18], eax
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.__C_start]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
movzx eax, word [0x1800804b0]
mov word [rdi + 7], ax
movzx eax, byte [0x1800804b2]
mov byte [rdi + 9], al
xor eax, eax
lea rdi, [rsp + 0xe0]
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x180034f80
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xe0]
repne scasb al, byte [rdi]
mov rax, qword [str.__exit]
lea rdx, [rsp + 0xe0]
mov qword [rdi - 1], rax
movzx eax, byte [0x1800804c0]
xor r9d, r9d
mov byte [rdi + 7], al
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180035010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x60]
jmp 0x180035012
xor eax, eax
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180035040
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
xor ecx, ecx
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareMicrosoftWindowsWindows_Error_Reporting
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1800350ce
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
lea rdx, str.DontShowUI
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret

Function at 0x180035200
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x48], rsp
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinInet
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18003533a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180035330
mov byte [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x51]
call fcn.180055310
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180035330
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180054180
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.404_Not_Found
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x180035315
lea rdx, [0x180035311]
mov rcx, rsp
call fcn.18005a290
nop
nop
nop
xor eax, eax
jmp 0x180035345
lea rdx, [0x180035329]
mov rcx, qword [rsp + 0x48]
call fcn.18005a290
nop
nop
nop
mov eax, 1
jmp 0x180035345
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180035cc0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x180035eb9
lea rcx, [rsp + 0x20]
movzx eax, word [0x180082f48]
mov word [rcx], ax
movzx eax, byte [0x180082f4a]
mov byte [rcx + 2], al
mov byte [rsp + 0x80], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x81]
call fcn.180055310
cmp byte [rsp + 0x20], 0x5a
jg 0x180035eb5
xor ebp, ebp
mov r8d, 0x104
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x180035dd4
mov qword [rsp + 0x78], select
mov qword [rsp + 0x70], rbp
mov byte [rsp + 0x60], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800026a0
nop
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x80]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r9, qword [rsp + 0x70]
cmp r9, rcx
ja 0x180035dec
cmp qword [rsp + 0x78], 0x10
jb 0x180035dd4
mov rcx, qword [rsp + 0x60]
call fcn.180050528
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
cmp al, 0x5a
jg 0x180035eb5
jmp 0x180035d40
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x80]
repne scasb al, byte [rdi]
not rcx
dec rcx
sub r9, rcx
mov r8, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1800073b0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180002580
nop
cmp qword [rsp + 0x50], 0x10
jb 0x180035e3d
mov rcx, qword [rsp + 0x38]
call fcn.180050528
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x20]
mov r8, rsi
sub r8, rax
nop dword [rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
inc rdx
test al, al
jne 0x180035e50
lea r8, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
cmp r9, 0x10
cmovae r8, r10
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rdi + rdx - 1], al
inc rdx
test al, al
jne 0x180035e90
cmp r9, 0x10
jb 0x180035eae
mov rcx, r10
call fcn.180050528
mov eax, 1
jmp 0x180035ebb
xor eax, eax
jmp 0x180035ebb
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180050540
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800375a0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800375e8
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], r12
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
lea r8d, [r9 + 4]
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov r12d, eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x18003762b
xor eax, eax
jmp 0x1800376e8
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1800376e3
lea edx, [r12 + 1]
mov r8, rax
shr edx, 1
je 0x180037679
movzx eax, word [r8]
add r8, 2
add ebx, eax
mov ecx, ebx
movzx ebx, bx
shr ecx, 0x10
add ebx, ecx
add edx, 0xffffffff
jne 0x180037660
movsxd rdx, dword [rdi + 0x3c]
mov ecx, ebx
mov eax, 0x10b
shr ecx, 0x10
add rdx, rdi
add cx, bx
cmp word [rdx + 0x18], ax
jne 0x1800376af
movzx eax, word [rdx + 0x58]
cmp cx, ax
adc ax, 0
sub cx, ax
movzx eax, word [rdx + 0x5a]
cmp cx, ax
adc ax, 0
sub cx, ax
movzx eax, cx
mov rcx, rdi
add eax, r12d
mov dword [rdx + 0x58], eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret

Function at 0x180037700
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [r8]
mov rsi, rdx
mov rdi, rcx
lea r8, [rsp + 0x40]
mov r9d, 0x100
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x180037791
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180037777
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180037700
lea r8, [rsp + 0x40]
mov r9d, 0x100
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x180037740
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180050540
add rsp, 0x150
pop rdi
pop rsi
pop rbx
ret
Function at 0x18003ed80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x18003ed99
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x180078440]
cmp r11d, 8
jb 0x18003ee92
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
sub rbx, 1
jne 0x18003edc0
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x18003eec0
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
add r11d, 0xffffffff
jne 0x18003eea0
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x18003f7e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x18003f830
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18003f82a
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x18003f861
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
mov qword [rsp + 0x40], rbx
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x18003f848
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x20]
mov r8d, esi
mov rcx, r10
call fcn.180054180
add dword [rdi + 0x2c], esi
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18003f880
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x38
cmp byte [rcx], 0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov edi, 1
mov r12, rdx
mov rbx, rcx
je 0x18003f8d0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18003f8ca
mov byte [rbx + 0x10], dil
mov esi, dword [rsp + 0x60]
jmp 0x18003f90a
mov qword [rsp + 0x58], rbp
mov ebp, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rbp + 1]
cmp eax, ecx
jbe 0x18003f8e6
mov edi, ecx
sub edi, ebp
mov rdx, rbp
lea rcx, [rsp + 0x50]
mov r8d, edi
add rdx, qword [rbx + 0x20]
mov esi, edi
call fcn.180054180
lea r11d, [rbp + rdi]
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x2c], r11d
mov rdi, qword [rsp + 0x30]
cmp esi, 1
mov rsi, qword [rsp + 0x68]
jne 0x18003f92c
movzx eax, byte [rsp + 0x50]
mov dword [r12], eax
xor eax, eax
add rsp, 0x38
pop r12
pop rbx
ret
cmp byte [rbx], 0
je 0x18003f922
cmp byte [rbx + 0x10], 0
je 0x18003f922
or eax, 0xffffffff
add rsp, 0x38
pop r12
pop rbx
ret