joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18018c900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x18018c932
call fcn.180174ca4
mov dword [rax], socket
call fcn.180166c28
jmp 0x18018ca51
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18018ca51
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18018ca51
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18018c961
lock or dword [rcx + 0x14], 0x10
jmp 0x18018ca51
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18018c975
call fcn.18018cbf4
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.180188a34
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.180182890
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18018ca3f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18018ca0a
mov rcx, rsi
call fcn.180188a34
cmp eax, edi
je 0x18018c9f5
mov rcx, rsi
call fcn.180188a34
cmp eax, 0xfffffffe
je 0x18018c9f5
mov rcx, rsi
call fcn.180188a34
movsxd rbx, eax
lea r14, [0x1801ef8a0]
mov rcx, rsi
sar rbx, 6
call fcn.180188a34
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18018c9fc
lea rdx, [0x1801eb000]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18018ca0a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18018ca2e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18018ca2e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18018ca2e
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x18018ca54
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x180190b58
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 0x180190b88
xor eax, eax
jmp 0x180190c4b
mov rbp, rbx
cmp word [rax], si
je 0x180190bad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180190b94
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180190b90
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.180188da8
movsxd r14, eax
test eax, eax
jne 0x180190beb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180190b81
mov rcx, r14
call fcn.1801877bc
mov rdi, rax
test rax, rax
jne 0x180190c04
xor ecx, ecx
call fcn.180186394
jmp 0x180190be0
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.180188da8
test eax, eax
jne 0x180190c35
mov rcx, rdi
call fcn.180186394
jmp 0x180190c3f
xor ecx, ecx
call fcn.180186394
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 0x180190c68
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 0x180190cef
mov rsi, rbx
cmp word [rax], bp
je 0x180190cae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180190c98
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180190c94
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801877bc
mov rdi, rax
test rax, rax
je 0x180190cdc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1801625a0
mov rbp, rdi
xor ecx, ecx
call fcn.180186394
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 0x1801974ec
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.18016db90
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x180197576
cmp byte [rbp - 0x21], r15b
je 0x180197571
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1801975ac
call fcn.1801867a0
test eax, eax
jne 0x180197598
cmp byte [rbp - 0x21], r15b
je 0x180197590
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1801975ac
cmp byte [rbp - 0x21], r15b
je 0x1801975a9
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.18016d8f8
test eax, eax
jne 0x18019764c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18016db90
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1801975eb
cmp byte [rbp - 0x21], r15b
je 0x180197620
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180197620
call fcn.1801867a0
test eax, eax
jne 0x18019760c
cmp byte [rbp - 0x21], r15b
je 0x180197605
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x180197620
cmp byte [rbp - 0x21], r15b
je 0x18019761d
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.18016d8f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18019764c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18019764f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18019765d
mov rcx, rdi
call fcn.180186394
cmp byte [rbp + 0x3f], r15b
je 0x18019766c
mov rcx, qword [rbp + 0x27]
call fcn.180186394
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 0x180197ba4
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.18018ced8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18018ced8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180197cf4
cmp rax, 0xffffffffffffffff
je 0x180197cf4
xor edi, edi
test rbp, rbp
jle 0x180197c9f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18018631c
mov rbx, rax
test rax, rax
jne 0x180197c2c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180197c95
mov edx, 0x8000
mov ecx, r14d
call fcn.180196d54
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.1801837d4
cmp eax, 0xffffffff
je 0x180197c75
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180197c3c
mov edx, r15d
mov ecx, r14d
call fcn.180196d54
jmp 0x180197c95
cmp byte [rsi + 0x38], dil
je 0x180197c8c
cmp dword [rsi + 0x34], 5
jne 0x180197c8c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], select
cmp byte [rsi + 0x30], dil
je 0x180197c95
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180186394
jmp 0x180197d08
jns 0x180197d08
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18018ced8
cmp rax, 0xffffffffffffffff
jne 0x180197cc0
cmp byte [rsi + 0x30], dil
je 0x180197d08
mov edi, dword [rsi + 0x2c]
jmp 0x180197d08
mov ecx, r14d
call fcn.18018dbb4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180197d08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], select
jmp 0x180197d08
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180197d01
mov eax, dword [rsi + 0x2c]
jmp 0x180197d06
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18018ced8
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 0x140199000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1401990d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140199037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14019902d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1401990cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1401990cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1401990ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140199081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140199072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140199021
Function at 0x140001230
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x470
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor esi, esi
lea rcx, str.D:Program_FilesOrbitdownloaderorbitdm.exe
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400012a2
mov rcx, qword [0x140004208]
lea rdx, str.Erro_ao_abrir_o_arquivo_de_origem._n
call fcn.140002470
lea eax, [rsi + 1]
jmp 0x14000140f
lea r9, [rsp + 0x48]
mov rcx, rbx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1400012e4
mov rcx, qword [0x140004208]
lea rdx, str.Erro_ao_pegar_a_data_do_arquivo_de_origem._n
call fcn.140002470
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000140f
mov qword [rsp + 0x30], rsi
lea rcx, str.D:Program_FilesOrbitdownloaderorbit.exe
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov qword [rsp + 0x480], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001346
mov rcx, qword [0x140004208]
lea rdx, str.Erro_ao_criar_o_novo_arquivo._n
call fcn.140002470
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi + 2]
jmp 0x140001407
lea r9, [rsp + 0x48]
mov rcx, rdi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x14000136e
lea rdx, str.Erro_ao_definir_a_data_do_novo_arquivo._n
jmp 0x140001437
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400013e2
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x1400013e2
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001430
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jne 0x140001430
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001390
mov rcx, qword [0x140004208]
lea rdx, str.Arquivo_copiado_com_sucesso._n
call fcn.140002470
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140002bf0
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rsi
ret
lea rdx, str.Erro_ao_escrever_no_novo_arquivo._n
mov rcx, qword [0x140004208]
call fcn.140002470
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001407
Function at 0x1400017e0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edi, edi
mov word [rsp + 0x74], 0x500
lea rax, [rsp + 0x68]
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x48], edi
mov ebx, edi
mov dword [rsp + 0x40], edi
lea r8d, [rdi + 0x20]
mov dword [rsp + 0x38], edi
mov r9d, 0x220
mov dword [rsp + 0x30], edi
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000186a
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001872
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140001887
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rsp + 0x68], rdi
test ebx, ebx
jne 0x1400018b0
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002bf0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rdx, [0x1400055f8]
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400018d0
Capabilities:
Create process on windows
Create thread

Disassembly:
sub rsp, 0x2d8
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x30], 0
call fcn.1400017e0
mov dword [rsp + 0x30], eax
jmp 0x140001900
test eax, eax
jne 0x1400019d1
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400019d1
mov dword [rsp + 0x40], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
mov qword [rsp + 0xa4], rax
mov dword [rsp + 0xac], eax
lea rax, str.runas
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400019d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400019d1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [fcn.1400018d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140002bf0
add rsp, 0x2d8
ret
Function at 0x1400035b8
Capabilities:
Parse pe header

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

Function at 0x140011540
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14001156d
xor al, al
jmp 0x1400116cf
mov rax, qword [0x1400316c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1400316c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1400316d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400316d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400316e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400316e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1400316f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1400316f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140031700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1400116c1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140011619
mov r11d, 2
jmp 0x14001163d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140011633
mov r11d, 1
jmp 0x14001163d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1400116e5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140011682
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14001169a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1400116aa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1400116b8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140011600
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1400116ca
Function at 0x1402e46e2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
push r15
movsxd r8, edx
rdtsc
mov r9b, r11b
push rcx
movzx rdi, r8w
cbw
movabs rcx, 0
mov ebx, ebp
rdtsc
movsxd rbx, ecx
push rcx
cbw
mov r9, qword [rsp + 0x90]
lahf
movsxd rbx, r13d
inc r9d
bts r8w, cx
ror r9d, 1
cmovp r10, rsi
ror dl, cl
xor r9d, 0x14e0677c
movsx bx, bpl
cdqe
movsxd r10, r9d
add r9d, 0x187181e
cmp bx, bp
xadd edi, r10d
xor r9d, 0x1ad000ed
rol dh, 0x47
test r15d, edi
sub r9d, 0x2f96765e
ror r10w, 0x65
stc
ror r9d, 3
sbb ah, 0x6f
and dil, bpl
lea r9, [r9 + rcx]
movabs rdx, 0x100000000
lea r9, [r9 + rdx]
cmovg ax, r15w
shld di, si, 0xcc
mov rdi, rsp
bsf ebx, esi
jmp 0x14025b029
inc r10d
test di, 0xc35
cmc
push r8
mov r8b, spl
btc r8d, r12d
btr r8w, 0xbf
xor dword [rsp], r10d
sar r8b, cl
movzx r8w, dil
pop r8
cmp r14w, 0x8c9
jmp 0x14030013c
sub rsp, 0x180
cwde
and rsp, 0xfffffffffffffff0
rol ah, 0x79
mov r8, r9
cbw
movabs rax, 0
jmp 0x1403008af
push rdi
xchg di, di
movsx rdi, cx
push rax
push r12
pushfq
movsx edi, cx
cmovl di, r11w
push rdx
rdtsc
movzx dx, bh
push r13
cwde
push r9
movsx r9, r8w
push r14
lahf
rdtsc
push rbp
movsx edx, si
mov ax, 0xbbe
push rbx
push r8
setl dl
movzx rdi, cx
movsx r9w, dl
push r10
cbw
push r11
jmp 0x14023bbd3
movsxd r10, r10d
cmc
test bpl, 5
jmp 0x140323dc2
sub r8, rax
btc ebx, 0x2f
lea rbx, [0x1403008b6]
mov r10d, dword [r9]
clc
test r15w, r10w
add r9, 4
test r15b, r8b
cmc
xor r10d, r8d
neg r10d
inc r10d
stc
ror r10d, 3
jmp 0x140256a52
jmp rbx
add rbx, r10
jmp 0x1403091f0

Function at 0x140829c6b
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x180
cwde
and rsp, 0xfffffffffffffff0
rol ah, 0x79
mov r8, r9
cbw
movabs rax, 0
jmp 0x14082303f
movsxd r10, r10d
cmc
test bpl, 5
jmp 0x1407d437f
push rsi
push r15
movsxd r8, edx
rdtsc
mov r9b, r11b
push rcx
movzx rdi, r8w
cbw
movabs rcx, 0
mov ebx, ebp
rdtsc
movsxd rbx, ecx
push rcx
cbw
mov r9, qword [rsp + 0x90]
lahf
movsxd rbx, r13d
inc r9d
bts r8w, cx
ror r9d, 1
cmovp r10, rsi
ror dl, cl
xor r9d, 0x14e0677c
movsx bx, bpl
cdqe
movsxd r10, r9d
add r9d, 0x187181e
cmp bx, bp
xadd edi, r10d
xor r9d, 0x1ad000ed
rol dh, 0x47
test r15d, edi
sub r9d, 0x2f96765e
ror r10w, 0x65
stc
ror r9d, 3
sbb ah, 0x6f
and dil, bpl
lea r9, [r9 + rcx]
movabs rdx, 0x100000000
lea r9, [r9 + rdx]
cmovg ax, r15w
shld di, si, 0xcc
mov rdi, rsp
bsf ebx, esi
jmp 0x140761154
add rbx, r10
jmp 0x1408958bb
inc r10d
test di, 0xc35
cmc
push r8
mov r8b, spl
btc r8d, r12d
btr r8w, 0xbf
xor dword [rsp], r10d
sar r8b, cl
movzx r8w, dil
pop r8
cmp r14w, 0x8c9
jmp 0x140770440
sub r8, rax
btc ebx, 0x2f
lea rbx, [0x140823046]
mov r10d, dword [r9]
clc
test r15w, r10w
add r9, 4
test r15b, r8b
cmc
xor r10d, r8d
neg r10d
inc r10d
stc
ror r10d, 3
jmp 0x1407f099b
push rdi
xchg di, di
movsx rdi, cx
push rax
push r12
pushfq
movsx edi, cx
cmovl di, r11w
push rdx
rdtsc
movzx dx, bh
push r13
cwde
push r9
movsx r9, r8w
push r14
lahf
rdtsc
push rbp
movsx edx, si
mov ax, 0xbbe
push rbx
push r8
setl dl
movzx rdi, cx
movsx r9w, dl
push r10
cbw
push r11
jmp 0x140780f2c
jmp rbx
Function at 0x140002798
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
movzx eax, byte [rcx]
lea r10, [0x14009f740]
movzx r9d, r8b
inc rcx
xor r9, rax
mov eax, r8d
shr eax, 8
mov r8d, dword [r10 + r9*4]
xor r8d, eax
sub rdx, 1
jne 0x14000279b
not r8d
mov eax, r8d
ret

Function at 0x1400027cc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14000282b
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14009f740]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140002810
cmp rdx, 2
jb 0x140002810
cmp byte [r10], r11b
jne 0x140002810
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
mov eax, r9d
xor rcx, rbx
shr eax, 8
mov r9d, dword [rdi + rcx*4]
xor r9d, eax
test rdx, rdx
jne 0x1400027ee
jmp 0x140002871
mov cl, byte [rcx]
inc r10
test cl, cl
je 0x140002871
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14009f740]
cmp cl, r11b
jne 0x140002850
cmp byte [r10], r11b
jne 0x140002850
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx eax, cl
mov ecx, r9d
movzx edx, r9b
shr ecx, 8
xor rdx, rax
mov r9d, dword [rdi + rdx*4]
xor r9d, ecx
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x14000283e
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400046b8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xc0]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x1400046f2
mov r8d, 0x50f
lea rdx, str.C:UsersJuan_Angel_GarzaDownloadsimgui_masterimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400027cc