joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073f7c
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 0x140073fac
xor eax, eax
jmp 0x14007406f
mov rbp, rbx
cmp word [rax], si
je 0x140073fd1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140073fb8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140073fb4
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.14006d078
movsxd r14, eax
test eax, eax
jne 0x14007400f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140073fa5
mov rcx, r14
call fcn.14006cf88
mov rdi, rax
test rax, rax
jne 0x140074028
xor ecx, ecx
call fcn.14006cf4c
jmp 0x140074004
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.14006d078
test eax, eax
jne 0x140074059
mov rcx, rdi
call fcn.14006cf4c
jmp 0x140074063
xor ecx, ecx
call fcn.14006cf4c
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 0x140078728
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14006dd18
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006dd18
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140078878
cmp rax, 0xffffffffffffffff
je 0x140078878
xor edi, edi
test rbp, rbp
jle 0x140078823
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006edf4
mov rbx, rax
test rax, rax
jne 0x1400787b0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140078819
mov edx, 0x8000
mov ecx, r14d
call fcn.14006bcc4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14006fa44
cmp eax, 0xffffffff
je 0x1400787f9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400787c0
mov edx, r15d
mov ecx, r14d
call fcn.14006bcc4
jmp 0x140078819
cmp byte [rsi + 0x38], dil
je 0x140078810
cmp dword [rsi + 0x34], 5
jne 0x140078810
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140078819
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006cf4c
jmp 0x14007888c
jns 0x14007888c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006dd18
cmp rax, 0xffffffffffffffff
jne 0x140078844
cmp byte [rsi + 0x30], dil
je 0x14007888c
mov edi, dword [rsi + 0x2c]
jmp 0x14007888c
mov ecx, r14d
call fcn.1400746d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007888c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14007888c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140078885
mov eax, dword [rsi + 0x2c]
jmp 0x14007888a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006dd18
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140079bc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140079be8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140079be8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000a410
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, rdx
xor edi, edi
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14000a47b
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 4], eax
lea rax, [0x14002a6f8]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000a4c2
mov qword [rbx + 0x20], 0xffffffffffffffff
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x14002a708]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov eax, eax
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rbx + 0x20], rax
lea r8d, [r9 + 2]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x14000a51c
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x14002a718]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14000a576
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x28]
mov dword [rbx + 4], eax
lea rax, [0x14002a730]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov byte [rbx], dil
mov rax, rbx
mov dword [rbx + 4], edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a6b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a6f5
xor al, al
jmp 0x14000a742
cmp word [rbx], 0
je 0x14000a70d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a700
cmp word [rsp + 0x30], 0
je 0x14000a73b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a763
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a720
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b7b0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fde4
int3
Function at 0x14000ae80
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x1400355e0]
test rcx, rcx
je 0x14000aebb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000aeae
mov rcx, qword [0x1400355e0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x1400355e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140035638], 0
je 0x14000afae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x14002a920]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140035640]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af8f
test al, 0x10
je 0x14000af8f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000af35
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c070
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c0ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c0ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c0ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c0ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c0ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c0bc
xor al, al
add rsp, 0x28
ret

Function at 0x14000fdd8
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 0x14000fc43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fc43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fc43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fc43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fc43
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fc43
cmp dword [rcx + 0xf8], 0
je 0x14000fc43
mov ecx, ebx
call fcn.14000fcf4
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.14000fad0
nop
cmp dword [rbp + 0x20], 0
je 0x14000fc91
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fc9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fbd4
Function at 0x140019994
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140019a1b
mov rsi, rbx
cmp word [rax], bp
je 0x1400199da
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400199c4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400199c0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140017070
mov rdi, rax
test rax, rax
je 0x140019a08
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020d10
mov rbp, rdi
xor ecx, ecx
call fcn.140016094
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bfe4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001bffa
mov al, 1
jmp 0x14001c05a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001c00b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001c058
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001a138
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001c058
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001c058
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001c058
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001c05a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140020510
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140020538
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140020538
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800a0573
Capabilities:
Write file on windows

Disassembly:
jmp 0x1801c7d50
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x18025a790]
call fcn.1800a3557
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1801c7da7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1801c7eb3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1801c7e4c
cmp qword [rbp + 0x28], 0
jle 0x1801c7e4c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1801c7dec
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1800a3200
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1801c7ea2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1801c7ea2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1800a0613
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1801bb6b0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18023e640]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x18025a7a0]
call fcn.1800a3557
lea rcx, str.Game.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0xcec558]
mov qword [0x180245d78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b868]
mov qword [0x180245d68], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b8d8]
mov qword [0x180245d58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b8c0]
mov qword [0x180245d88], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b8d0]
mov qword [0x180245d98], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b920]
mov qword [0x180245db8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rax, qword [rax + 0x283b870]
mov qword [0x180245da8], rax
mov rcx, qword [0x180245d88]
call fcn.1800a07e4
mov qword [0x180245dc8], rax
call fcn.1800a2841
mov qword [0x180245dd8], rax
mov r8d, 0x24
lea rdx, [0x1800a22bf]
mov rcx, qword [0x180245da8]
call fcn.1800a2ea9
mov qword [0x180245af0], rax
mov r8d, 0x19
lea rdx, [0x1800a20df]
mov rcx, qword [0x180245d58]
call fcn.1800a2ea9
mov qword [0x180245b08], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x247e03
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov byte [rcx + rax], 0xeb
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov edx, 1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x180221190]
call fcn.1800a2c42
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1800a19b9
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1800a1a3b
Capabilities:
Create thread

Disassembly:
jmp 0x1800ac490
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x18025a128]
call fcn.1800a3557
mov rax, qword [rbp + 0xf0]
mov qword [0x18023efd0], rax
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x1800ac540
cmp dword [rbp + 0xc0], 1
je 0x1800ac4f3
jmp 0x1800ac545
lea rcx, [fcn.1800a38e0]
call fcn.1800a14ff
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf0]
lea r8, [0x1800a28f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov qword [0x18023efd8], rax
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1800ac545
call fcn.1800a38e0
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x1800a1dd3
Capabilities:
Terminate process

Disassembly:
jmp 0x1801e3270
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1800a221f
Capabilities:
Write file on windows

Disassembly:
jmp 0x1800e0c80
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18025a31b]
call fcn.1800a3557
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1800a240e
Capabilities:
Read file on windows

Disassembly:
jmp 0x1800e0c10
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18025a31b]
call fcn.1800a3557
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1800a2427
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1800e11b0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18025a31b]
call fcn.1800a3557
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1801f2170]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1800e12f5
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1800e1249
mov dword [rbp + 0x160], 1
jmp 0x1800e1253
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1800e12f0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1800e12ca
cmp qword [rbp + 0x198], 2
jb 0x1800e12ca
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800e12ca
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800e12ca
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1800e1214
jmp 0x1800e138f
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1800e138f
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1800e1366
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800e1366
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800e1366
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1800e12f5
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800a2ea9
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1801bb550
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [0x18023e640]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x18025a78c]
call fcn.1800a3557
mov rax, qword [rbp + 0x190]
mov rax, qword [rax]
mov qword [rbp + 8], rax
movsxd rax, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov r8d, 0x30
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
lea r9, [rbp + 0x8c]
mov r8d, 0x40
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x198]
mov qword [rax], rcx
lea r9, [rbp + 0x8c]
mov r8d, dword [rbp + 0x8c]
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180221a30]
call fcn.1800a2c42
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1800a19b9
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret