joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047770
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x180099380]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18009bf40]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800477b5
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800477eb
mov eax, 0xa
jmp 0x18004787a
test esi, esi
je 0x18004780d
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004782e
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004782e
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180047828
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004782e
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004b080
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1800478dc
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180099380]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r13d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r12d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180047a95
lea r14d, [rbx + 0x1c]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r14d
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180047a1c
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x1800479db
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800479db
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800479db
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18004799d
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18009a718]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180047a00
jmp 0x1800479ce
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x1800479ce
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x18009a718]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180047a00
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r14d
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18004794b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180047a1c
mov esi, ebx
cmp qword [rdi], rbx
je 0x180047a1c
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18009a718]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x180047a95
cmp qword [rdi], rbx
je 0x180047a9a
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180047a9a
mov r8, qword [rdi]
xor edx, edx
mov r15d, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + r15*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
mov r14d, ebx
test rax, rax
je 0x180047a85
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180047a77
mov r8d, r12d
mov edx, r13d
mov rcx, rbp
mov r14d, 1
call fcn.180047e38
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x180047a8c
mov rax, qword [rdi]
mov dword [rax + r15*4], ebx
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x180047a35
jmp 0x180047a9a
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004b080
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180047fd4
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004803d
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004802b
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x180048024
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180048024
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180047ff3
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18009a718]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800483b8
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9, rcx
test r8b, r8b
je 0x1800483cf
cmp r8b, 0x90
je 0x1800483cf
cmp r8b, 0xcc
jne 0x1800483f0
mov r10d, 1
mov ecx, r10d
cmp edx, r10d
jbe 0x1800483ec
mov eax, ecx
cmp byte [rax + r9], r8b
jne 0x1800483f0
add ecx, r10d
cmp ecx, edx
jb 0x1800483dd
mov eax, r10d
ret
xor eax, eax
ret

Function at 0x18004a6d8
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18004a706
xor eax, eax
jmp 0x18004a7ec
cmp qword [rcx + 0x68], 0
je 0x18004a717
call fcn.18004a808
jmp 0x18004a7ec
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18004a72e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004a730
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004a762
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180074630
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18004a7e6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18004a799
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18004a7c2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180051a20
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18004a7e6
cmp rsi, rbx
ja 0x18004a7a0
test rsi, rsi
je 0x18004a7e6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180051a20
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180052248
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.18004b8c0
sub rsp, rax
mov rax, qword [0x180099380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800626e0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180052297
mov rax, rbp
jmp 0x1800523a3
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x9b970]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18006653c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x9b970]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18005239f
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 0x18005239f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18006653c
test rax, rax
js 0x18005239f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18005239f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180052391
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180052391
cmp byte [rcx], 0xd
jne 0x180052377
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180052386
cmp byte [rcx + 1], 0xa
jne 0x180052386
inc rcx
jmp 0x180052386
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x997c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180052359
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800523a3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18004b080
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 0x18005f61c
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 0x18005f68b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18005f68b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18005f68b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18005f68b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18005f68b
cmp dword [rcx + 0x84], 0xe
jbe 0x18005f68b
cmp dword [rcx + 0xf8], 0
je 0x18005f68b
mov ecx, ebx
call fcn.18005f730
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.18005f524
nop
cmp dword [rbp + 0x20], 0
jne 0x18005f6ec
call fcn.18006b494
cmp eax, 1
jne 0x18005f6dc
xor dl, dl
jmp 0x18005f6e6
call fcn.18006b460
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18005f6f7
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18005f700
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18005f61c

Function at 0x18006153c
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 [0x1800a1050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800615a1
test rax, rax
jne 0x18006158f
lea r9, str.GetLocaleInfoEx
lea r8, [0x1800850c8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.180061210
test rax, rax
je 0x1800615a1
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.180074550
jmp 0x1800615bb
xor edx, edx
mov rcx, rbp
call fcn.18006182c
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 0x1800656b8
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, [0x18009b970]
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 0x18006570e
cmp word [rdx], r9w
jne 0x18006570e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x180065713
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x180065892
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x18006585d
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x18006575b
cmp rcx, r8
jae 0x18006577b
cmp word [rcx], r9w
jne 0x18006575b
add rax, 4
mov edx, r9d
jmp 0x18006575e
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x180065730
jmp 0x180065892
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 0x180065856
cmp dword [rsp + 0x80], edi
je 0x180065856
lea r9, [0x18009b970]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x180065830
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x1800657e3
mov word [rbx], bp
jmp 0x18006588f
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 0x1800657fe
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 0x18006588f
cmp word [rsp + 0x70], bp
jne 0x18006583c
cmp rbx, rsi
je 0x1800657db
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180066544
cmp word [rsp + 0x70], bp
je 0x180065892
mov word [rbx], 0xd
jmp 0x18006588f
mov rcx, r15
lea r9, [0x18009b970]
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 0x18006588c
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180065892
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 0x1800666e0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800666f6
mov al, 1
jmp 0x180066762
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180066707
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180066760
mov ecx, dword [rcx + 0x18]
nop
call fcn.18006d498
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180066760
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 0x180066760
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180066760
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180066762
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18006cacc
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 0x18006cafc
xor eax, eax
jmp 0x18006cbbf
mov rbp, rbx
cmp word [rax], si
je 0x18006cb21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006cb08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006cb04
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.18006b330
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18006cb62
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006caf5
call fcn.180066990
mov rdi, rax
test rax, rax
jne 0x18006cb78
xor ecx, ecx
call fcn.180061110
jmp 0x18006cb57
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.18006b330
test eax, eax
jne 0x18006cba9
mov rcx, rdi
call fcn.180061110
jmp 0x18006cbb3
xor ecx, ecx
call fcn.180061110
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 0x180070a98
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 0x180070b0b
cmp word [rcx], si
je 0x180070b0b
lea rdx, [0x18008c520]
call fcn.18007348c
test eax, eax
je 0x180070b0b
lea rdx, [0x18008c538]
mov rcx, rbx
call fcn.18007348c
test eax, eax
jne 0x180070b01
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 0x180070b28
mov eax, dword [rsp + 0x30]
jmp 0x180070b3a
mov rcx, rbx
call fcn.180060fa8
jmp 0x180070b3a
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 0x180070b2c
xor eax, eax
jmp 0x180070b3a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x180070b3a
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 0x180070b4c
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.180062e2c
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 0x180070bef
cmp edi, dword [rsp + 0x30]
je 0x180070be8
test ebp, ebp
je 0x180070be8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x180070bc4
sub dx, 0x61
cmp dx, 0x19
ja 0x180070bd0
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x180070bb1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x180070bd4
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x180070bf1
mov eax, 1
jmp 0x180070bf1
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 0x18007319c
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.180066544
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180066544
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800732e9
cmp rax, 0xffffffffffffffff
je 0x1800732e9
xor edi, edi
test rbp, rbp
jle 0x180073297
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180061090
mov rbx, rax
test rax, rax
jne 0x180073224
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18007328d
mov edx, 0x8000
mov ecx, r14d
call fcn.180073020
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.180065388
cmp eax, 0xffffffff
je 0x18007326d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180073234
mov edx, r15d
mov ecx, r14d
call fcn.180073020
jmp 0x18007328d
cmp byte [rsi + 0x38], dil
je 0x180073284
cmp dword [rsi + 0x34], 5
jne 0x180073284
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18007328d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180061110
jmp 0x1800732fb
jns 0x1800732fb
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180066544
cmp rax, 0xffffffffffffffff
jne 0x1800732b5
cmp byte [rsi + 0x30], dil
je 0x1800732fb
jmp 0x1800732f1
mov ecx, r14d
call fcn.18006d498
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800732fb
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 0x1800732fb
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800732f6
mov edi, dword [rsi + 0x2c]
jmp 0x1800732fb
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180066544
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 0x1800741a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rdx
xor esi, esi
lea rdx, [0x7ff7f4eab8c4]
mov r15d, esi
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.7ff7f4e845c0
mov r12, rax
test rax, rax
jne 0x7ff7f4e810a9
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.7ff7f4e82710
jmp 0x7ff7f4e811ca
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r12
call fcn.7ff7f4e906d4
test eax, eax
jns 0x7ff7f4e810e6
call fcn.7ff7f4e94f08
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.7ff7f4e82910
jmp 0x7ff7f4e811ac
mov ecx, dword [r14 + 0xc]
call fcn.7ff7f4e94f44
mov r15, rax
test rax, rax
jne 0x7ff7f4e81122
mov ebx, dword [r14 + 0xc]
call fcn.7ff7f4e94f08
lea r9, [r14 + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.7ff7f4e82910
jmp 0x7ff7f4e811ac
cmp byte [r14 + 0x10], 1
jne 0x7ff7f4e8113c
mov r9, r15
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.7ff7f4e81210
jmp 0x7ff7f4e8119d
mov ebx, dword [r14 + 0xc]
mov qword [rsp + 0x60], rbp
mov rbp, r15
test rbx, rbx
je 0x7ff7f4e81191
mov eax, 0x2000
nop dword [rax]
nop word [rax + rax]
cmp rbx, rax
mov rdi, rbx
mov r9, r12
mov r8d, 1
cmova rdi, rax
mov rcx, rbp
mov rdx, rdi
call fcn.7ff7f4e9039c
cmp rax, 1
jb 0x7ff7f4e811ed
add rbp, rdi
mov eax, 0x2000
sub rbx, rdi
jne 0x7ff7f4e81160
mov eax, esi
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
test eax, eax
je 0x7ff7f4e811ac
mov rcx, r15
call fcn.7ff7f4e94f30
mov r15, rsi
mov rcx, r12
call fcn.7ff7f4e9004c
mov rsi, r15
test r15, r15
je 0x7ff7f4e811ca
mov rdx, rdi
mov rcx, r15
call fcn.7ff7f4e846f0
mov r13d, eax
mov rcx, rsi
call fcn.7ff7f4e94f30
mov rbx, qword [rsp + 0x68]
mov eax, r13d
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.7ff7f4e94f08
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.7ff7f4e82910
mov eax, r13d
jmp 0x7ff7f4e81193