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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400492c8]
test eax, eax
je 0x14001222a
lea rax, [0x1400492a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400492d0]
mov qword [rbp - 8], rax
jmp 0x14001220e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140012202
cmp qword [rbp - 0x10], 0
je 0x140012202
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400121c8
lea rax, [0x1400492a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001222b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140012330
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140012358
mov eax, 0
jmp 0x1400123a6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140012381
mov eax, 0
jmp 0x1400123a6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400123a1
mov eax, 0
jmp 0x1400123a6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400123ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001242a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140012421
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140012421
mov rax, qword [rbp - 8]
jmp 0x14001243f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400123f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001a534
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x14001a67e
mov rcx, qword [rbp + 0x10]
call fcn.14001eb0d
cmp eax, 1
jne 0x14001a671
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x14001a627
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x14001a63d
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x14001a623
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x14001a65c
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x14001a67f
nop
add rsp, 0x90
pop rbp
ret
Function at 0x14001b875
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x14001b69b]
mov rdx, rax
lea rax, [0x140049d50]
mov rcx, rax
call fcn.14001aca6
mov eax, dword [0x1400284f0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001b8c8
mov rax, qword [rbp - 0x10]
jmp 0x14001ba28
call fcn.14001a410
mov qword [rbp - 0x10], rax
mov rax, qword [0x14004c050]
test rax, rax
je 0x14001b8e4
cmp qword [rbp - 0x10], 0
jne 0x14001b8ee
mov eax, 0
jmp 0x14001ba28
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.14001a534
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x14001b9c9
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x1400284f0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x14001ba24
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14001bb22
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.14001b875
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.14001b6c9
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14001bb8f
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x1400284f0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001bcd3
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14001bc2c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bbe7
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a2ec
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400284f0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14001bcd3
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bc66
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001bcd3
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a2ec
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400284f0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140026f40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140026a55
call fcn.1400269b0
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x140026a5a
call fcn.140026890
mov rcx, qword [rbx - 0x38]
call fcn.140025010
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.1400269b0
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov r13, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov r12, qword [rbx - 0x38]
call fcn.140025030
mov rcx, rax
jmp 0x140026e60
call fcn.1400269b0
call fcn.140026c10
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x140026ee7
mov rbx, qword [rbx]
lea r14, [rsp + 0x20]
mov rdx, r13
xor ecx, ecx
mov r8, r14
call fcn.140024b90
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r14
call fcn.140024c80
test al, al
jne 0x140026f05
lea r13, [0x14002dc60]
mov r9, rsi
xor r8d, r8d
mov rcx, r14
mov rdx, r13
call fcn.140024c80
test al, al
je 0x140026f0a
mov ecx, 8
call fcn.140026940
lea r8, [0x140026420]
mov rdx, r13
mov rcx, rax
mov rax, qword [0x14002d120]
add rax, 0x10
mov qword [rcx], rax
call fcn.140026cd0
add rbx, 0x90
jmp 0x140026e76
call fcn.140026c80
mov rcx, r12
call fcn.140025010
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.1400269b0
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140026fbc
call fcn.1400269b0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sub.msvcrt.dll_fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.140026ae0
call sub.msvcrt.dll_abort
mov rcx, r13
call sub.msvcrt.dll_free
call fcn.140026c80
call fcn.1400269b0
call fcn.140026ae0
jmp 0x140026faa
Function at 0x140003888
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400036f8

Function at 0x14000ad54
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001a2d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140007a54
xor ebx, ebx
cmp qword [0x140040a88], rbx
mov rdi, rax
jne 0x14000ae67
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000af3e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000af3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140040a88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140040a90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140040a98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140040aa8], rax
test rax, rax
je 0x14000ae5e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140040aa0], rax
jmp 0x14000ae6e
mov rax, qword [0x140040aa0]
jmp 0x14000ae75
mov rax, qword [0x140040aa0]
mov r11, qword [0x140040aa8]
cmp rax, rdi
je 0x14000aedc
cmp r11, rdi
je 0x14000aedc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140040aa8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000aedc
test rax, rax
je 0x14000aedc
call rsi
test rax, rax
je 0x14000aed6
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000aed6
test byte [rsp + 0x40], 1
jne 0x14000aedc
bts ebp, 0x15
jmp 0x14000af1c
mov rcx, qword [0x140040a90]
cmp rcx, rdi
je 0x14000af1c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000af1c
call rax
mov rbx, rax
test rax, rax
je 0x14000af1c
mov rcx, qword [0x140040a98]
cmp rcx, rdi
je 0x14000af1c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000af1c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140040a88]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000af3e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000af40
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000a140
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000c81f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001a2d0]
jne 0x14000a15a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000a156
repz ret
ror rcx, 0x10
jmp 0x14000c778
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140040b60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140040c58]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000c7fd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140040b60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000c81f
mov rax, qword [rsp + 0x88]
mov qword [0x140040c58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140040bf8], rax
mov rax, qword [0x140040c58]
mov qword [0x140040ad0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140040be0], rax
mov dword [0x140040ac0], 0xc0000409
mov dword [0x140040ac4], 1
mov rax, qword [0x14001a2d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a2d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140040b58], eax
mov ecx, 1
call fcn.14000a124
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140015d50]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140040b58], 0
jne 0x14000c8a6
mov ecx, 1
call fcn.14000a124
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140012200
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x150
xor edi, edi
mov rax, qword [0x14001a2d0]
mov edx, 0x100
xor rax, rsp
pxor xmm0, xmm0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x140], edi
mov byte [rsp + 0x144], dil
movups xmmword [rsp + rdx + 0x30], xmm0
movups xmmword [rsp + rdx + 0x20], xmm0
movups xmmword [rsp + rdx + 0x10], xmm0
movups xmmword [rsp + rdx], xmm0
sub rdx, 0x40
jne 0x14001223d
cmp qword [0x140041680], 0
je 0x140012432
lea rcx, [0x140041680]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14001a3e0], 0xffffffffffffffff
je 0x140012402
lea rcx, str.SYSTEMROOT
lea rdx, [rsp + 0x40]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400122b1
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str._system32_
call fcn.14000bf5c
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str.msvcrt.dll
call fcn.14000bf5c
mov ecx, 1
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp qword [rsp + 0x38], 0
je 0x1400123da
mov edx, 1
mov eax, 0x10
mov qword [rsp + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x28], rsi
mov rsi, rdx
mov qword [rsp + 0x20], r12
lea r12, [0x140000000]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [r12 + rbx + 0x1a3e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140012387
mov qword [r12 + rbx + 0x1a3e0], rax
inc rsi
add rbx, 0x10
cmp rsi, 0x32
jl 0x14001230e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x20]
lea rcx, [0x140041680]
mov qword [0x14001a3e0], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x14001a2d0]
jne 0x140012381
mov eax, edi
add rsp, 0x150
pop rdi
ret
call fcn.14000a140
nop
mov rcx, qword [r12 + rbx + 0x1a3e0]
test rcx, rcx
je 0x1400123b2
cmp rcx, rsi
jge 0x14001232e
shl rcx, 4
mov rcx, qword [r12 + rcx + 0x1a3e0]
mov qword [r12 + rbx + 0x1a3e0], rcx
jmp 0x14001232e
mov r8, qword [0x14001a3f0]
test r8, r8
je 0x14001232e
lea rcx, str.Warning:_Missing__s_function_during_Intel_Library_Wrapper_initialization._n
mov rdx, qword [r12 + rbx + 0x1a3e8]
call r8
nop
jmp 0x14001232e
xor edx, edx
lea rcx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400122e8
mov edi, 0xffffffff
jmp 0x14001234a
lea rcx, [0x140041680]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x14001a2d0]
jne 0x140012381
xor eax, eax
add rsp, 0x150
pop rdi
ret
lea rcx, [0x140041680]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
jmp 0x140012264
Function at 0x140004860
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x40
mov r8, rcx
movsxd r10, edx
xor eax, eax
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rcx, [rsp]
shr rdi, 3
test rdi, rdi
je 0x1400048a4
nop dword [rax]
mov rax, qword [r8]
add r8, 8
mov qword [rcx], rax
add rcx, 8
sub rdi, 1
jne 0x140004890
mov rdx, r10
and edx, 7
je 0x1400048c2
sub rcx, r8
nop
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
sub rdx, 1
jne 0x1400048b0
xor r8d, r8d
test r9d, r9d
jle 0x1400048e9
mov edx, r8d
nop dword [rax]
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x1400048e1
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x1400048d0
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x140004937
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x140004910
sub r9d, 1
je 0x14000495c
sub r9d, 1
je 0x140004952
cmp r9d, 1
jne 0x140004962
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add rsp, 0x40
pop rdi
ret

Function at 0x140004f20
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov eax, 0xffffffff
mov r9d, 0x216
nop
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub r9, 1
jne 0x140004f30
not eax
ret
Function at 0x140011be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x250
mov rbx, qword [rcx + 8]
mov edx, 0xf
mov r8d, 0xd6e51ba7
mov rsi, rcx
lea r9d, [rdx + 0x4a]
call fcn.140004640
mov r9d, 2
xor r8d, r8d
mov rdx, 0xfffffffffffffde6
mov rcx, rbx
call rax
test eax, eax
je 0x140011d92
mov rbx, qword [rsi + 8]
mov edx, 0xf
mov r8d, 0x55f5048a
lea r9d, [rdx + 0x5a]
call fcn.140004640
mov edi, 0x216
mov qword [rsp + 0x20], 0
mov r8d, edi
lea r9, [rsp + 0x268]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rax
test eax, eax
je 0x140011d92
cmp dword [rsp + 0x268], edi
jne 0x140011d92
mov rbx, qword [rsi + 8]
mov edx, 0xf
mov r8d, 0x55f5048a
lea r9d, [rdx + 0x5a]
call fcn.140004640
lea r9, [rsp + 0x268]
mov qword [rsp + 0x20], 0
mov r8d, 4
lea rdx, [rsp + 0x260]
mov rcx, rbx
call rax
test eax, eax
je 0x140011d92
cmp dword [rsp + 0x268], 4
jne 0x140011d92
lea r8, [rsp + 0x30]
mov eax, 0xffffffff
nop dword [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub rdi, 1
jne 0x140011ce0
not eax
cmp dword [rsp + 0x260], eax
je 0x140011d92
lea eax, [rdi + 1]
jmp 0x140011d94
xor eax, eax
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret