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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400196ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400196d3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001971c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400364d0]
cmp byte [rcx + rax], 0
je 0x14001971c
dec r8
sub rdx, 1
jne 0x140019702
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001b98c
Capabilities:
Parse pe header

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

Function at 0x1400241bc
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 0x14002422b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002422b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002422b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002422b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002422b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002422b
cmp dword [rcx + 0xf8], 0
je 0x14002422b
mov ecx, ebx
call fcn.1400242d0
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.1400240c4
nop
cmp dword [rbp + 0x20], 0
jne 0x14002428c
call fcn.14002e444
cmp eax, 1
jne 0x14002427c
xor dl, dl
jmp 0x140024286
call fcn.14002e410
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140024297
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400242a0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400241bc

Function at 0x1400243a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400241bc
Function at 0x140026dfc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140026e12
mov al, 1
jmp 0x140026e7e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140026e23
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140026e7c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002e920
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140026e7c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140026e7c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140026e7c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140026e7e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140029004
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 [0x14006e050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140029069
test rax, rax
jne 0x140029057
lea r9, [0x140057610]
lea r8, [0x140057608]
lea rdx, [0x140057610]
lea ecx, [rax + 0xa]
call fcn.140028d24
test rax, rax
je 0x140029069
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140033460
jmp 0x140029083
xor edx, edx
mov rcx, rbp
call fcn.1400292f4
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 0x140029bc4
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.14001b3f0
sub rsp, rax
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140026cdc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140029c13
mov rax, rbp
jmp 0x140029d1f
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 + 0x6a6f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002abcc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6a6f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140029d1b
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 0x140029d1b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002abcc
test rax, rax
js 0x140029d1b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140029d1b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140029d0d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140029d0d
cmp byte [rcx], 0xd
jne 0x140029cf3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140029d02
cmp byte [rcx + 1], 0xa
jne 0x140029d02
inc rcx
jmp 0x140029d02
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x684c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140029cd5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140029d1f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001aac0
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 0x140029eb4
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, [0x14006a6f0]
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 0x140029f0a
cmp word [rdx], r9w
jne 0x140029f0a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x140029f0f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x14002a08e
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x14002a059
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x140029f57
cmp rcx, r8
jae 0x140029f77
cmp word [rcx], r9w
jne 0x140029f57
add rax, 4
mov edx, r9d
jmp 0x140029f5a
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140029f2c
jmp 0x14002a08e
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 0x14002a052
cmp dword [rsp + 0x80], edi
je 0x14002a052
lea r9, [0x14006a6f0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x14002a02c
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140029fdf
mov word [rbx], bp
jmp 0x14002a08b
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 0x140029ffa
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 0x14002a08b
cmp word [rsp + 0x70], bp
jne 0x14002a038
cmp rbx, rsi
je 0x140029fd7
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002abd4
cmp word [rsp + 0x70], bp
je 0x14002a08e
mov word [rbx], 0xd
jmp 0x14002a08b
mov rcx, r15
lea r9, [0x14006a6f0]
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 0x14002a088
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002a08e
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 0x14002e374
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 0x14002e3fb
mov rsi, rbx
cmp word [rax], bp
je 0x14002e3ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002e3a4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002e3a0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002b820
mov rdi, rax
test rax, rax
je 0x14002e3e8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400334b0
mov rbp, rdi
xor ecx, ecx
call fcn.140028670
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 0x140030e18
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140030e8b
cmp word [rcx], si
je 0x140030e8b
lea rdx, [0x140058778]
call fcn.140032bfc
test eax, eax
je 0x140030e8b
lea rdx, [0x140058790]
mov rcx, rbx
call fcn.140032bfc
test eax, eax
jne 0x140030e81
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140030ea8
mov eax, dword [rsp + 0x30]
jmp 0x140030eba
mov rcx, rbx
call fcn.140026bfc
jmp 0x140030eba
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140030eac
xor eax, eax
jmp 0x140030eba
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140030eba
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140030ecc
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.140027380
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140030f6f
cmp edi, dword [rsp + 0x30]
je 0x140030f68
test ebp, ebp
je 0x140030f68
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140030f44
sub dx, 0x61
cmp dx, 0x19
ja 0x140030f50
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140030f31
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140030f54
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140030f71
mov eax, 1
jmp 0x140030f71
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140032e50
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.14002abd4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002abd4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140032f9d
cmp rax, 0xffffffffffffffff
je 0x140032f9d
xor edi, edi
test rbp, rbp
jle 0x140032f4b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400277c0
mov rbx, rax
test rax, rax
jne 0x140032ed8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140032f41
mov edx, 0x8000
mov ecx, r14d
call fcn.140024420
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.14002833c
cmp eax, 0xffffffff
je 0x140032f21
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140032ee8
mov edx, r15d
mov ecx, r14d
call fcn.140024420
jmp 0x140032f41
cmp byte [rsi + 0x38], dil
je 0x140032f38
cmp dword [rsi + 0x34], 5
jne 0x140032f38
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140032f41
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140028670
jmp 0x140032faf
jns 0x140032faf
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002abd4
cmp rax, 0xffffffffffffffff
jne 0x140032f69
cmp byte [rsi + 0x30], dil
je 0x140032faf
jmp 0x140032fa5
mov ecx, r14d
call fcn.14002e920
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140032faf
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 0x140032faf
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140032faa
mov edi, dword [rsi + 0x2c]
jmp 0x140032faf
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002abd4
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 0x1400331e0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rdi, rcx
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x98], ebx
lea r8, str.CTFarmMutex
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003886
xor edx, edx
lea rcx, str.H_SMILE_FRAME
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400039ad
lea edx, [rsi + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400039ad
call fcn.1400037b0
mov rbx, rax
cmp qword [rax], 0
je 0x1400038a5
call fcn.140003280
mov rdx, qword [rax + 0x518]
mov rcx, qword [rbx]
call rdx
mov qword [rbx], rsi
call fcn.140003280
mov rax, qword [rax + 0x508]
mov edx, 0x5945e
lea rcx, [0x1401117e0]
call rax
mov qword [rbx], rax
test rax, rax
je 0x1400039d5
mov ecx, 0xc0
call fcn.1400d26ac
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400038f2
mov rcx, rax
call fcn.140006040
mov rbx, rax
jmp 0x1400038f5
mov rbx, rsi
cmp qword [rbx + 0x28], 0
je 0x140003955
cmp byte [rbx + 0x30], 0
jne 0x140003955
mov byte [rbx + 0x30], 1
lea rax, [rbx + 0x20]
mov r14, rbx
test rax, rax
cmove r14, rsi
mov r15, qword [r14 + 0x28]
call fcn.140003280
mov rax, qword [rax + 0x48]
mov r8, r14
lea rdx, [0x1400033d0]
mov rcx, r15
call rax
mov r14, qword [rbx + 0x28]
call fcn.140003280
mov rax, qword [rax + 0x298]
mov r9d, 0xffff
mov r8, rbx
lea rdx, [0x1400034f0]
mov rcx, r14
call rax
mov r14, qword [rbx + 0x28]
call fcn.140003280
mov rax, qword [rax + 0x38]
lea rdx, str.this:__app_index.htm
mov rcx, r14
call rax
test eax, eax
je 0x1400039f7
mov rcx, rbx
call fcn.14000f090
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140003a19
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, eax
mov dword [rsp + 0x98], eax
jmp 0x1400039ad
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400039c7
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], rsi
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.cant_open_archive
lea rcx, [rsp + 0x20]
call fcn.140002c80
lea rdx, [0x14018f450]
lea rcx, [rsp + 0x20]
call fcn.1400d37f8
lea rdx, str.cant_open_index
lea rcx, [rsp + 0x38]
call fcn.140002c80
lea rdx, [0x14018f450]
lea rcx, [rsp + 0x38]
call fcn.1400d37f8
call fcn.1400ce1f8
int3
Function at 0x140010510
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140191558]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x20
mov rbx, rcx
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
xorps xmm0, xmm0
lea rcx, [0x14016c260]
movups xmmword [rbx], xmm0
test eax, eax
mov qword [rbx + 0x10], 0
lea rdx, [rsp + 0x30]
mov qword [rbx + 0x18], 0
cmove rdx, rcx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010581
mov rcx, rbx
call fcn.140004580
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d2c70
add rsp, 0x60
pop rbx
ret

Function at 0x140010860
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140191558]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call fcn.140003280
mov rdx, qword [rax + 0x408]
mov rcx, rsi
call rdx
mov dword [rsp + 0x20], 1
mov edi, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400108ed
mov rbx, qword [rsp + 0x50]
shr rbx, 0x14
mov rdi, qword [rsp + 0x48]
shr rdi, 0x14
call fcn.140003280
mov r8, qword [rax + 0x408]
lea rcx, [rsp + 0x30]
call r8
call fcn.140003280
mov r10, qword [rax + 0x450]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, ebx
lea rcx, [rsp + 0x30]
call r10
nop
lea r8, [rsp + 0x30]
lea rdx, str.free
mov rcx, rsi
call fcn.14000eca0
nop
call fcn.140003280
mov r9, qword [rax + 0x410]
lea rcx, [rsp + 0x30]
call r9
nop
call fcn.140003280
mov r9, qword [rax + 0x408]
lea rcx, [rsp + 0x30]
call r9
call fcn.140003280
mov r10, qword [rax + 0x450]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rsp + 0x30]
call r10
nop
lea r8, [rsp + 0x30]
lea rdx, str.total
mov rcx, rsi
call fcn.14000eca0
nop
call fcn.140003280
mov rdx, qword [rax + 0x410]
lea rcx, [rsp + 0x30]
call rdx
nop
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d2c70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400109d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140191558]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1400d4e70
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x103
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareCryptotabCTFarm
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010a69
lea rax, [rsp + 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareCryptotabCTFarm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010ab3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x3c], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.TrackID
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140010aa8
mov word [rsp + 0x50], di
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140010ad0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140004580
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400d2c70
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret

Function at 0x140010b10
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140191558]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x202
call fcn.1400d4e70
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x202
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
lea rcx, [0x14016c260]
movups xmmword [rbx], xmm0
test eax, eax
mov qword [rbx + 0x10], 0
lea rdx, [rsp + 0x30]
mov qword [rbx + 0x18], 0
cmove rdx, rcx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010b90
mov rcx, rbx
call fcn.140004580
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400d2c70
add rsp, 0x250
pop rbx
ret
Function at 0x140093a00
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
pshufd xmm0, xmmword [rdx], 0x55
lea rdi, [0x14016dfb0]
mov r11, rcx
movd eax, xmm0
pshufd xmm0, xmmword [rdx], 0xff
mov rbx, rdx
mov r9d, eax
movdqu xmm5, xmmword [r11]
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
xorps xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
ror eax, 8
or r8d, ecx
xor eax, 2
mov ecx, r8d
ror ecx, 8
xor ecx, 2
movd xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
xorps xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
xorps xmm0, xmm5
pshufd xmm1, xmm3, 0xff
xorps xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r9d, eax
movdqu xmm5, xmmword [rbx]
mov eax, edx
shr rax, 8
movzx ecx, al
pshufd xmm0, xmm1, 0xff
shl r9d, 8
pslldq xmm5, 4
movzx eax, byte [rcx + rdi]
movdqa xmm4, xmm5
xorps xmm4, xmmword [rbx]
or r9d, eax
movzx eax, dl
shl r9d, 8
pslldq xmm5, 4
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov rdi, qword [rsp + 0x10]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror ecx, 8
ror eax, 8
movd xmm2, r8d
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
xorps xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
xorps xmm0, xmm5
xorps xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 8]
ret