joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006b9a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x18010b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [0x18020a828]
mov r14, r8
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x4000]
test edx, edx
jne 0x18006ba08
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.id___0
call fcn.1800c51d8
mov r9, qword [0x18020a828]
or dword [rdi + 0x4a00], 0x100
mov dword [rdi + 0x4a38], 1
mov rdx, qword [r9 + 0x4000]
cmp qword [rdx + 0x1b8], 0
jne 0x18006ba3c
cmp qword [r9 + 0x4e18], 0
mov eax, 0x260
je 0x18006ba41
mov eax, 0x230
movss xmm2, dword [rdx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rdx + rax + 4]
subss xmm3, dword [rdx + 0x114]
subss xmm2, dword [rdx + 0x110]
mov rdx, qword [r14]
call fcn.180076e90
or dword [r9 + 0x4a00], 2
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rsp + 0x30]
xor edx, edx
movsd qword [r9 + 0x4a20], xmm0
mov dword [r9 + 0x4a08], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x18006bab2
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.180064490
jmp 0x18006bac2
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180064490
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.18006f110
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x18006bb0c
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1800ead49]
not r9d
lea r10, [0x1800ef810]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18006bb39
cmp byte [rdx], r8b
jne 0x18006bb39
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18006bb26
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x18006bb69
xor edx, edx
xor ecx, ecx
call fcn.180067b30
cmp dword [rdi + 0x4b38], ebp
jne 0x18006bbae
cmp word [rsi + 0x16c], 0
jne 0x18006bb84
cmp byte [rsi + 0x172], 0
je 0x18006bbae
xor edx, edx
mov rcx, rsi
call fcn.180071f20
xor edx, edx
mov rcx, rsi
call fcn.18007a6a0
mov rdx, rsi
mov ecx, ebx
call fcn.180067b30
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b0830
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x180078000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18010b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18020a828]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x180078061
cmp byte [rbx + 0x4d4e], 0
jne 0x180078061
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180064410
test dil, 2
je 0x18007818f
jmp 0x1800780ec
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1800f7970]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1800f7958]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1800f788c]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.180064410
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180078140
lea r11, [0x1800ef810]
nop dword [rax]
cmp r9b, 0x23
jne 0x180078123
cmp byte [r8], r9b
jne 0x180078123
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180078110
not ecx
call fcn.18006bef0
test rax, rax
je 0x18007818f
cmp byte [rax + 0xbe], 0
je 0x18007818f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.180064410
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18006f110
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b0830
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18007ead0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18020a828]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18007eb33
mov qword [rsp], rbx
lea rbx, [0x1800ef810]
nop dword [rax]
cmp r9b, 0x23
jne 0x18007eb13
cmp byte [r8], r9b
jne 0x18007eb13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18007eb00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18007eb5f
cmp dword [r8 + 8], eax
je 0x18007eb66
add r8, 0x48
cmp r8, rcx
jne 0x18007eb50
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180094ba0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18010b040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [0x18020a828]
mov rdi, rcx
test rbx, rbx
jne 0x180094be5
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800c51d8
mov rbx, qword [0x18020a828]
cmp qword [rbx + 0x90], 0
je 0x180094c05
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.io.BackendPlatformUserData__nullptr___Already_initialized_a_platform_backend__
call fcn.1800c51d8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180094d74
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180094d74
mov ecx, 0x30
mov qword [rsp + 0x60], rsi
call fcn.1800c52e4
mov r9, qword [0x18020a828]
xor esi, esi
mov r8, rax
test r9, r9
je 0x180094caa
movsx rdx, word [r9 + 0x60f0]
lea rax, [r9 + 0x60f4]
mov r10d, dword [r9 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r10d
je 0x180094c9f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r9
mov dword [rax], r10d
mov dword [rax + 4], esi
inc word [rax + 4]
inc dword [r9 + 0x60e8]
test r8, r8
je 0x180094cc2
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
jmp 0x180094cc5
mov r8, rsi
or dword [rbx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x90], r8
mov qword [r8], rdi
mov rax, qword [rsp + 0x30]
mov qword [r8 + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [r8 + 0x18], rax
mov dword [r8 + 0x28], 9
test r9, r9
je 0x180094d09
mov rbx, qword [r9 + 0x90]
jmp 0x180094d0c
mov rbx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180094d37
mov dword [rbx + 0x2c], esi
mov rbx, qword [0x18020a828]
mov rsi, qword [rsp + 0x60]
cmp dword [rbx + 0x4b08], 0
jg 0x180094d62
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.i___0__i___Size
call fcn.1800c51d8
mov rax, qword [rbx + 0x4b10]
mov rcx, qword [rax]
mov al, 1
mov qword [rcx + 0x28], rdi
jmp 0x180094d76
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800b0830
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180095000
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18020a828]
mov edx, 0x210
call fcn.180072f20
cmp byte [rax], 0
je 0x1800950a1
mov rcx, qword [0x18020a828]
mov edx, 0x210
call fcn.1800633b0
cmp byte [rax + 8], 0
jne 0x1800950a1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800950a1
cmp qword [0x18020a828], 0
jne 0x180095069
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800c51d8
mov rbx, qword [0x18020a828]
cmp byte [rbx + 0x38d1], 0
je 0x18009508d
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180063980
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x18020a828]
mov edx, 0x214
call fcn.180072f20
cmp byte [rax], 0
je 0x18009513c
mov rcx, qword [0x18020a828]
mov edx, 0x214
call fcn.1800633b0
cmp byte [rax + 8], 0
jne 0x18009513c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18009513c
cmp qword [0x18020a828], 0
jne 0x180095104
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800c51d8
mov rbx, qword [0x18020a828]
cmp byte [rbx + 0x38d1], 0
je 0x180095128
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180063980
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x18020a828]
mov edx, 0x212
call fcn.180072f20
cmp byte [rax], 0
je 0x1800951d7
mov rcx, qword [0x18020a828]
mov edx, 0x212
call fcn.1800633b0
cmp byte [rax + 8], 0
jne 0x1800951d7
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800951d7
cmp qword [0x18020a828], 0
jne 0x18009519f
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800c51d8
mov rbx, qword [0x18020a828]
cmp byte [rbx + 0x38d1], 0
je 0x1800951c3
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180063980
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x18020a828]
mov edx, 0x216
call fcn.180072f20
cmp byte [rax], 0
je 0x180095274
mov rcx, qword [0x18020a828]
mov edx, 0x216
call fcn.1800633b0
cmp byte [rax + 8], 0
jne 0x180095274
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180095274
mov rbx, qword [0x18020a828]
test rbx, rbx
jne 0x180095243
xor r8d, r8d
lea rdx, [0x1800e9a38]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800c51d8
mov rbx, qword [0x18020a828]
cmp byte [rbx + 0x38d1], 0
je 0x180095260
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180063980
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800b6be0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800b6c4f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800b6c4f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800b6c4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800b6c4f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800b6c4f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800b6c4f
cmp dword [rcx + 0xf8], 0
je 0x1800b6c4f
mov ecx, ebx
call fcn.1800b6d00
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800b6adc
nop
cmp dword [rbp + 0x20], 0
je 0x1800b6c9d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800b6ca8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800b6be0

Function at 0x1800b6d9c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800b6c4f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800b6c4f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800b6c4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800b6c4f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800b6c4f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800b6c4f
cmp dword [rcx + 0xf8], 0
je 0x1800b6c4f
mov ecx, ebx
call fcn.1800b6d00
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800b6adc
nop
cmp dword [rbp + 0x20], 0
je 0x1800b6c9d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800b6ca8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800b6be0
Function at 0x1800ca74c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800ca762
mov al, 1
jmp 0x1800ca7c2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800ca773
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800ca7c0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800cf9b8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800ca7c0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800ca7c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800ca7c0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800ca7c2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800cd154
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 0x1800cd184
xor eax, eax
jmp 0x1800cd247
mov rbp, rbx
cmp word [rax], si
je 0x1800cd1a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800cd190
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800cd18c
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.1800cd074
movsxd r14, eax
test eax, eax
jne 0x1800cd1e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800cd17d
mov rcx, r14
call fcn.1800c6f78
mov rdi, rax
test rax, rax
jne 0x1800cd200
xor ecx, ecx
call fcn.1800c6f3c
jmp 0x1800cd1dc
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.1800cd074
test eax, eax
jne 0x1800cd231
mov rcx, rdi
call fcn.1800c6f3c
jmp 0x1800cd23b
xor ecx, ecx
call fcn.1800c6f3c
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 0x1800d1bb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800d1bd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800d1bd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4c3a00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c4ac0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c4402
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c449a
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c447e
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 0x2fc4c4472
cmp qword [rbp - 0x10], 0
je 0x2fc4c4472
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 0x2fc4c4438
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c449b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c45a0
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 0x2fc4c45c8
mov eax, 0
jmp 0x2fc4c4616
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 0x2fc4c45f1
mov eax, 0
jmp 0x2fc4c4616
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 0x2fc4c4611
mov eax, 0
jmp 0x2fc4c4616
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c461c
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 0x2fc4c469a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c4691
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 0x2fc4c4691
mov rax, qword [rbp - 8]
jmp 0x2fc4c46af
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 0x2fc4c4664
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x9ce950
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x9ce95d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x9ce96d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x9ce955
lea eax, [rcx + 1]
jmp 0x9ce97b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x9ce98e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x9ce974
sub eax, 3
jb 0x9ce9ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x9ce9fd
sar eax, 1
movsxd rbp, eax
jb 0x9ce9e4
jmp 0x9ce9bc
add ebx, ebx
jne 0x9ce9ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9ce9e4
inc ecx
add ebx, ebx
jne 0x9ce9ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9ce9e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x9ce9dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x9ce9cc
add ecx, 2
jmp 0x9ce9e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.009ce912
jmp 0x9ce95d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x26b000
mov dl, 0x2b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x9cea49
cmp rsi, rcx
jae 0x9cea51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x9cea30
cmp al, 0x8f
ja 0x9cea30
cmp byte [rsi - 2], 0xf
je 0x9cea36
sub al, 0xe8
cmp al, 1
ja 0x9cea1a
cmp rsi, rcx
jae 0x9cea51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x9cea20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x9cea51
lodsb al, byte [rsi]
jmp 0x9cea30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5c7000]
mov eax, dword [rdi]
or eax, eax
je 0x9ceaae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5ce000]
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 0x9cea5e
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 0x9ceaa8
mov qword [rbx], rax
add rbx, 8
jmp 0x9cea7e
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 0x9ceaf2
cmp al, 0xef
ja 0x9ceada
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x9ceaba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x9ceac9
mov eax, dword [rdi]
add rdi, 4
jmp 0x9ceac9
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 + 0x1af]
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 0x9ceb46
sub rsp, 0xffffffffffffff80
jmp 0x46dd00