joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5e80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r9d, 0x10
lea r8, [rsp + 0x40]
mov rdi, rcx
mov ecx, 0x400
lea edx, [r9 + 0x49]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r9d, 0x10
lea r8, [rsp + 0x30]
mov ecx, 0x400
mov ebx, eax
lea edx, [r9 + 0x4a]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov edx, eax
test ebx, ebx
jne 0x1400b5e30
lea rcx, str.Couldnt_obtain_language_info
call fcn.14005ec50
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
test edx, edx
lea rcx, [0x140159cae]
lea r8, [0x140162fb0]
mov edx, 0x80
lea rax, [rsp + 0x30]
cmove rax, rcx
lea r9, [rsp + 0x40]
cmovne rcx, r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, str._s_s_s
mov rcx, rdi
call fcn.14003b010
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x10], rdx
push r14
sub rsp, 0x30
cmp qword [0x140185f50], 0
mov r14, rcx
jne 0x1400b5eca
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x140185f50], rax
test rax, rax
je 0x1400b5eca
lea rdx, str.GetUserPreferredUILanguages
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185f58], rax
jmp 0x1400b5ed1
mov rax, qword [0x140185f58]
test rax, rax
jne 0x1400b5ee4
mov rcx, r14
add rsp, 0x30
pop r14
jmp 0x1400b5dd0
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x48]
xor ebx, ebx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], ebx
lea ecx, [rbx + 8]
mov dword [rsp + 0x48], ebx
call rax
mov ecx, dword [rsp + 0x48]
mov edi, 1
add rcx, rcx
mov esi, 0x80
test rcx, rcx
cmove rcx, rdi
call qword [fcn.140061120]
mov rbp, rax
test rax, rax
je 0x1400b5f42
lock xadd dword [0x140181b40], edi
mov rdi, qword [rsp + 0x20]
test rbp, rbp
jne 0x1400b5f5d
lea rcx, str.Out_of_memory
call fcn.14005ec50
jmp 0x1400b5fe6
lea r9, [rsp + 0x48]
mov r8, rbp
lea rdx, [rsp + 0x50]
mov ecx, 8
call qword [0x140185f58]
test eax, eax
jne 0x1400b5f83
mov rcx, r14
call 0x1400b5dd0
jmp 0x1400b5fd0
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, esi
ja 0x1400b5f93
mov esi, eax
test eax, eax
je 0x1400b5fc9
mov r9, r14
mov r8, rbp
mov eax, ebx
mov r10d, 0x5f
movzx edx, byte [r8]
test dl, dl
jne 0x1400b5faf
mov ebx, eax
mov cl, 0x2c
jmp 0x1400b5fb9
cmp dl, 0x2d
movzx ecx, dl
cmove ecx, r10d
mov byte [r9], cl
inc eax
inc r9
add r8, 2
cmp eax, esi
jb 0x1400b5fa1
mov eax, ebx
mov byte [rax + r14], 0
mov rcx, rbp
call qword [fcn.1400614b0]
mov eax, 0xffffffff
lock xadd dword [0x140181b40], eax
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
add rsp, 0x30
pop r14
ret
Function at 0x1400d75d0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp qword [0x140185fe0], 0
je 0x1400d75eb
inc dword [0x140185f9c]
xor eax, eax
add rsp, 0x28
ret
lea rcx, str.XInput1_4.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140185fe0], rax
test rax, rax
jne 0x1400d7653
lea rcx, str.XInput1_3.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140185fe0], rax
test rax, rax
jne 0x1400d7653
lea rcx, str.binXInput1_3.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140185fe0], rax
test rax, rax
jne 0x1400d7653
lea rcx, str.XInput9_1_0.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140185fe0], rax
test rax, rax
je 0x1400d772b
mov edx, 0x64
mov dword [0x140185f9c], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140183ac0], rax
test rax, rax
jne 0x1400d7692
mov rcx, qword [0x140185fe0]
lea rdx, str.XInputGetState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140183ac0], rax
mov rcx, qword [0x140185fe0]
lea rdx, str.XInputSetState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140185fe0]
lea rdx, str.XInputGetCapabilities
mov qword [0x140183ab8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140185fe0]
lea rdx, str.XInputGetBatteryInformation
mov qword [0x140183aa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140183ac0], 0
mov qword [0x140183ab0], rax
je 0x1400d7705
cmp qword [0x140183ab8], 0
je 0x1400d7705
cmp qword [0x140183aa8], 0
jne 0x1400d75e4
mov rcx, qword [0x140185fe0]
test rcx, rcx
je 0x1400d772b
sub dword [0x140185f9c], 1
jne 0x1400d772b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140185fe0], 0
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1400d8510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x80
mov rsi, qword [rcx + 0x50]
mov r15, r8
movsxd r14, r9d
mov rbp, rcx
cmp dword [rsi + 0x20], 0
jne 0x1400d8545
lea rcx, str.That_operation_is_not_supported
call fcn.14005ec50
jmp 0x1400d874e
cmp dword [rsi + 0x24], 0
mov qword [rsp + 0xa8], rbx
jne 0x1400d8558
call fcn.1400d7f20
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb0], rdi
lea rdx, [rsp + 0x30]
mov ebx, 0x4e
mov r8d, ebx
test al, 3
je 0x1400d8596
nop word [rax + rax]
mov rax, r8
dec r8
test rax, rax
je 0x1400d85d5
mov byte [rdx], 0
inc rdx
test dl, 3
jne 0x1400d8580
mov r9, r8
shr r8, 2
and r9d, 3
test r8, r8
je 0x1400d85b4
mov rdi, rdx
xor eax, eax
mov rcx, r8
lea rdx, [rdx + r8*4]
rep stosd dword [rdi], eax
sub r9, 1
je 0x1400d85d2
sub r9, 1
je 0x1400d85cc
cmp r9, 1
jne 0x1400d85d5
mov byte [rdx], 0
inc rdx
mov byte [rdx], 0
inc rdx
mov byte [rdx], 0
cmp dword [rsi + 0x14], 0
je 0x1400d85f4
mov word [rsp + 0x30], 0xc411
lea rcx, [rsp + 0x36]
mov byte [rsp + 0x33], 3
mov r8d, 0x48
jmp 0x1400d860b
mov word [rsp + 0x30], 0x705
lea rcx, [rsp + 0x34]
mov ebx, 0x20
mov r8d, 0x4a
cmp r8, r14
mov rdx, r15
cmovae r8, r14
call fcn.140039560
cmp dword [rsi + 0x14], 0
je 0x1400d871a
mov edi, ebx
xor r10d, r10d
mov edx, 0xeada2d49
mov r8d, r10d
mov r11d, 0xff000000
lea r9, [rdi - 4]
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x30]
movzx eax, dl
xor ecx, eax
mov eax, 0xedb88320
test cl, 1
cmovne eax, r10d
shr ecx, 1
xor eax, ecx
mov ecx, 0xedb88320
test al, 1
cmovne ecx, r10d
shr eax, 1
xor ecx, eax
mov eax, 0xedb88320
test cl, 1
cmovne eax, r10d
shr ecx, 1
xor eax, ecx
mov ecx, 0xedb88320
test al, 1
cmovne ecx, r10d
shr eax, 1
xor ecx, eax
mov eax, 0xedb88320
test cl, 1
cmovne eax, r10d
shr ecx, 1
xor eax, ecx
mov ecx, 0xedb88320
test al, 1
cmovne ecx, r10d
shr eax, 1
xor ecx, eax
mov eax, 0xedb88320
test cl, 1
cmovne eax, r10d
shr edx, 7
shr ecx, 1
xor eax, ecx
xor edx, eax
shr edx, 1
test al, 1
mov eax, 0x12b88320
cmovne eax, r11d
inc r8
xor edx, eax
cmp r8, r9
jb 0x1400d8640
lea rcx, [rsp + rdi + 0x2c]
mov dword [rsp + 0xa0], edx
mov rax, rcx
lea rdi, [rsp + 0x20]
or rax, rdi
test al, 3
jne 0x1400d86f7
mov dword [rcx], edx
jmp 0x1400d871a
movzx eax, byte [rsp + 0xa1]
mov byte [rcx], dl
mov byte [rcx + 1], al
movzx eax, byte [rsp + 0xa2]
mov byte [rcx + 2], al
movzx eax, byte [rsp + 0xa3]
mov byte [rcx + 3], al
mov r8d, ebx
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.1400db330
mov rdi, qword [rsp + 0xb0]
cmp eax, ebx
mov rbx, qword [rsp + 0xa8]
je 0x1400d874c
lea rcx, str.Couldnt_send_rumble_packet
call fcn.14005ec50
jmp 0x1400d874e
xor eax, eax
mov rbp, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rsi
ret
Function at 0x1400e2b40
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x354], 4
mov rdi, rdx
mov rbx, rcx
je 0x1400e2bf5
call fcn.14010bf40
lea rax, [fcn.1400b3d00]
mov rdx, rdi
mov qword [rbx + 0x178], rax
mov rcx, rbx
lea rax, [0x1400b3f20]
mov qword [rbx + 0x180], rax
lea rax, [fcn.1400b3f60]
mov qword [rbx + 0x188], rax
lea rax, [0x1400b4d00]
mov qword [rbx + 0x190], rax
lea rax, [fcn.1400b5040]
mov qword [rbx + 0x198], rax
lea rax, [0x1400b50d0]
mov qword [rbx + 0x1a8], rax
lea rax, [0x1400b5150]
mov qword [rbx + 0x1b0], rax
lea rax, [0x1400b5170]
mov qword [rbx + 0x1b8], rax
lea rax, [0x1400b51b0]
mov qword [rbx + 0x1c0], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400b3d00
cmp qword [rcx + 0x5d0], 0
jne 0x1400e2c0e
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14010c910
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140119ba0
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 0x140119a0b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140119a0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140119a0b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140119a0b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140119a0b
cmp dword [rcx + 0x84], 0xe
jbe 0x140119a0b
cmp dword [rcx + 0xf8], 0
je 0x140119a0b
mov ecx, ebx
call fcn.140119abc
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.140119898
nop
cmp dword [rbp + 0x20], 0
je 0x140119a59
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140119a64
int3
xor r8d, r8d
xor edx, edx
jmp 0x14011999c
Function at 0x14011dfa4
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 0x14011dfd4
xor eax, eax
jmp 0x14011e097
mov rbp, rbx
cmp word [rax], si
je 0x14011dff9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14011dfe0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14011dfdc
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.14011dec4
movsxd r14, eax
test eax, eax
jne 0x14011e037
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14011dfcd
mov rcx, r14
call fcn.14011c514
mov rdi, rax
test rax, rax
jne 0x14011e050
xor ecx, ecx
call fcn.14011c4d8
jmp 0x14011e02c
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.14011dec4
test eax, eax
jne 0x14011e081
mov rcx, rdi
call fcn.14011c4d8
jmp 0x14011e08b
xor ecx, ecx
call fcn.14011c4d8
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 0x1401215e0
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.140119bac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14012166a
cmp byte [rbp - 0x21], r15b
je 0x140121665
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401216a0
call fcn.14011f6fc
test eax, eax
jne 0x14012168c
cmp byte [rbp - 0x21], r15b
je 0x140121684
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401216a0
cmp byte [rbp - 0x21], r15b
je 0x14012169d
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.14011c604
test eax, eax
jne 0x140121740
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140119bac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401216df
cmp byte [rbp - 0x21], r15b
je 0x140121714
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140121714
call fcn.14011f6fc
test eax, eax
jne 0x140121700
cmp byte [rbp - 0x21], r15b
je 0x1401216f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140121714
cmp byte [rbp - 0x21], r15b
je 0x140121711
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.14011c604
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140121740
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140121743
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140121751
mov rcx, rdi
call fcn.14011c4d8
cmp byte [rbp + 0x3f], r15b
je 0x140121760
mov rcx, qword [rbp + 0x27]
call fcn.14011c4d8
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 0x140028974
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.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
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.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
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 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
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 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x5a2f80
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x5a2fc2
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x5a2f93
nop
ret
Function at 0x14003b406
Capabilities:
Hide graphical window

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0x88], 0
call fcn.1400c7d90
mov rax, qword [rbp + 0xa0]
mov rcx, rax
call fcn.1400a59c4
mov qword [rbp + 0x80], rax
cmp qword [rbp + 0x80], 0
je 0x14003b634
mov rax, qword [0x14190be18]
cmp qword [rbp + 0xa0], rax
jne 0x14003b542
mov rax, qword [0x14190be20]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.1400a59c4
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0
je 0x14003b4a9
mov rax, qword [0x14190be20]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov edx, 1
mov rcx, rax
call fcn.1400a5ba4
mov qword [rbp + 0x60], rax
jmp 0x14003b4aa
nop
mov rax, qword [0x14190be18]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov edx, 0
mov rcx, rax
call fcn.1400a5ba4
mov qword [rbp + 0x50], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rcx, rax
call fcn.1400a5a70
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov edx, 9
mov rcx, rax
call sub.USER32.dll_ShowWindow
mov qword [rbp + 0x38], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rcx, rax
call fcn.1400a5a70
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sub.USER32.dll_SetForegroundWindow
mov qword [rbp + 0x20], rax
mov rax, qword [0x14190be18]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.1400a5fd8
mov qword [rbp + 0x10], rax
jmp 0x14003b543
nop
mov rax, qword [0x14190be20]
cmp qword [rbp + 0xa0], rax
jne 0x14003b637
mov rax, qword [0x14190be18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rcx, rax
call fcn.1400a59c4
mov qword [rbp], rax
cmp qword [rbp], 0
je 0x14003b59b
mov rax, qword [0x14190be18]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 1
mov rcx, rax
call fcn.1400a5ba4
mov qword [rbp - 0x10], rax
jmp 0x14003b59c
nop
mov rax, qword [0x14190be20]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov edx, 0
mov rcx, rax
call fcn.1400a5ba4
mov qword [rbp - 0x20], rax
mov rax, qword [0x14190be20]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400a5a70
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov edx, 9
mov rcx, rax
call sub.USER32.dll_ShowWindow
mov qword [rbp - 0x38], rax
mov rax, qword [0x14190be20]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.1400a5a70
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sub.USER32.dll_SetForegroundWindow
mov qword [rbp - 0x50], rax
mov rax, qword [0x14190be20]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400a5fd8
mov qword [rbp - 0x60], rax
jmp 0x14003b638
nop
jmp 0x14003b638
nop
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x88]
add rsp, 0x110
pop rbp
ret
Function at 0x14005d8ea
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x18]
cdqe
mov rcx, rax
call fcn.1400c8290
call fcn.1400c7d90
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400c8150
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x10], 0
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e60
mov edx, eax
mov ecx, 0x3e8
call fcn.1400c52f0
call fcn.1400c7e60
mov edx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.1400c8040
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
lea rax, [0x1418f7220]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x78]
lea rdx, [0x14190c738]
mov rcx, rax
call fcn.1400c82e0
call fcn.1400c7e00
call fcn.1400c7e00
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.1400c8220
lea rax, [0x1418f2750]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c8420
call fcn.1400c7e00
lea rax, [0x1418ea190]
mov rcx, rax
call fcn.1400c8220
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c8420
call fcn.1400c7e00
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.1400c8220
lea rax, [0x1418e84a0]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7fb0
mov qword [rbp - 0x28], rax
call fcn.1400c7fb0
mov qword [rbp - 0x30], rax
call fcn.1400c7fb0
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov r9d, reloc.WS2_32.dll_ntohl
mov r8, rcx
mov rcx, rax
call fcn.140094264
mov qword [rbp - 0x40], rax
call fcn.1400c7ed0
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14005db42
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400947e4
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x14005db2f
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14009484c
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
je 0x14005db29
call fcn.1400c7e00
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e60
mov edx, eax
mov rax, qword [rbp - 0x10]
mov r8d, edx
mov edx, SafeArrayPutElement
mov rcx, rax
call fcn.140094884
call fcn.1400c7fb0
mov qword [rbp - 0x58], rax
call fcn.1400c7e60
mov edx, eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.14002182f
mov qword [rbp - 0x60], rax
call fcn.1400c7e60
lea rax, [0x1418fe77c]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7e60
mov edx, eax
lea rax, [rbp - 0x78]
mov rcx, rax
call fcn.1400c8040
jmp 0x14005da67
nop
jmp 0x14005da67
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400948b8
mov qword [rbp - 0x68], rax
jmp 0x14005db43
nop
call fcn.1400c7e00
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7fb0
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret