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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rdi, edx
mov r15, rcx
mov esi, edi
mov ebp, edi
mov r14d, edi
shr esi, 0x18
shr ebp, 0x10
shr r14d, 8
cmp dword [rcx + 0x100], 0
jg 0x18006a946
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.Size___0
call fcn.1800cab08
movsxd rcx, dword [r15 + 0x100]
lea rdx, [0x1800f5860]
mov rax, qword [r15 + 0x108]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r14b
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, bpl
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [r15]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x18006a9bb
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.180082c00
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006a9d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18006a9ff
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.Size___0
call fcn.1800cab08
movss xmm2, dword [rbx + 0x120]
lea r9, [0x1800f5860]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0x100]
subss xmm0, xmm2
mov rax, qword [rbx + 0x108]
movss xmm3, dword [rbx + 0x124]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x18006eb30
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 [0x180111040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [0x1802107b8]
mov r14, r8
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x4000]
test edx, edx
jne 0x18006eb98
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.id___0
call fcn.1800cab08
mov r9, qword [0x1802107b8]
or dword [rdi + 0x4a00], 0x100
mov dword [rdi + 0x4a38], 1
mov rdx, qword [r9 + 0x4000]
cmp qword [rdx + 0x1b8], 0
jne 0x18006ebcc
cmp qword [r9 + 0x4e18], 0
mov eax, 0x260
je 0x18006ebd1
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.18007a080
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 0x18006ec42
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.180067690
jmp 0x18006ec52
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180067690
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.1800722b0
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x18006ec9c
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1800f0e31]
not r9d
lea r10, [0x1800f5860]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18006ecc9
cmp byte [rdx], r8b
jne 0x18006ecc9
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 0x18006ecb6
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x18006ecf9
xor edx, edx
xor ecx, ecx
call fcn.18006acc0
cmp dword [rdi + 0x4b38], ebp
jne 0x18006ed3e
cmp word [rsi + 0x16c], 0
jne 0x18006ed14
cmp byte [rsi + 0x172], 0
je 0x18006ed3e
xor edx, edx
mov rcx, rsi
call fcn.180075100
xor edx, edx
mov rcx, rsi
call fcn.18007d850
mov rdx, rsi
mov ecx, ebx
call fcn.18006acc0
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b51a0
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 0x18007b200
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180111040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1802107b8]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x18007b261
cmp byte [rbx + 0x4d4e], 0
jne 0x18007b261
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180067610
test dil, 2
je 0x18007b38f
jmp 0x18007b2ea
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1800fda38]
xor eax, eax
mulss xmm1, dword [0x1800fda20]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
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 [0x1800fd954]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.180067610
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18007b340
lea r11, [0x1800f5860]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18007b323
cmp byte [r8], r9b
jne 0x18007b323
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 0x18007b310
not ecx
call fcn.18006f090
test rax, rax
je 0x18007b38f
cmp byte [rax + 0xbe], 0
je 0x18007b38f
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.180067610
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1800722b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b51a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180081d20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1802107b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180081d83
mov qword [rsp], rbx
lea rbx, [0x1800f5860]
nop dword [rax]
cmp r9b, 0x23
jne 0x180081d63
cmp byte [r8], r9b
jne 0x180081d63
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 0x180081d50
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 0x180081daf
cmp dword [r8 + 8], eax
je 0x180081db6
add r8, 0x48
cmp r8, rcx
jne 0x180081da0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180098b70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1802107b8]
mov edx, 0x210
call fcn.180076100
cmp byte [rax], 0
je 0x180098c11
mov rcx, qword [0x1802107b8]
mov edx, 0x210
call fcn.1800665b0
cmp byte [rax + 8], 0
jne 0x180098c11
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180098c11
cmp qword [0x1802107b8], 0
jne 0x180098bd9
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cab08
mov rbx, qword [0x1802107b8]
cmp byte [rbx + 0x38d1], 0
je 0x180098bfd
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180066b90
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x1802107b8]
mov edx, 0x214
call fcn.180076100
cmp byte [rax], 0
je 0x180098cac
mov rcx, qword [0x1802107b8]
mov edx, 0x214
call fcn.1800665b0
cmp byte [rax + 8], 0
jne 0x180098cac
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180098cac
cmp qword [0x1802107b8], 0
jne 0x180098c74
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cab08
mov rbx, qword [0x1802107b8]
cmp byte [rbx + 0x38d1], 0
je 0x180098c98
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180066b90
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x1802107b8]
mov edx, 0x212
call fcn.180076100
cmp byte [rax], 0
je 0x180098d47
mov rcx, qword [0x1802107b8]
mov edx, 0x212
call fcn.1800665b0
cmp byte [rax + 8], 0
jne 0x180098d47
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180098d47
cmp qword [0x1802107b8], 0
jne 0x180098d0f
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cab08
mov rbx, qword [0x1802107b8]
cmp byte [rbx + 0x38d1], 0
je 0x180098d33
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180066b90
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x1802107b8]
mov edx, 0x216
call fcn.180076100
cmp byte [rax], 0
je 0x180098de4
mov rcx, qword [0x1802107b8]
mov edx, 0x216
call fcn.1800665b0
cmp byte [rax + 8], 0
jne 0x180098de4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180098de4
mov rbx, qword [0x1802107b8]
test rbx, rbx
jne 0x180098db3
xor r8d, r8d
lea rdx, [0x1800efa94]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cab08
mov rbx, qword [0x1802107b8]
cmp byte [rbx + 0x38d1], 0
je 0x180098dd0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180066b90
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800bc6d4
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 0x1800bc587
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800bc587
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800bc587
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800bc587
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800bc587
cmp dword [rcx + 0x84], 0xe
jbe 0x1800bc587
cmp dword [rcx + 0xf8], 0
je 0x1800bc587
mov ecx, ebx
call fcn.1800bc638
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.1800bc414
nop
cmp dword [rbp + 0x20], 0
je 0x1800bc5d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800bc5e0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800bc518
Function at 0x1800d007c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800d0092
mov al, 1
jmp 0x1800d00f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800d00a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800d00f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800d52e8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800d00f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800d00f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800d00f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800d00f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800d2a84
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 0x1800d2ab4
xor eax, eax
jmp 0x1800d2b77
mov rbp, rbx
cmp word [rax], si
je 0x1800d2ad9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800d2ac0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800d2abc
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.1800d29a4
movsxd r14, eax
test eax, eax
jne 0x1800d2b17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800d2aad
mov rcx, r14
call fcn.1800cc8a8
mov rdi, rax
test rax, rax
jne 0x1800d2b30
xor ecx, ecx
call fcn.1800cc86c
jmp 0x1800d2b0c
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.1800d29a4
test eax, eax
jne 0x1800d2b61
mov rcx, rdi
call fcn.1800cc86c
jmp 0x1800d2b6b
xor ecx, ecx
call fcn.1800cc86c
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 0x1800d74e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800d7508
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800d7508
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003b3c
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor r13d, r13d
mov r12d, r13d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
cmp rax, r13
jne 0x140003b74
xor eax, eax
jmp 0x140003d0b
mov r14d, 2
cmp word [rax], 0x20
je 0x140003b86
cmp word [rax], 9
jne 0x140003b8b
add rax, r14
jmp 0x140003b7a
cmp word [rax], r13w
jne 0x140003b99
jmp 0x140003b6d
cmp word [rax], r13w
je 0x140003bb5
mov rcx, rax
inc r12d
call fcn.140003d30
cmp word [rax], 0x20
je 0x140003bb0
cmp word [rax], 9
jne 0x140003b93
add rax, r14
jmp 0x140003ba4
movsxd rcx, r12d
mov eax, 8
mov rbp, 0xffffffffffffffff
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400080ec
mov rbx, rax
cmp rax, r13
jne 0x140003be3
mov edi, r13d
jmp 0x140003d03
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
mov rax, r14
not rcx
mov rdi, rcx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400080ec
mov rbp, rax
cmp rax, r13
jne 0x140003c16
mov edi, r13d
jmp 0x140003cee
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140003ac8
cmp eax, r13d
jge 0x140003c51
lea r8, [0x1400016c8]
lea rdx, [0x1400016f8]
mov r9d, 0x80
mov ecx, eax
call fcn.140004880
lea rcx, [0x140001718]
call fcn.140004164
int3
mov edx, r13d
mov rax, rbp
mov rdi, rbx
cmp word [rax], r13w
je 0x140003c94
mov qword [rdi], rax
mov rcx, rax
inc edx
add rdi, 8
call fcn.140003d30
cmp rax, r13
je 0x140003c94
cmp word [rax], r13w
je 0x140003c8f
mov word [rax], r13w
add rax, r14
cmp word [rax], 0x20
je 0x140003c80
cmp word [rax], 9
je 0x140003c80
cmp rax, r13
jne 0x140003c5a
movsxd rsi, edx
mov rdi, r13
cmp rsi, r13
jle 0x140003cd1
mov r14d, 0x22
mov rcx, qword [rbx + rdi*8]
cmp word [rcx], r14w
jne 0x140003cc9
add rcx, 2
mov edx, r14d
mov qword [rbx + rdi*8], rcx
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, r13
je 0x140003cc9
mov word [rax], r13w
inc rdi
cmp rdi, rsi
jl 0x140003ca5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov r8d, 3
mov rdx, rbx
mov ecx, r12d
call sub.MSDTCTM.dll_Ordinal_4
mov edi, eax
cmp rbp, r13
je 0x140003cfb
mov rcx, rbp
call fcn.14000812c
mov rcx, rbx
call fcn.14000812c
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x140003f80
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x5a0
and dword [rsp + 0x30], 0
mov rbx, rcx
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x94
call sub.msvcrt.dll_memset
test rbx, rbx
jne 0x140003ff7
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
and qword [rsp + 0x38], rbx
and dword [rsp + 0x48], ebx
lea r11, [rsp + 0x30]
lea rax, [fcn.140003f80]
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0xc00000e5
mov dword [rsp + 0x34], 1
lea rbx, [rsp + 0x20]
lea rcx, [0x1400021b8]
xor edx, edx
call fcn.1400040ac
test eax, eax
je 0x140004078
mov rcx, qword [0x14000c818]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x140004031
lea r8d, [rax + 0x7f]
lea rdx, [0x140001ac0]
lea rcx, [0x140001c20]
call fcn.140004954
lea rcx, [0x140004220]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x140004078
mov rcx, qword [0x14000c818]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xffffffff
jne 0x140004078
lea rdx, [0x140001ac0]
lea rcx, [0x140001b60]
mov r8d, 0x74
call fcn.140004954
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov r8d, 1
call qword [sym.imp.ntdll.dll_RtlReportException]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x5a0
pop rbx
ret

Function at 0x1400040ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x40
xor edi, edi
mov dword [rax + 0x20], 4
lea rax, [rax - 0x18]
mov qword [rax], rdi
mov dword [rax + 0x30], edi
mov dword [rax + 0x28], edi
mov rbx, rcx
lea rdx, [0x140001ca8]
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x1400040fe
mov eax, edi
jmp 0x140004138
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x1400040fa
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x60], 4
cmovne eax, edi
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x58], eax
cmp rcx, rdi
je 0x140004150
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140004fcc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x14000b110]
xor rax, rbp
mov qword [rbp + 0x18], rax
mov rcx, qword [rbp + 0x50]
xor r12d, r12d
mov rdi, r8
mov word [r8], r12w
lea r8, [0x140002628]
lea edx, [r12 + 0x32]
call fcn.140003ac8
mov rsi, qword [rbp + 0x60]
lea rcx, [0x1400026f8]
mov word [rsi], r12w
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
cmp rax, r12
je 0x140005199
lea edx, [r12 + 1]
lea r8d, [r12 + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, r12
je 0x140005199
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, r12
je 0x140005199
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rax
cmp rax, r12
je 0x140005199
movzx r8d, word [rax]
mov ecx, r8d
shr ecx, 1
add ecx, r8d
movsxd rdx, ecx
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14000509d
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140008c20
sub rsp, rax
mov rdx, r9
lea rbx, [rsp + 0x40]
mov rcx, rbx
call sub.msvcrt.dll_memcpy
lea r9, [rbp]
lea r8, [rbp + 0x10]
lea rdx, [0x140002640]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
cmp eax, r12d
je 0x140005113
mov rax, qword [rbp + 0x10]
lea r9, [0x140001770]
mov ecx, r12d
movzx edx, word [rax]
mov rax, r9
cmp dx, word [rax]
je 0x1400050fb
inc ecx
add rax, 0x10
cmp ecx, 0x27
jb 0x1400050e9
jmp 0x140005113
mov r8d, ecx
mov edx, 5
mov rcx, rdi
add r8, r8
mov r8, qword [r9 + r8*8 + 8]
call fcn.140003ac8
lea r9, [rbp]
lea r8, [rbp + 8]
lea rdx, [0x140001758]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
cmp eax, r12d
je 0x140005199
mov r9, qword [rbp + 8]
cmp dword [r9 + 8], 0xffffffff
je 0x140005175
movzx r8d, word [r9 + 0xe]
movzx eax, word [r9 + 0xc]
movzx r10d, word [r9 + 8]
movzx r9d, word [r9 + 0xa]
mov rcx, qword [rbp + 0x50]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
lea r8, [0x140002678]
mov edx, 0x32
mov dword [rsp + 0x20], r10d
call fcn.140003e48
mov r9, qword [rbp + 8]
test byte [r9 + 0x1c], 1
lea rax, [0x140002690]
lea r8, [0x140002698]
mov edx, 5
mov rcx, rsi
cmovne r8, rax
call fcn.140003ac8
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400084d0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x20]
pop rbp
ret