joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800011e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
jne 0x180001206
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x10], rbp
mov ecx, dword [rax + rcx + 0x88]
add rcx, rdi
mov ebp, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x24]
add rbp, rdi
add r9, rdi
add r10, rdi
test edx, 0xffff0000
jne 0x18000123d
movzx eax, dx
sub eax, dword [rcx + 0x10]
jmp 0x18000128a
mov r11d, dword [rcx + 0x18]
test r11d, r11d
je 0x180001291
nop word [rax + rax]
mov eax, dword [r9]
mov r8, rsi
dec r11d
add rax, rdi
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001273
inc rax
test ecx, ecx
jne 0x180001260
test edx, edx
je 0x180001286
add r9, 4
add r10, 2
test r11d, r11d
jne 0x180001250
jmp 0x180001291
movzx eax, word [r10]
mov ebx, dword [rbp + rax*4]
add rbx, rdi
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rax, rbx
mov rbx, qword [rsp + 0x18]
pop rdi
ret
Function at 0x1800037c7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18002b018]
jne 0x18000329a
rol rcx, 0x10
test cx, 0xffff
jne 0x180003296
repz ret
ror rcx, 0x10
jmp 0x180003720
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18002c490]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18002c588]
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 0x1800037a5
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, [0x18002c490]
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 0x1800037c7
mov rax, qword [rsp + 0x88]
mov qword [0x18002c588], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18002c528], rax
mov rax, qword [0x18002c588]
mov qword [0x18002c400], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18002c510], rax
mov dword [0x18002c3f0], 0xc0000409
mov dword [0x18002c3f4], 1
mov rax, qword [0x18002b018]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18002b020]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18002c488], eax
mov ecx, 1
call fcn.180008d90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180022400]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18002c488], 0
jne 0x18000384e
mov ecx, 1
call fcn.180008d90
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 0x10000d460
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x158
mov rax, qword [0x100031100]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10000d49b
lea rcx, [0x100001f48]
call fcn.10000d3c0
jmp 0x10000d4bf
lea rdx, [rsp + 0x30]
lea rcx, [0x100056e30]
call fcn.1000049b0
lea rdx, [0x100001f80]
lea rcx, [0x100056e30]
call fcn.1000049f0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.100025760
add rsp, 0x158
ret

Function at 0x10000d4e0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x158
mov rax, qword [0x100031100]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10000d51b
lea rcx, [0x100001f48]
call fcn.10000d3c0
jmp 0x10000d53f
lea rdx, [rsp + 0x30]
lea rcx, [0x100056e30]
call fcn.1000049b0
lea rdx, [0x100001f98]
lea rcx, [0x100056e30]
call fcn.1000049f0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.100025760
add rsp, 0x158
ret
Function at 0x10000ff60
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rsp + 0x30], 0
jmp 0x10000ff8d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cmp rax, 4
jae 0x10000ffb7
movzx eax, word [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
lea rdx, [0x100031590]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jne 0x10000ffb5
jmp 0x10000ffb7
jmp 0x10000ff83
cmp qword [rsp + 0x88], 0
jne 0x10000fffc
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, [0x100031590]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x100002114]
lea r8, [0x100002120]
mov edx, 0x104
lea rcx, [0x100031c00]
call fcn.10000fcc0
jmp 0x100010041
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, [0x100031590]
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x100002114]
lea r8, [0x100002138]
mov edx, 0x104
lea rcx, [0x100031c00]
call fcn.10000fcc0
lea rdx, [0x100031c00]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_SetWindowTextA]
add rsp, 0x78
ret
Function at 0x10001d3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
add rax, 8
mov rcx, rax
call fcn.1000067c0
mov rax, qword [rsp + 0x60]
lea rcx, [0x100002f40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x18], 0
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x10001d4a4
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x10001d4a4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x10001d4d0
mov rax, qword [rsp + 0x60]
add rax, 8
mov r9, qword [rsp + 0x70]
lea r8, [0x100002c70]
mov edx, 0x25
mov rcx, rax
call fcn.10001c1c0
jmp 0x10001d53f
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.100024e60
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x20], ecx
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.100022ae0
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.10001d580
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
call fcn.10001cff0
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x100025424
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x100056e60], rbx
je 0x10002547d
cmp rax, rbx
jne 0x100025470
mov edi, 1
jmp 0x10002547d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100025457
mov eax, dword [0x100056e5c]
cmp eax, 1
jne 0x100025492
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x1000254f7
mov eax, dword [0x100056e5c]
test eax, eax
jne 0x1000254ed
mov dword [0x100056e5c], 1
lea r12, [0x100001690]
lea rbx, [0x100001678]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
cmp rbx, r12
jae 0x1000254df
test eax, eax
jne 0x1000254e3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1000254d4
call rcx
mov dword [rsp + 0x30], eax
add rbx, 8
mov qword [rsp + 0x38], rbx
jmp 0x1000254bd
test eax, eax
je 0x1000254f7
mov eax, 0xff
jmp 0x100025641
mov dword [0x10003165c], 1
mov eax, dword [0x100056e5c]
cmp eax, 1
jne 0x10002551f
lea rdx, [0x100001670]
lea rcx, [0x100001650]
call sub.msvcrt.dll__initterm
mov dword [0x100056e5c], 2
test edi, edi
jne 0x10002552c
xor eax, eax
xchg qword [0x100056e60], rax
cmp qword [0x100056e78], 0
je 0x100025555
lea rcx, [0x100056e78]
call fcn.1000263dc
test eax, eax
je 0x100025555
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100056e78]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
ja 0x1000255e0
cmp byte [rbx], 0
je 0x100025576
test edi, edi
jne 0x1000255e0
mov al, byte [rbx]
test al, al
je 0x10002558a
cmp al, 0x20
ja 0x10002558a
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x100025576
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100010630
mov dword [0x100031658], eax
cmp dword [0x10003163c], 0
jne 0x1000255c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10003165c], 0
jne 0x1000255de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100031658]
jmp 0x100025641
cmp byte [rbx], 0x22
jne 0x1000255f2
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x100025607
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x100025568
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.1000264f0
add rsp, 0x28
jmp 0x100025424
Function at 0x100025760
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100031100]
jne 0x10002577b
rol rcx, 0x10
test cx, 0xffff
jne 0x100025777
ret 0
ror rcx, 0x10
jmp 0x1000265ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100031710]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x100031808]
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 0x100026631
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, [0x100031710]
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 0x100026653
mov rax, qword [rsp + 0x88]
mov qword [0x100031808], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000317a8], rax
mov rax, qword [0x100031808]
mov qword [0x100031680], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100031790], rax
mov dword [0x100031670], 0xc0000409
mov dword [0x100031674], 1
mov rax, qword [0x100031100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100031108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001700]
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, 0x88
ret

Function at 0x1000259c8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x100031100]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x100025a45
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x100025a65
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1000016c8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.100025760
add rsp, 0x540
pop rbx
ret

Function at 0x100026448
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
test rcx, rcx
je 0x100026495
cmp rcx, 0xffffffffffffffff
je 0x100026495
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002648d
cmp dword [rcx + 0x3c], edx
jl 0x10002648d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002648d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100026495
mov rax, rdx
add rsp, 0x18
ret
Function at 0x100029664
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rsi, rcx
test rcx, rcx
jne 0x1000296a2
call qword [sym.imp.msvcrt.dll__errno]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
mov dword [rax], 0x16
call fcn.100025a94
jmp 0x1000297af
mov eax, dword [rcx + 0x18]
test al, 0x83
je 0x1000297af
test al, 0x40
jne 0x1000297af
test al, 2
je 0x1000296c4
or eax, 0x20
mov dword [rcx + 0x18], eax
jmp 0x1000297af
or eax, 1
mov dword [rcx + 0x18], eax
test eax, 0x10c
je 0x10002967d
mov rbx, qword [rcx + 0x10]
mov qword [rcx], rbx
call qword [sym.imp.msvcrt.dll__fileno]
mov r8d, dword [rsi + 0x24]
mov ecx, eax
mov rdx, rbx
call qword [sym.imp.msvcrt.dll__read]
mov dword [rsi + 8], eax
test eax, eax
je 0x10002979f
cmp eax, 0xffffffff
je 0x10002979f
test byte [rsi + 0x18], 0x82
jne 0x10002976a
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__fileno]
cmp eax, 0xffffffff
je 0x100029754
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__fileno]
cmp eax, 0xfffffffe
je 0x100029754
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__fileno]
mov rbx, qword [sym.imp.msvcrt.dll___pioinfo]
mov rcx, rsi
movsxd rdi, eax
sar rdi, 5
call qword [sym.imp.msvcrt.dll__fileno]
mov r11d, eax
and r11d, 0x1f
imul r11, r11, 0x38
add r11, qword [rbx + rdi*8]
jmp 0x10002975b
mov r11, qword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [r11 + 8]
and al, 0x82
cmp al, 0x82
jne 0x10002976a
bts dword [rsi + 0x18], 0xd
cmp dword [rsi + 0x24], 0x200
jne 0x10002978e
test byte [rsi + 0x18], 8
je 0x10002978e
mov eax, dword [rsi + 0x24]
test dword [rsi + 0x18], 0x400
mov ecx, 0x1000
cmove eax, ecx
mov dword [rsi + 0x24], eax
mov rcx, qword [rsi]
dec dword [rsi + 8]
movzx eax, byte [rcx]
inc rcx
mov qword [rsi], rcx
jmp 0x1000297b2
neg eax
mov dword [rsi + 8], edi
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [rsi + 0x18], eax
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x4108a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp - 0x28], rdx
mov r15, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
cmp dword [0x00438d4c], 0xa
mov eax, dword [0x004389a0]
setl cl
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
mov edx, ecx
or dl, al
mov byte [rbp + 7], dl
mov edx, ecx
xor dl, al
xor dl, 1
mov byte [rbp + 6], dl
and cl, al
xor cl, 1
mov byte [rbp + 5], cl
mov r14d, 0x1e27
mov r12d, dword [rbp - 0x20]
xor r12d, r14d
mov dword [rbp - 0x20], r12d
mov edi, dword [rbp - 0x18]
xor edi, r14d
mov dword [rbp - 0x18], edi
mov ebx, dword [rbp - 0x14]
xor ebx, r14d
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x10], 0x1e27
mov r13d, r8d
mov eax, 0x2e15
mov cl, 1
mov dword [rbp], ecx
mov dword [rbp - 4], 0
mov esi, r14d
xor esi, 0x601c
nop
cmp eax, 0x7793
jg 0x410960
cmp eax, 0x28d2
je 0x410a74
cmp eax, 0x2e15
jne 0x410940
jmp 0x410a30
cmp eax, 0x7794
je 0x4109ec
cmp eax, 0x7e1d
jne 0x410940
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov r9, rsp
sub rsp, 0x20
mov rcx, r15
mov rdx, r13
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r15
mov rdx, qword [rbp - 0x28]
mov r8, r13
call sub.ntdll.dll_memcpy
add rsp, 0x20
mov eax, dword [0x00438a7c]
mov ecx, eax
not ecx
imul ecx, eax
mov eax, ebx
xor eax, 0x52f6
cmp byte [rbp - 4], 0
cmove ebx, eax
test cl, 1
mov eax, 0x6995
mov ecx, 0x36d3
cmove eax, ecx
cmp dword [0x00438acc], 0xa
cmovl eax, ecx
xor eax, edi
mov cl, 1
mov dword [rbp - 4], ecx
jmp 0x410940
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov r9, rsp
sub rsp, 0x20
mov rcx, r15
mov rdx, r13
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r15
mov rdx, qword [rbp - 0x28]
mov r8, r13
call sub.ntdll.dll_memcpy
add rsp, 0x20
mov eax, esi
jmp 0x410940
mov al, byte [rbp + 6]
mov eax, edi
xor eax, 0x26
mov ecx, ebx
xor ecx, 0x26
mov edx, r14d
xor edx, 0x26
test byte [rbp], 1
cmovne ebx, ecx
cmovne edi, eax
cmovne r14d, edx
mov al, byte [rbp + 5]
cmp byte [rbp + 7], 0
mov eax, 0x69b3
mov ecx, 0x603a
cmovne eax, ecx
xor eax, r12d
mov dword [rbp], 0
jmp 0x410936
mov dword [rbp - 0x10], r14d
mov dword [rbp - 0x18], edi
mov dword [rbp - 0x14], ebx
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x417840
Capabilities:
Check for debugger via api

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [0x004390a8]
mov ecx, eax
not ecx
mov edx, dword [0x00438c7c]
cmp edx, 9
setg bl
cmp edx, 0xa
setl dl
add ecx, eax
add ecx, eax
add ecx, 0xfffffffe
imul ecx, eax
test cl, 1
sete al
and dl, al
xor bl, al
xor bl, dl
xor bl, 1
mov byte [rbp + 7], bl
mov byte [rbp + 6], bl
mov r12d, 0x1e27
mov r14d, dword [rbp - 0x20]
xor r14d, r12d
mov dword [rbp - 0x20], r14d
mov r15d, dword [rbp - 0x18]
xor r15d, r12d
mov dword [rbp - 0x18], r15d
mov ebx, dword [rbp - 0x14]
xor ebx, r12d
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x10], 0x1e27
mov eax, 0x2e15
mov r13b, 1
mov dword [rbp], 0
mov edi, r12d
xor edi, 0x601c
nop dword [rax + rax]
cmp eax, 0x7793
jg 0x417900
cmp eax, 0x28d2
je 0x417a2f
cmp eax, 0x2e15
jne 0x4178e0
jmp 0x4179f0
cmp eax, 0x7794
je 0x4179a8
cmp eax, 0x7e1d
jne 0x4178e0
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov rsi, rsp
mov dword [rsi], 0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
add rsp, 0x20
mov eax, dword [rsi]
mov dword [rbp - 4], eax
mov eax, dword [0x00439318]
mov ecx, eax
xor ecx, 0xe537b4ec
mov edx, eax
xor edx, 0x1ac84b13
add ecx, eax
lea esi, [rcx + rdx]
add ecx, edx
add ecx, 2
add esi, ecx
not ecx
add ecx, esi
add ecx, 0xffffffff
imul ecx, eax
mov eax, ebx
xor eax, 0x52f6
cmp byte [rbp], 0
cmove ebx, eax
test cl, 1
mov eax, 0x6995
mov ecx, 0x36d3
cmove eax, ecx
cmp dword [0x00438c24], 0xa
cmovl eax, ecx
xor eax, r15d
mov cl, 1
mov dword [rbp], ecx
jmp 0x4178e0
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov rsi, rsp
mov dword [rsi], 0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
add rsp, 0x20
mov eax, dword [rsi]
mov dword [rbp - 4], eax
mov eax, edi
jmp 0x4178e0
mov eax, r15d
xor eax, 0x26
mov ecx, ebx
xor ecx, 0x26
mov edx, r12d
xor edx, 0x26
test r13b, 1
cmovne ebx, ecx
cmovne r15d, eax
cmovne r12d, edx
mov al, byte [rbp + 6]
cmp byte [rbp + 7], 0
mov eax, 0x69b3
mov ecx, 0x603a
cmovne eax, ecx
xor eax, r14d
xor r13d, r13d
jmp 0x4178d2
mov dword [rbp - 0x10], r12d
mov dword [rbp - 0x18], r15d
mov dword [rbp - 0x14], ebx
mov eax, dword [rbp - 4]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x423fd0
Capabilities:
Check for debugger via api

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [0x004394ec]
cmp dword [0x00439784], 0xa
setl cl
lea edx, [rax + 1]
imul edx, eax
and edx, 1
sete al
mov byte [rbp + 7], dl
or al, cl
mov byte [rbp + 6], al
and cl, byte [rbp + 7]
xor cl, 1
mov byte [rbp + 5], cl
mov r13d, 0x1e27
mov r14d, dword [rbp - 0x20]
xor r14d, r13d
mov dword [rbp - 0x20], r14d
mov r15d, dword [rbp - 0x18]
xor r15d, r13d
mov dword [rbp - 0x18], r15d
mov ebx, dword [rbp - 0x14]
xor ebx, r13d
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x10], 0x1e27
mov eax, 0x2e15
mov r12b, 1
mov dword [rbp], 0
mov edi, r13d
xor edi, 0x601c
nop dword [rax]
cmp eax, 0x7793
jg 0x424080
cmp eax, 0x28d2
je 0x4241b2
cmp eax, 0x2e15
jne 0x424060
jmp 0x424170
cmp eax, 0x7794
je 0x42412c
cmp eax, 0x7e1d
jne 0x424060
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov rsi, rsp
mov dword [rsi], 0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
add rsp, 0x20
mov eax, dword [rsi]
mov dword [rbp - 4], eax
mov eax, dword [0x00439438]
mov ecx, dword [0x0043970c]
cmp ecx, 9
setg r8b
cmp ecx, 0xa
setl cl
mov esi, eax
and esi, 0xc10552bf
lea edx, [rsi - 0x3efaad40]
not edx
add esi, eax
add edx, esi
add edx, 0xfffffffe
imul edx, eax
and dl, 1
or dl, cl
xor dl, r8b
mov eax, ebx
xor eax, 0x52f6
cmp byte [rbp], 0
cmove ebx, eax
test dl, dl
mov eax, 0x6995
mov ecx, 0x36d3
cmovne eax, ecx
xor eax, r15d
mov cl, 1
mov dword [rbp], ecx
jmp 0x424060
mov eax, 0x10
call fcn.0042cd60
sub rsp, rax
mov rsi, rsp
mov dword [rsi], 0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
add rsp, 0x20
mov eax, dword [rsi]
mov dword [rbp - 4], eax
mov eax, edi
jmp 0x424060
mov al, byte [rbp + 7]
mov eax, r15d
xor eax, 0x26
mov ecx, ebx
xor ecx, 0x26
mov edx, r13d
xor edx, 0x26
test r12b, 1
cmovne ebx, ecx
cmovne r15d, eax
cmovne r13d, edx
mov al, byte [rbp + 5]
cmp byte [rbp + 6], 0
mov eax, 0x69b3
mov ecx, 0x603a
cmovne eax, ecx
xor eax, r14d
xor r12d, r12d
jmp 0x424054
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0x18], r15d
mov dword [rbp - 0x14], ebx
mov eax, dword [rbp - 4]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret