joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801784d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1802993c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1802a0108]
mov edi, ecx
cmp byte [rbx + 0x4ac1], 0
jne 0x180178531
cmp byte [rbx + 0x4ac2], 0
jne 0x180178531
movsx r9d, word [rbx + 0x5bf2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180167a60
test dil, 2
je 0x18017865f
jmp 0x1801785bc
movss xmm1, dword [rbx + 0x38a4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bf2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180234f74]
mov edx, 0x10
mulss xmm1, dword [0x180234f58]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4810], rax
mov dword [rbx + 0x47fc], 1
movss dword [rbx + 0x4808], xmm0
movss dword [rbx + 0x480c], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x180234dd4]
or dword [rbx + 0x47f8], 0x41
movss dword [rbx + 0x4858], xmm0
call fcn.180167a60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180178610
lea r11, [0x18022f970]
nop dword [rax]
cmp r9b, 0x23
jne 0x1801785f3
cmp byte [r8], r9b
jne 0x1801785f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1801785e0
not ecx
call fcn.18016f310
test rax, rax
je 0x18017865f
cmp byte [rax + 0xb6], 0
je 0x18017865f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bf2]
movsx r9d, word [rbx + 0x5bf2]
call fcn.180167a60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180171ab0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801b2e60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18017de40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1802a0108]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18017dea3
mov qword [rsp], rbx
lea rbx, [0x18022f970]
nop dword [rax]
cmp r9b, 0x23
jne 0x18017de83
cmp byte [r8], r9b
jne 0x18017de83
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18017de70
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c50]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18017ded7
mov r10, qword [r10 + 0x5c58]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18017dede
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18017dec4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1801aad30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov r9, qword [rcx + 0x30]
lea rbx, str.cw
movzx r10d, byte [rdx]
mov r11, rcx
movzx eax, r10b
movzx r8d, byte [r9 + 0x1d]
xor al, byte [r8 + rbx]
xor byte [r9], al
mov r9b, 4
mov r8, qword [rcx + 0x30]
movzx eax, byte [r8 + 0x1e]
movzx eax, byte [rax + rbx]
xor byte [r8 + 1], al
mov r8d, 5
mov rcx, qword [rcx + 0x30]
movzx eax, byte [rcx + 0x1f]
movzx eax, byte [rax + rbx]
xor byte [rcx + 2], al
mov rcx, qword [r11 + 0x30]
movzx eax, byte [rcx + 0x1c]
movzx eax, byte [rax + rbx]
xor byte [rcx + 3], al
movzx eax, r10b
shr al, 7
add r10b, r10b
movzx eax, al
imul ecx, eax, 0x1b
xor cl, r10b
mov byte [rdx], cl
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r11 + 0x30]
movzx eax, r9b
add r9b, 4
lea rdx, [r8 + rcx]
movzx ecx, byte [rax + rcx - 4]
xor byte [rdx - 1], cl
mov rax, qword [r11 + 0x30]
lea rcx, [r8 + rax]
movzx eax, byte [r8 + rax - 4]
xor byte [rcx], al
mov rax, qword [r11 + 0x30]
lea rcx, [rax + r8]
movzx eax, byte [rax + r8 - 3]
xor byte [rcx + 1], al
mov rax, qword [r11 + 0x30]
lea rcx, [rax + r8]
movzx eax, byte [rax + r8 - 2]
xor byte [rcx + 2], al
lea r8, [r8 + 4]
cmp r9b, 0x10
jb 0x1801aadb0
mov rcx, qword [r11 + 0x30]
mov r9b, 0x14
movzx eax, byte [rcx + 0xc]
movzx eax, byte [rax + rbx]
xor byte [rcx + 0x10], al
mov rcx, qword [r11 + 0x30]
movzx eax, byte [rcx + 0xd]
movzx eax, byte [rax + rbx]
xor byte [rcx + 0x11], al
mov rcx, qword [r11 + 0x30]
movzx eax, byte [rcx + 0xe]
movzx eax, byte [rax + rbx]
xor byte [rcx + 0x12], al
mov rcx, qword [r11 + 0x30]
movzx eax, byte [rcx + 0xf]
movzx eax, byte [rax + rbx]
xor byte [rcx + 0x13], al
mov eax, 0x15
nop dword [rax + rax]
mov rdx, qword [r11 + 0x30]
movzx ecx, r9b
add r9b, 4
lea r8, [rax + rdx]
movzx edx, byte [rcx + rdx - 4]
xor byte [r8 - 1], dl
mov rcx, qword [r11 + 0x30]
lea rdx, [rax + rcx]
movzx ecx, byte [rax + rcx - 4]
xor byte [rdx], cl
mov rcx, qword [r11 + 0x30]
lea rdx, [rax + rcx]
movzx ecx, byte [rax + rcx - 3]
xor byte [rdx + 1], cl
mov rcx, qword [r11 + 0x30]
lea rdx, [rcx + rax]
movzx ecx, byte [rcx + rax - 2]
xor byte [rdx + 2], cl
lea rax, [rax + 4]
cmp r9b, 0x20
jb 0x1801aae50
mov rbx, qword [rsp + 8]
ret
Function at 0x1801ab0d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802993c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1801ab28a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1801ab218
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x1801ab1d2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1801ab1d2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1801ab1d2
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1801ab194
mov rcx, qword [0x1802a0118]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1801ab1fb
jmp 0x1801ab1c5
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1801ab1c5
mov rcx, qword [0x1802a0118]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801ab1fb
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1801ab142
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1801ab218
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1801ab218
mov rcx, qword [0x1802a0118]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1801ab28a
cmp qword [rbx], r15
je 0x1801ab285
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1801ab285
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801ab27e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1801aaf20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1801ab240
mov eax, r15d
jmp 0x1801ab28f
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801b2e60
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801ab2b0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801ab321
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801ab30a
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rbx*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801ab2fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801ab2d0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1802a0118]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1801ab330
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1802a1d20]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801ab394
mov eax, 0xa
jmp 0x1801ab427
test esi, esi
je 0x1801ab3b6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801ab3d9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801ab3d9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801ab3d2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801ab3d9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801ab440
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1802a1d2c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1801ab487
mov rax, qword [0x1802a1d20]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1801ab494
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1801ab470
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1801ab487
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1801ab0d0
mov edi, eax
test eax, eax
jne 0x1801ab57f
mov r9d, dword [0x1802a1d2c]
cmp ebx, r9d
jae 0x1801ab50c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1802a1d20]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1801ab505
mov edx, esi
mov ecx, ebx
call fcn.1801ab330
mov edi, eax
test eax, eax
jne 0x1801ab50c
mov r9d, dword [0x1802a1d2c]
inc ebx
cmp ebx, r9d
jb 0x1801ab4d0
cmp qword [rsp + 0x20], 0
je 0x1801ab57d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1801ab569
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801ab55a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1801ab530
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802a0118]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x1801ac1a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801ac1e0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1802a1d10]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801ac21e
cmp rsi, r14
jb 0x1801ac216
cmp rsi, r15
jae 0x1801ac216
cmp qword [rsi + 8], 0
jne 0x1801ac3e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801ac201
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801ac2b2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801ac2a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801ac2a9
cmp dword [rsp + 0x70], 0x10000
je 0x1801ac32b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801ac2a9
sub rbx, rbp
cmp rbx, r14
jae 0x1801ac270
test rsi, rsi
jne 0x1801ac390
cmp rdi, r15
ja 0x1801ac3cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801ac3cf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801ac3cf
cmp dword [rsp + 0x70], 0x10000
je 0x1801ac361
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801ac2e2
jmp 0x1801ac3cf
test rbx, rbx
je 0x1801ac2a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801ac390
cmp rbx, r14
jae 0x1801ac250
jmp 0x1801ac2b2
test rdi, rdi
je 0x1801ac3cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801ac390
cmp rdi, r15
jbe 0x1801ac2c0
jmp 0x1801ac3cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801ac3a0
mov rax, qword [0x1802a1d10]
mov qword [rsi], rax
mov qword [0x1802a1d10], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801acd40
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
mov ecx, 0x5a4d
mov r9, rdx
cmp word [r8], cx
jne 0x1801ace24
movsxd rcx, dword [r8 + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801ace24
test rcx, rcx
je 0x1801ace24
mov edx, dword [rcx + 0x50]
test rdx, rdx
je 0x1801ace24
add r8, rdx
cmp byte [0x18029faea], 0
je 0x1801acdea
cmp byte [0x18029fae8], 0
je 0x1801acdbe
movaps xmm0, xmmword [r9]
mov rdx, rax
lea r9, [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.1801ad990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
cmp byte [0x18029fae7], 0
je 0x1801acdea
movaps xmm0, xmmword [r9]
mov rdx, rax
lea r9, [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.1801ad4c0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
cmp byte [0x18029fae4], 0
mov rdx, rax
movaps xmm0, xmmword [r9]
mov rcx, rbx
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
je 0x1801ace16
call fcn.1801acfb0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
call fcn.1801acc80
mov rax, rbx
add rsp, 0x30
pop rbx
ret
mov qword [rbx], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1801ace40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movaps xmm0, xmmword [r8]
mov eax, 0x5a4d
xor r13d, r13d
movdqa xmmword [rsp + 0x20], xmm0
mov rbp, r9
mov r15, rdx
mov r14, rcx
cmp word [r9], ax
jne 0x1801aced3
movsxd rdi, dword [r9 + 0x3c]
add rdi, r9
cmp dword [rdi], 0x4550
jne 0x1801aced3
test rdi, rdi
je 0x1801aced3
movzx ebx, word [rdi + 0x14]
mov esi, r13d
add rbx, 0x18
add rbx, rdi
cmp r13w, word [rdi + 6]
jae 0x1801aced3
mov r12, qword [rsp + 0x20]
nop dword [rax + rax]
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call fcn.1801ccdf0
test eax, eax
je 0x1801acef6
movzx eax, word [rdi + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jl 0x1801aceb0
mov qword [r14], r13
mov rbx, qword [rsp + 0x60]
mov rax, r14
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, dword [rbx + 0xc]
mov eax, dword [rbx + 8]
add rdx, rbp
test rax, rax
je 0x1801aced3
cmp byte [0x18029faea], r13b
lea r8, [rdx + rax]
je 0x1801acf55
cmp byte [0x18029fae8], r13b
je 0x1801acf33
movaps xmm0, xmmword [r15]
lea r9, [rsp + 0x20]
mov rcx, r14
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1801ad990
jmp 0x1801aced6
cmp byte [0x18029fae7], r13b
je 0x1801acf55
movaps xmm0, xmmword [r15]
lea r9, [rsp + 0x20]
mov rcx, r14
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1801ad4c0
jmp 0x1801aced6
cmp byte [0x18029fae4], r13b
lea r9, [rsp + 0x20]
movaps xmm0, xmmword [r15]
mov rcx, r14
movdqa xmmword [rsp + 0x20], xmm0
je 0x1801acf7a
call fcn.1801acfb0
jmp 0x1801aced6
call fcn.1801acc80
jmp 0x1801aced6
Function at 0x1801b0b38
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801b0b72
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801b0b77
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801b0bc0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x1801b0bc0
dec r8
sub rdx, 1
jne 0x1801b0ba6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1801c4884
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801c48f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801c48f3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801c48f3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801c48f3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801c48f3
cmp dword [rcx + 0x84], 0xe
jbe 0x1801c48f3
cmp dword [rcx + 0xf8], 0
je 0x1801c48f3
mov ecx, ebx
call fcn.1801c49a4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801c4780
nop
cmp dword [rbp + 0x20], 0
je 0x1801c4941
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801c494c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1801c4884
Function at 0x1801c4a40
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801c48f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801c48f3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801c48f3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801c48f3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801c48f3
cmp dword [rcx + 0x84], 0xe
jbe 0x1801c48f3
cmp dword [rcx + 0xf8], 0
je 0x1801c48f3
mov ecx, ebx
call fcn.1801c49a4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801c4780
nop
cmp dword [rbp + 0x20], 0
je 0x1801c4941
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801c494c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1801c4884

Function at 0x1801cc420
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1801cc457
call fcn.1801c50d8
mov dword [rax], 0x16
call fcn.1801c1444
xor eax, eax
jmp 0x1801cc4e5
mov rdx, r9
mov rcx, r8
call fcn.1801cc3bc
mov rbx, rax
test rax, rax
je 0x1801cc4e2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1801cc2e8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1801cc4cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801c504c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1801cc4b6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1801cc4c5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1801d6300
jmp 0x1801cc4e2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1801cc4df
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1801ccabc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1801b3f30
sub rsp, rax
mov rax, qword [0x1802993c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1801d763c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1801ccb0b
mov rax, rbp
jmp 0x1801ccc13
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x29e060]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1801dbcf4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x29e060]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1801ccc0f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801ccc0f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1801dbcf4
test rax, rax
js 0x1801ccc0f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1801ccc0f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1801ccc01
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1801ccc01
cmp byte [rcx], 0xd
jne 0x1801ccbe7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1801ccbf6
cmp byte [rcx + 1], 0xa
jne 0x1801ccbf6
inc rcx
jmp 0x1801ccbf6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2999b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1801ccbc9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1801ccc13
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1801b2e60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret