joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4ed4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140282f58]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400c4f1f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400c4f28
call fcn.14000876c
test eax, eax
je 0x1400c4f44
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c4f4c
xor eax, eax
jmp 0x1400c4fb1
test rbx, rbx
jne 0x1400c4f6c
lea rcx, str.DestroyPropertySheetPage
call fcn.1400c50c8
mov rbx, rax
test rax, rax
je 0x1400c4f7f
mov qword [0x140282f58], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400c4f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c4f96
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c4faf
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400c4fc8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x140282f60]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400c5017
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400c5020
call fcn.14000876c
test eax, eax
je 0x1400c503c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c5046
or rax, 0xffffffffffffffff
jmp 0x1400c50b0
test rbx, rbx
jne 0x1400c5066
lea rcx, str.PropertySheetW
call fcn.1400c50c8
mov rbx, rax
test rax, rax
je 0x1400c507b
mov qword [0x140282f60], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1400c5092
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c5094
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c50ad
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400ce784
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402830d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400ce7cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400ce7d8
call fcn.14000876c
test eax, eax
je 0x1400ce7f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ce7fc
xor eax, eax
jmp 0x1400ce861
test rbx, rbx
jne 0x1400ce81c
lea rcx, str.GetOpenFileNameW
call fcn.140036004
mov rbx, rax
test rax, rax
je 0x1400ce82f
mov qword [0x1402830d8], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400ce844
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ce846
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ce85f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400ce878
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402830e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400ce8c3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400ce8cc
call fcn.14000876c
test eax, eax
je 0x1400ce8e8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ce8f0
xor eax, eax
jmp 0x1400ce955
test rbx, rbx
jne 0x1400ce910
lea rcx, str.GetSaveFileNameW
call fcn.140036004
mov rbx, rax
test rax, rax
je 0x1400ce923
mov qword [0x1402830e0], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400ce938
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ce93a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ce953
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400f0c5c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x140283548]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1400f0cb9
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1400f0cc2
call fcn.14000876c
test eax, eax
je 0x1400f0cde
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f0ce9
xor eax, eax
jmp 0x1400f0d7c
test rbx, rbx
jne 0x1400f0d09
lea rcx, str.ImageList_LoadImageW
call fcn.14001961c
mov rbx, rax
test rax, rax
je 0x1400f0d48
mov qword [0x140283548], rax
mov rcx, rbx
call fcn.1401ac444
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400f0d5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f0d60
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f0d79
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x1401086d4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1401088a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1401088e6
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x140108d70
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140108e42
test rbx, rbx
je 0x140108e48
test r9, r9
je 0x140108e4e
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140108e2b
cmp dword [rsp + 0x48], 3
jne 0x140108e2b
test eax, eax
jne 0x140108e2b
cmp dword [rdi], eax
je 0x140108e2b
mov ecx, dword [rdi]
call fcn.140004e78
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140108e1f
cmp dword [rsp + 0x48], 3
jne 0x140108e1f
test eax, eax
jne 0x140108e1f
mov eax, 1
jmp 0x140108e2d
mov rcx, qword [rbx]
call fcn.140004e80
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140004ee4
int3
call fcn.140004ee4
int3
call fcn.140004ee4
int3

Function at 0x140109178
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140109189
xor eax, eax
jmp 0x1401091b7
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1401091c0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401091d1
xor eax, eax
jmp 0x1401091f5
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1401582f8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140284c30]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x140158343
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x14015834c
call fcn.14000876c
test eax, eax
je 0x140158368
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140158370
xor eax, eax
jmp 0x1401583d5
test rbx, rbx
jne 0x140158390
lea rcx, str.ChooseColorW
call fcn.140036004
mov rbx, rax
test rax, rax
je 0x1401583a3
mov qword [0x140284c30], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401583b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401583ba
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401583d3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401ab63c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140286108]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027c3dc]
test eax, eax
je 0x1401ab687
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027c3dc]
test eax, eax
jne 0x1401ab690
call fcn.14000876c
test eax, eax
je 0x1401ab6ac
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140275458]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401ab6b4
xor eax, eax
jmp 0x1401ab719
test rbx, rbx
jne 0x1401ab6d4
lea rcx, str.PrintDlgW
call fcn.140036004
mov rbx, rax
test rax, rax
je 0x1401ab6e7
mov qword [0x140286108], rax
mov rcx, rbx
call fcn.1401ac444
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401ab6fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401ab6fe
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401ab717
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401b235c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401b2130
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b2130
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b2130
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b2130
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b2130
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b2130
cmp dword [rcx + 0xf8], esi
je 0x1401b2130
mov ecx, r14d
call fcn.1401b2278
mov ecx, 2
call fcn.1401c1010
nop
cmp byte [0x140286988], 0
jne 0x1401b21fa
mov r15d, 1
mov eax, r15d
xchg dword [0x140286978], eax
test ebx, ebx
jne 0x1401b21a3
mov rdi, qword [0x1402769a0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140286980]
cmp rcx, rax
je 0x1401b219a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140013374]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140286c20]
jmp 0x1401b21af
cmp ebx, r15d
jne 0x1401b21b5
lea rcx, [0x140286c38]
call fcn.1401bf250
nop
test ebx, ebx
jne 0x1401b21cc
lea rdx, [0x1401d7dc8]
lea rcx, [0x1401d7da8]
call fcn.1401bec88
lea rdx, [0x1401d7dd8]
lea rcx, [0x1401d7dd0]
call fcn.1401bec88
movzx eax, byte [0x140286988]
test esi, esi
cmove eax, r15d
mov byte [0x140286988], al
jmp 0x1401b21fa
mov ecx, 2
call fcn.1401c1064
test esi, esi
jne 0x1401b2211
mov ecx, r14d
call fcn.1401b222c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401b20c0
Function at 0x1403144c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, qword [0x14035c9c0]
mov eax, 0xffffffff
test edx, edx
je 0x140314584
mov r9d, edx
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
and cl, 1
neg cl
sbb edx, edx
shr eax, 1
and edx, 0xedb88320
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
sub r9, 1
jne 0x1403144e0
not eax
ret
Function at 0x14031a6d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14031a71e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14031a71e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14031a71e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14031a71e
cmp dword [rcx + 0x84], 0xe
jbe 0x14031a71e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14031a720
xor al, al
add rsp, 0x28
ret

Function at 0x14031e0d8
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 0x14031df43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14031df43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14031df43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14031df43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14031df43
cmp dword [rcx + 0x84], 0xe
jbe 0x14031df43
cmp dword [rcx + 0xf8], 0
je 0x14031df43
mov ecx, ebx
call fcn.14031dff4
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.14031ddd0
nop
cmp dword [rbp + 0x20], 0
je 0x14031df91
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14031df9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14031ded4
Function at 0x14032ec58
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14032ecdf
mov rsi, rbx
cmp word [rax], bp
je 0x14032ec9e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14032ec88
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14032ec84
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14032c278
mov rdi, rax
test rax, rax
je 0x14032eccc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14031be60
mov rbp, rdi
xor ecx, ecx
call fcn.14032a648
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140332854
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14033286a
mov al, 1
jmp 0x1403328ca
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14033287b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1403328c8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14032f3fc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1403328c8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1403328c8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1403328c8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1403328ca
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140334e30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140334e58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140334e58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400133b0
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 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014720
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014733
xor al, al
jmp 0x1400147a1
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 0x14001475d
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014771
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014783
xor al, al
jmp 0x1400147a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001479f
xor al, al
jmp 0x1400147a1
mov al, 1
add rsp, 0x38
ret
Function at 0x415040
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4151eb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4150ae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4150c1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4150e5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4150f9
cmp rbx, 0x1000
jae 0x4150b8
nop
jmp 0x415169
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41510d
xor edx, edx
jmp 0x415160
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4150ef
jmp 0x4150d5
call fcn.0045d6c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004345a0
lea rax, [0x004a8c5b]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00434ea0
mov rax, qword [rsp + 0x38]
call fcn.00434ba0
lea rax, [0x004a8d03]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00434ea0
mov rax, qword [rsp + 0x30]
call fcn.00434ba0
call fcn.00434800
call fcn.00434620
lea rax, [0x004aadbd]
mov ebx, 0x21
call fcn.00432e00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459b60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415040