joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a60c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a60cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a60dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a60c5
lea eax, [rcx + 1]
jmp 0x1400a60eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a60fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a60e4
sub eax, 3
jb 0x1400a611e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a616d
sar eax, 1
movsxd rbp, eax
jb 0x1400a6154
jmp 0x1400a612c
add ebx, ebx
jne 0x1400a612a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a6154
inc ecx
add ebx, ebx
jne 0x1400a613a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a6154
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a614d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a613c
add ecx, 2
jmp 0x1400a6159
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a6082
jmp 0x1400a60cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa400
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a61b9
cmp rsi, rcx
jae 0x1400a61c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a61a0
cmp al, 0x8f
ja 0x1400a61a0
cmp byte [rsi - 2], 0xf
je 0x1400a61a6
sub al, 0xe8
cmp al, 1
ja 0x1400a618a
cmp rsi, rcx
jae 0x1400a61c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a6190
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a61c1
lodsb al, byte [rsi]
jmp 0x1400a61a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa4000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a621e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1301c4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400a61ce
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400a6218
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a61ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400a6258
cmp al, 0xef
ja 0x1400a624a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a622a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a6239
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a62ac
sub rsp, 0xffffffffffffff80
jmp 0x140001260
Function at 0x1410a4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410a41df
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 0x1410a4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410a406f
add dl, dl
jne 0x1410a4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410a40f6
xor eax, eax
add dl, dl
jne 0x1410a40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410a41ad
add dl, dl
jne 0x1410a40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410a40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410a40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410a40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410a40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1410a407e
mov eax, 1
add dl, dl
jne 0x1410a4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410a4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410a40fb
sub eax, ebx
mov ebx, 1
jne 0x1410a414c
mov ecx, 1
add dl, dl
jne 0x1410a412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410a413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410a4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410a407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1410a4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410a4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410a415d
cmp eax, 0x7d00
jae 0x1410a419b
cmp eax, 0x500
jb 0x1410a4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410a407e
cmp eax, 0x7f
ja 0x1410a419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410a407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410a41d2
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 0x1410a407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002290
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
cmp edx, 1
jne 0x18000241c
mov qword [rsp + 0x30], rbx
lea rcx, str.ntdll.dll
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, rax
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x18000233e
movsxd rcx, dword [r10 + 0x3c]
add rcx, r10
cmp dword [rcx], 0x4550
jne 0x18000233e
movzx ebx, word [rcx + 0x14]
xor edx, edx
movzx r11d, word [rcx + 6]
add rbx, rcx
test r11d, r11d
je 0x18000233e
lea rdi, str..text
movsxd rax, edx
lea rcx, [rax + rax*4]
xor eax, eax
lea r9, [rcx*8]
lea r8, [r9 + rbx]
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [r8 + rax + 0x17]
jne 0x180002337
cmp rax, 6
jne 0x180002310
mov eax, dword [rbx + r9 + 0x20]
mov ebx, dword [rbx + r9 + 0x24]
add rbx, r10
mov dword [rsp + 0x38], eax
jmp 0x180002340
inc edx
cmp edx, r11d
jl 0x1800022f5
xor ebx, ebx
mov esi, dword [rsp + 0x38]
lea rdx, [0x180033cac]
add rsi, rbx
mov r9d, 7
mov r8, rsi
mov rcx, rbx
call fcn.180001dc0
test rax, rax
je 0x180002384
mov edx, dword [rax + 0x15]
mov dword [rdx + rax + 0x1a], 0
mov edx, 0xefff
mov rax, qword gs:[0x30]
and word [rax + 0x17ee], dx
mov rbp, qword gs:[0x60]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x180002403
lea rdx, str.RtlLeaveCriticalSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x110]
call rax
lea rdx, str.LdrFastFailInLoaderCallout
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800023db
mov edx, dword [rax + 0x18]
mov dword [rdx + rax + 0x1d], 2
mov r9d, 0xa
lea rdx, [0x180033ca0]
mov r8, rsi
mov rcx, rbx
call fcn.180001dc0
test rax, rax
je 0x180002403
mov ecx, dword [rax + 5]
mov dword [rcx + rax + 9], 2
call fcn.180001ea0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x28
ret
Function at 0x1800028b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1800028e1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18000295b
mov rdi, r14
mov rcx, rbx
call fcn.180003e10
test rax, rax
jle 0x180002933
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1800217c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000294b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180002953
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1800028f5
sub r14, rdi
jmp 0x180002a3f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180002972
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180002974
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800029a6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1800217c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180002a3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800029e1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180002a1d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.18000e5a0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180002a3c
cmp rbp, rax
ja 0x1800029f0
test rbp, rbp
je 0x180002a3c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.18000e5a0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180011e9c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180011eb2
mov al, 1
jmp 0x180011f12
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180011ec3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180011f10
mov ecx, dword [rcx + 0x18]
nop
call fcn.18001b738
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180011f10
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180011f10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180011f10
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180011f12
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800164c0
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.180006d00
sub rsp, rax
mov rax, qword [0x180033080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180011d7c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18001650f
mov rax, rbp
jmp 0x180016617
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 + 0x352d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18001740c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x352d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180016613
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180016613
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18001740c
test rax, rax
js 0x180016613
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180016613
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180016605
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180016605
cmp byte [rcx], 0xd
jne 0x1800165eb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800165fa
cmp byte [rcx + 1], 0xa
jne 0x1800165fa
inc rcx
jmp 0x1800165fa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x334a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800165cd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180016617
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180006cd0
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 0x1800167ac
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, [0x1800352d0]
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 0x180016803
cmp word [rdx], r13w
jne 0x180016803
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180016808
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18001692d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18001694e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180016841
mov rdx, r9
mov word [rbx], cx
jmp 0x180016868
cmp r9, r8
jae 0x180016878
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 0x180016822
jmp 0x18001692d
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 0x180016922
cmp dword [rsp + 0x80], esi
je 0x180016922
lea r8, [0x1800352d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800168fa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800168ca
mov word [rbx], r13w
jmp 0x18001692a
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 0x1800168d7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18001692a
cmp word [rsp + 0x70], r13w
jne 0x180016907
cmp rbx, r14
je 0x1800168c4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180017414
cmp word [rsp + 0x70], r13w
je 0x18001692d
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, [0x1800352d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180016927
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18001692d
Function at 0x18001af7c
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 0x18001afac
xor eax, eax
jmp 0x18001b06f
mov rbp, rbx
cmp word [rax], si
je 0x18001afd1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001afb8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001afb4
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.180019664
movsxd r14, eax
test eax, eax
jne 0x18001b00f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001afa5
mov rcx, r14
call fcn.1800174b8
mov rdi, rax
test rax, rax
jne 0x18001b028
xor ecx, ecx
call fcn.180014fdc
jmp 0x18001b004
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.180019664
test eax, eax
jne 0x18001b059
mov rcx, rdi
call fcn.180014fdc
jmp 0x18001b063
xor ecx, ecx
call fcn.180014fdc
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 0x18001dde4
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.1800123a0
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 0x18001de85
cmp ebx, dword [rsp + 0x30]
je 0x18001de7e
test esi, esi
je 0x18001de7e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18001de59
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18001de66
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18001de43
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18001de6a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18001de87
mov eax, 1
jmp 0x18001de87
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800208f4
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.180017414
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180017414
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180020a44
cmp rax, 0xffffffffffffffff
je 0x180020a44
xor edi, edi
test rbp, rbp
jle 0x1800209ef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800155c8
mov rbx, rax
test rax, rax
jne 0x18002097c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800209e5
mov edx, 0x8000
mov ecx, r14d
call fcn.180020778
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.180014cd4
cmp eax, 0xffffffff
je 0x1800209c5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18002098c
mov edx, r15d
mov ecx, r14d
call fcn.180020778
jmp 0x1800209e5
cmp byte [rsi + 0x38], dil
je 0x1800209dc
cmp dword [rsi + 0x34], 5
jne 0x1800209dc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800209e5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180014fdc
jmp 0x180020a58
jns 0x180020a58
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180017414
cmp rax, 0xffffffffffffffff
jne 0x180020a10
cmp byte [rsi + 0x30], dil
je 0x180020a58
mov edi, dword [rsi + 0x2c]
jmp 0x180020a58
mov ecx, r14d
call fcn.18001b738
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180020a58
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 0x180020a58
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180020a51
mov eax, dword [rsi + 0x2c]
jmp 0x180020a56
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180017414
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 0x180021520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180021548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180021548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400134c8
Capabilities:
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140049170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400495f8]
xor ecx, ecx
jmp 0x1400134f8
cmp rax, rbx
je 0x1400134ff
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400134ed
jmp 0x14001354c
mov rax, qword [rax]
test rcx, rcx
je 0x14001350c
mov qword [rcx], rax
jmp 0x14001354c
mov qword [0x1400495f8], rax
jmp 0x14001354c
mov rax, qword [rbx + 0x38]
cmp qword [rax + reloc.MFC42.dll_Ordinal_1544], 0
je 0x140013540
mov byte [rax + reloc.MFC42.dll_Ordinal_1324], 1
mov rcx, qword [rbx + 0x38]
mov edx, 0xdead
mov rcx, qword [rcx + reloc.MFC42.dll_Ordinal_1544]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdx, qword [rbx + 0x38]
mov rcx, rbx
call fcn.14001384c
cmp qword [rbx + 0x38], 0
jne 0x140013515
cmp qword [rbx + 0x28], 0
je 0x14001359a
mov rdi, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rdi + 0x60]
je 0x14001358e
mov rcx, qword [rdi + 0x58]
mov edx, 0xdead
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140013595
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
jmp 0x140013595
mov dword [rdi + 0x50], 1
and qword [rbx + 0x28], 0
cmp qword [0x1400495f8], 0
jne 0x1400135c1
mov rcx, qword [0x1400495f0]
test rcx, rcx
je 0x1400135c1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x113
call qword [sym.imp.USER32.dll_PostMessageA]
lea rcx, [0x140049170]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call qword [sym.imp.MFC42.dll_CListCtrl::SetColumnOrderArray]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013930
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rbx, rcx
mov ecx, 3
call qword [sym.imp.USER32.dll_SetDebugErrorLevel]
mov edi, 0x68
lea rcx, [rbp - 0x19]
mov r8d, edi
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, qword [rbx + 0x18]
lea eax, [rdi - 0x67]
mov dword [rbp + 0x23], eax
mov word [rbp + 0x27], ax
xor eax, eax
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
test rdx, rdx
je 0x140013998
cmp byte [rdx], al
jne 0x14001399a
xor edx, edx
mov eax, dword [rbx + 0xc]
and eax, 0x2000
neg eax
lea rax, [rbp - 0x39]
sbb ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
and qword [rsp + 0x30], 0
mov rdx, qword [rbx + 0x10]
add ecx, 2
xor r9d, r9d
or ecx, 0x4000220
xor r8d, r8d
mov dword [rsp + 0x28], ecx
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbx + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x20]
mov dword [rbx + 0x34], eax
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x30], 0
je 0x140013b15
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x38]
mov eax, dword [rbp - 0x29]
mov dword [rcx + Ordinal_1544], eax
lea rcx, [rbx + 0x40]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x140013ae2
mov dword [rbx + 0xf0], 0x10002
cmp byte [0x14004938c], 0
je 0x140013a5a
mov rcx, rbx
call fcn.140013b3c
jmp 0x140013ac3
mov rdi, qword [0x140049610]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x140049210]
jne 0x140013a77
mov rcx, rbx
call fcn.140013b3c
lea rsi, [rdi + 0x348]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rdi, rdi
je 0x140013aba
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x140013aba
lea r8, [0x1400133d8]
mov r9, rbx
mov edx, 0x8d2
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [rdi + 0x370]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, dword [rbx + 0xf0]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rbx + 0x44]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
cmp qword [rbx + 0x38], 0
je 0x140013aea
jmp 0x140013a28
bts dword [0x140049618], 0x14
cmp byte [0x14004938c], 0
jne 0x140013b15
lea rcx, [0x140049170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.1400134c8
lea rcx, [0x140049170]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r11, [rsp + 0xe0]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret