joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bd98
Capabilities:
Parse pe header

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

Function at 0x14000c6d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140014fc0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000c70c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.14000bd90
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call fcn.14000d9d0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000c7c8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000c82e
test ebx, ebx
jne 0x14000c82e
lea ecx, [rax + 2]
call fcn.14000bd90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14000b560
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14000c970
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c9cc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c9cc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c9cc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c9cc
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c9cc
cmp dword [rcx + 0xf8], 0
je 0x14000c9cc
mov ecx, ebx
call fcn.14000cbe0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140017c58]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000cd60
cmp dword [rsp + 0x60], 0
jne 0x14000ca0f
mov ecx, ebx
call fcn.14000cc60
int3
add rsp, 0x40
pop rbx
ret

Function at 0x14000ca20
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ca82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ca82
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000ca82
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000ca82
cmp dword [rdx + 0x84], 0xe
jbe 0x14000ca82
cmp dword [rdx + 0xf8], 0
je 0x14000ca82
mov ecx, ebx
call fcn.14000cbe0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140017c58]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000cd60
cmp dword [rsp + 0x60], 0
jne 0x14000cac5
mov ecx, ebx
call fcn.14000cc60
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140001020
Capabilities:
Get system firmware table

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ecx, 0x1000
xor esi, esi
call fcn.140005d10
mov rbx, rax
test rax, rax
je 0x1400011ea
mov qword [rsp + 0x50], rdi
mov ecx, 0x1000
mov rdi, rax
mov qword [rsp + 0x20], r15
xor eax, eax
mov r9d, 0x1000
rep stosb byte [rdi], al
mov ecx, 0x52534d42
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov r15d, eax
test eax, eax
jne 0x14000107f
mov rcx, rbx
call fcn.140005cfc
jmp 0x1400011e0
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], r14
cmp r15d, 0x1000
jbe 0x1400010d1
mov rdx, r15
mov rcx, rbx
call fcn.140005cf4
mov rbp, rax
test rax, rax
je 0x1400010d1
mov rbx, rax
mov rdi, rax
xor eax, eax
mov rcx, r15
rep stosb byte [rdi], al
mov ecx, 0x52534d42
mov r9d, r15d
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x1400010d1
mov rcx, rbx
jmp 0x1400011d1
mov dword [rsp + 0x40], 0x7a626a7e
mov edi, esi
mov byte [rsp + 0x44], sil
mov ebp, edi
inc edi
cmp byte [rsp + rdi + 0x40], sil
jne 0x1400010e0
lea ecx, [rdi + 1]
call fcn.140001520
mov r14, rax
mov edx, esi
test edi, edi
je 0x14000112f
lea r9, [rsp + 0x40]
mov r8, rax
sub r9, rax
nop word [rax + rax]
movzx ecx, byte [r9 + r8]
xor cl, 0xf
mov byte [r8], cl
cmp edx, ebp
lea ecx, [rdx + 1]
mov edx, ecx
jne 0x140001128
mov byte [rcx + rax], sil
inc r8
cmp edx, edi
jb 0x140001110
mov dword [rsp + 0x40], 0x5a424a5e
mov edi, esi
mov byte [rsp + 0x44], sil
nop
mov ebp, edi
inc edi
cmp byte [rsp + rdi + 0x40], sil
jne 0x140001140
lea ecx, [rdi + 1]
call fcn.140001520
mov r9, rax
mov edx, esi
test edi, edi
je 0x14000118f
lea r10, [rsp + 0x40]
mov r8, rax
sub r10, rax
nop word [rax + rax]
movzx ecx, byte [r10 + r8]
xor cl, 0xf
mov byte [r8], cl
cmp edx, ebp
lea ecx, [rdx + 1]
mov edx, ecx
jne 0x140001188
mov byte [rcx + rax], sil
inc r8
cmp edx, edi
jb 0x140001170
mov rdx, r15
mov rcx, rsi
add rdx, 0xfffffffffffffffc
je 0x1400011ce
nop dword [rax + rax]
mov eax, dword [rcx + rbx]
cmp eax, dword [r14]
je 0x1400011c9
inc rcx
cmp rcx, rdx
jb 0x1400011a0
mov rcx, rsi
lea rdx, [r15 - 4]
mov eax, dword [rcx + rbx]
cmp eax, dword [r9]
je 0x1400011c9
inc rcx
cmp rcx, rdx
jb 0x1400011b7
jmp 0x1400011ce
mov esi, 1
mov rcx, rbx
call fcn.140005cfc
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov eax, esi
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x140001e40
Capabilities:
Parse pe header

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

Function at 0x140005ce8
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 0x140005b53
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005b53
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005b53
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005b53
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005b53
cmp dword [rcx + 0x84], 0xe
jbe 0x140005b53
cmp dword [rcx + 0xf8], 0
je 0x140005b53
mov ecx, ebx
call fcn.140005c04
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.1400059e0
nop
cmp dword [rbp + 0x20], 0
je 0x140005ba1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005bac
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005ae4
Function at 0x1400092a8
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 0x14000932f
mov rsi, rbx
cmp word [rax], bp
je 0x1400092ee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400092d8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400092d4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140007200
mov rdi, rax
test rax, rax
je 0x14000931c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000e820
mov rbp, rdi
xor ecx, ecx
call fcn.1400071c4
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 0x14000e210
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e238
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e238
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140852058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408521df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140852089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14085206f
add dl, dl
jne 0x140852096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408520f6
xor eax, eax
add dl, dl
jne 0x1408520a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408521ad
add dl, dl
jne 0x1408520b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408520c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408520d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408520dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408520ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14085207e
mov eax, 1
add dl, dl
jne 0x140852106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140852113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408520fb
sub eax, ebx
mov ebx, 1
jne 0x14085214c
mov ecx, 1
add dl, dl
jne 0x14085212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14085213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140852123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140852168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140852175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14085215d
cmp eax, 0x7d00
jae 0x14085219b
cmp eax, 0x500
jb 0x140852196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085207e
cmp eax, 0x7f
ja 0x14085219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408521d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14085207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140a2b0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a2b237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a2b0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b0c7
add dl, dl
jne 0x140a2b0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b14e
xor eax, eax
add dl, dl
jne 0x140a2b0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b205
add dl, dl
jne 0x140a2b10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a2b142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a2b0d6
mov eax, 1
add dl, dl
jne 0x140a2b15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b153
sub eax, ebx
mov ebx, 1
jne 0x140a2b1a4
mov ecx, 1
add dl, dl
jne 0x140a2b186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a2b193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a2b1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a2b1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b1b5
cmp eax, 0x7d00
jae 0x140a2b1f3
cmp eax, 0x500
jb 0x140a2b1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
cmp eax, 0x7f
ja 0x140a2b1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a2b22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a2b0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002984
Capabilities:
Parse pe header

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

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

Function at 0x14000754c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400072ec
Function at 0x140012fb4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140009390
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140013055
cmp ebx, dword [rsp + 0x30]
je 0x14001304e
test esi, esi
je 0x14001304e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140013029
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140013036
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140013013
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001303a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140013057
mov eax, 1
jmp 0x140013057
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400142ec
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 0x14001431c
xor eax, eax
jmp 0x1400143df
mov rbp, rbx
cmp word [rax], si
je 0x140014341
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140014328
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140014324
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.1400145e4
movsxd r14, eax
test eax, eax
jne 0x14001437f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140014315
mov rcx, r14
call fcn.140009e14
mov rdi, rax
test rax, rax
jne 0x140014398
xor ecx, ecx
call fcn.140008144
jmp 0x140014374
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.1400145e4
test eax, eax
jne 0x1400143c9
mov rcx, rdi
call fcn.140008144
jmp 0x1400143d3
xor ecx, ecx
call fcn.140008144
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 0x1400143fc
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 0x140014483
mov rsi, rbx
cmp word [rax], bp
je 0x140014442
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001442c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140014428
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009e14
mov rdi, rax
test rax, rax
je 0x140014470
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400226d0
mov rbp, rdi
xor ecx, ecx
call fcn.140008144
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 0x14001c628
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.14000d338
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001c6b2
cmp byte [rbp - 0x21], r15b
je 0x14001c6ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001c6e8
call fcn.14000b0b4
test eax, eax
jne 0x14001c6d4
cmp byte [rbp - 0x21], r15b
je 0x14001c6cc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001c6e8
cmp byte [rbp - 0x21], r15b
je 0x14001c6e5
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.14000e3d8
test eax, eax
jne 0x14001c788
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d338
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001c727
cmp byte [rbp - 0x21], r15b
je 0x14001c75c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001c75c
call fcn.14000b0b4
test eax, eax
jne 0x14001c748
cmp byte [rbp - 0x21], r15b
je 0x14001c741
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001c75c
cmp byte [rbp - 0x21], r15b
je 0x14001c759
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.14000e3d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001c788
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001c78b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001c799
mov rcx, rdi
call fcn.140008144
cmp byte [rbp + 0x3f], r15b
je 0x14001c7a8
mov rcx, qword [rbp + 0x27]
call fcn.140008144
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 0x14001ed40
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
lea r9, [0x14007f6b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001ed97
cmp word [rdx], r13w
jne 0x14001ed97
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001ed9c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001eec1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001eee2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001edd5
mov rdx, r9
mov word [rbx], cx
jmp 0x14001edfc
cmp r9, r8
jae 0x14001ee0c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001edb6
jmp 0x14001eec1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001eeb6
cmp dword [rsp + 0x80], esi
je 0x14001eeb6
lea r8, [0x14007f6b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001ee8e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001ee5e
mov word [rbx], r13w
jmp 0x14001eebe
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001ee6b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001eebe
cmp word [rsp + 0x70], r13w
jne 0x14001ee9b
cmp rbx, r14
je 0x14001ee58
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400202d4
cmp word [rsp + 0x70], r13w
je 0x14001eec1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x14007f6b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001eebb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001eec1