joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ac6
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140022860
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400221b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400228a9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140112020]
jmp 0x1400228b8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140003b57
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400af870
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.14000213a
lea rcx, [rsp + 0x40]
call fcn.14000213a
call fcn.140002860
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.140001f8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400af8df
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.1400023ce
lea rcx, [rsp + 0x70]
call fcn.1400023ce
mov eax, dword [rsp + 0x24]
jmp 0x1400af96c
call fcn.140002860
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.140001f8c
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400af926
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.1400023ce
lea rcx, [rsp + 0x70]
call fcn.1400023ce
mov eax, dword [rsp + 0x2c]
jmp 0x1400af96c
lea rcx, [rsp + 0x40]
call fcn.1400020c7
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.1400020c7
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400023ce
lea rcx, [rsp + 0x70]
call fcn.1400023ce
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret
Function at 0x1400227f0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400227f0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022170
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002282f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140112020]
jmp 0x140022839
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400766a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14010ce70
mov rax, rcx
neg rcx
test rax, 7
je 0x14010ce8d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14010cee8
test al, 7
jne 0x14010ce80
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14010cea1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14010cf12
test dh, dh
je 0x14010cf0c
shr rdx, 0x10
test dl, dl
je 0x14010cf06
test dh, dh
je 0x14010cf00
shr rdx, 0x10
test dl, dl
je 0x14010cefa
test dh, dh
je 0x14010cef4
shr edx, 0x10
test dl, dl
je 0x14010ceee
test dh, dh
jne 0x14010cea1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140076a0e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400978a0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140097220
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400978df
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x1400978e9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140076b62
Capabilities:
Query environment variable

Disassembly:
jmp 0x14012f110
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14012ef40
lea rcx, [rsp + 0x40]
call fcn.14012f0c0
movzx eax, al
test eax, eax
jne 0x14012f158
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14012ef70
mov rax, qword [rsp + 0x70]
jmp 0x14012f329
lea rcx, [rsp + 0x40]
call fcn.14012f090
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14012f030
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14012f090
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140077607
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14012f1fe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14012ef70
mov rax, qword [rsp + 0x80]
jmp 0x14012f329
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140076900
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400767c5
lea rcx, [rsp + 0x48]
call fcn.140076464
movzx eax, al
test eax, eax
jne 0x14012f265
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012ef70
mov rax, qword [rsp + 0x88]
jmp 0x14012f329
lea rcx, [rsp + 0x48]
call fcn.140076e41
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14012f090
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140077607
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14012f2fb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012ef70
mov rax, qword [rsp + 0xa0]
jmp 0x14012f329
lea rcx, [rsp + 0x48]
call fcn.14007679d
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012ef70
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140076b71
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400977d0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400971a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097811
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x140097817
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140076bf8
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401118b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1401107e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140111917
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401b2030]
jmp 0x140111939
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140076405
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140076c0c
Capabilities:
Terminate process

Disassembly:
jmp 0x14007e730
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140076dec
Capabilities:
Print debug messages

Disassembly:
jmp 0x14014f230
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14019f018]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14014f256
jmp 0x14014f2d3
mov rcx, qword [rbp + 0x30]
call fcn.1400766a8
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14014f26f
jmp 0x14014f2d3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14014f28c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140075924
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140075cf8
test eax, eax
jne 0x14014f2d3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14007688d
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14007702b
Capabilities:
Create process on windows

Disassembly:
jmp 0x140149ee0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400762ed
lea rcx, [rsp + 0xb8]
call fcn.1400762ed
lea rcx, [rsp + 0x88]
call fcn.1400762ed
call fcn.140076b12
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.140076103
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140149f82
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400765db
lea rcx, [rsp + 0xb8]
call fcn.1400765db
lea rcx, [rsp + 0xe8]
call fcn.1400765db
mov eax, dword [rsp + 0x54]
jmp 0x14014a128
call fcn.140076b12
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.140076103
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140149fe2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400765db
lea rcx, [rsp + 0xb8]
call fcn.1400765db
lea rcx, [rsp + 0xe8]
call fcn.1400765db
mov eax, dword [rsp + 0x5c]
jmp 0x14014a128
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x14014a068
call fcn.140076b12
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.140076103
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14014a056
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400765db
lea rcx, [rsp + 0xb8]
call fcn.1400765db
lea rcx, [rsp + 0xe8]
call fcn.1400765db
mov eax, dword [rsp + 0x64]
jmp 0x14014a128
lea rcx, [rsp + 0x88]
call fcn.140076275
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.140076275
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.140076275
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400765db
lea rcx, [rsp + 0xb8]
call fcn.1400765db
lea rcx, [rsp + 0xe8]
call fcn.1400765db
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x140077292
Capabilities:
Parse pe header

Disassembly:
jmp 0x14007fa80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14007faa0
xor al, al
jmp 0x14007fb21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14007fab3
xor al, al
jmp 0x14007fb21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14007fadd
xor al, al
jmp 0x14007fb21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007faf1
xor al, al
jmp 0x14007fb21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14007fb03
xor al, al
jmp 0x14007fb21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007fb1f
xor al, al
jmp 0x14007fb21
mov al, 1
add rsp, 0x38
ret
Function at 0x140077792
Capabilities:
Terminate process

Disassembly:
jmp 0x14010d860
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14010d88e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140077ed1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140077f35
Capabilities:
Print debug messages

Disassembly:
jmp 0x140127560
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140077fdf
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140097910
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140097260
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097959
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x140097968
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140078089
Capabilities:
Set environment variable

Disassembly:
jmp 0x140151470
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400762ed
lea rcx, [rsp + 0x48]
call fcn.1400762ed
call fcn.140076b12
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140076103
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401514df
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400765db
lea rcx, [rsp + 0x78]
call fcn.1400765db
mov eax, dword [rsp + 0x24]
jmp 0x140151570
call fcn.140076b12
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140076103
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140151526
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400765db
lea rcx, [rsp + 0x78]
call fcn.1400765db
mov eax, dword [rsp + 0x2c]
jmp 0x140151570
lea rcx, [rsp + 0x48]
call fcn.140076275
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140076275
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400765db
lea rcx, [rsp + 0x78]
call fcn.1400765db
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x14013e2a0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140075924
sub rsp, rax
mov rax, qword [0x14019f018]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401a1bc0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14013e492
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14013e3e6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14013e3e6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14013e3cb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14013e368
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14013e452
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013e4b1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14013e48d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013e4b1
jmp 0x14013e33e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007688d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14013e560
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140075924
sub rsp, rax
mov rax, qword [0x14019f018]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401a1bc0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14013e76d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14013e6b9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14013e6b9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14013e699
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14013e628
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14013e72d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013e78c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14013e768
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013e78c
jmp 0x14013e5fe
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007688d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400051a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
cmp dword [0x140011430], ebx
jne 0x140005263
mov eax, dword [0x14001142c]
test eax, eax
jne 0x140005263
mov edx, dword [0x140011424]
test edx, edx
je 0x140005203
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14001142c]
mov edx, dword [0x140011424]
test eax, eax
jne 0x140005263
test edx, edx
jne 0x140005214
call fcn.140002f80
test eax, eax
je 0x14000522a
lea rdx, [rsp + 0x68]
mov rcx, qword [0x14000f048]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140005263
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140005259
cmp eax, 0x78
je 0x140005259
cmp eax, 1
je 0x140005259
cmp eax, 0x32
je 0x140005259
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [0x14001142c], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x140003d50]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp dword [0x140011430], 0
je 0x14000529a
cmp dword [0x14001142c], 0
jne 0x1400052c8
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x1400052af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400052c8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x4017e5
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x30]
cmp eax, 1
ja 0x401817
mov eax, 1
jmp 0x4018d6
mov dword [rbp - 0x30], 0x40
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x28]
mov edx, 0x80000000
cmp rax, rdx
jae 0x401846
mov eax, 1
jmp 0x4018d6
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x78], rax
mov qword [rbp - 0x38], 0xffffffffdc3cba00
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x4f]
mov rcx, rax
call fcn.00401704
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x60]
mov qword [rbp - 0x50], rax
movzx eax, word [rbp + 0x68]
mov word [rbp - 0x48], ax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.00421ae0
mov r8, qword [0x005580b8]
lea rax, [rbp - 0x38]
mov rdx, rax
mov ecx, 0
call r8
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
sub rax, qword [rbp + 0x78]
cmp rax, 0xea5f
ja 0x4018d1
mov eax, 1
jmp 0x4018d6
mov eax, 0
add rsp, 0x100
pop rbp
ret