joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180030650
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800306be
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800306be
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800306be
xor eax, eax
jmp 0x180030705
mov dword [rsp], 1
jmp 0x1800306cf
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180030700
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800306fe
xor eax, eax
jmp 0x180030705
jmp 0x1800306c7
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x140053960
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140252540]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400575b0
test rax, rax
je 0x1400539b4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140053a49
mov ecx, 2
call fcn.14005af70
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140056f40
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140053a35
test ebx, ebx
jne 0x140053a35
lea ecx, [rax + 2]
call fcn.14005af70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400582e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14005831e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140058300
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140058505
mov ecx, 3
call fcn.140064430
cmp eax, 1
je 0x1400584bc
mov ecx, 3
call fcn.140064430
test eax, eax
jne 0x140058355
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x1400584bc
cmp edi, 0xfc
je 0x140058505
mov qword [rsp + 0x50], rbp
lea rbp, [0x1402525d0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140053390
test eax, eax
je 0x140058399
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400538c0
lea rdx, [0x1402525e9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x1402526ed], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1400583e9
lea r8, str._program_name_unknown_
lea rcx, [0x1402525e9]
mov edx, 0x2fb
call fcn.140053390
test eax, eax
je 0x1400583e9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400538c0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1402525e9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140058438
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1402528e4]
lea r9d, [rax + 3]
lea r8, [0x14006e284]
sub rdx, rcx
call fcn.140064310
test eax, eax
je 0x140058438
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400538c0
lea r8, [0x14006e280]
mov edx, 0x314
mov rcx, rbp
call fcn.140056240
test eax, eax
je 0x140058464
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400538c0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140056240
test eax, eax
je 0x140058494
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400538c0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1400640b0
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140058505
cmp rax, 0xffffffffffffffff
je 0x140058505
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140058520
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140064430
cmp eax, 1
je 0x140058552
mov ecx, 3
call fcn.140064430
test eax, eax
jne 0x140058606
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140058606
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x14005857e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140058568
jmp 0x1400585f2
cmp edi, 0x17
jae 0x1400585f2
mov ecx, 3
call fcn.140064430
cmp eax, 1
je 0x1400585a9
mov ecx, 3
call fcn.140064430
test eax, eax
jne 0x1400585f2
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x1400585f2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1400585f2
cmp rax, 0xffffffffffffffff
je 0x1400585f2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.1400582e0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x140058767
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400980c0]
jne 0x140052e3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140052e36
repz ret
ror rcx, 0x10
jmp 0x1400586c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402529a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140252a98]
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 0x140058745
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, [0x1402529a0]
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 0x140058767
mov rax, qword [rsp + 0x88]
mov qword [0x140252a98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140252a38], rax
mov rax, qword [0x140252a98]
mov qword [0x140252910], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140252a20], rax
mov dword [0x140252900], 0xc0000409
mov dword [0x140252904], 1
mov rax, qword [0x1400980c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400980c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140252998], eax
mov ecx, 1
call fcn.14005af70
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006e2c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140252998], 0
jne 0x1400587ee
mov ecx, 1
call fcn.14005af70
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 0x140061020
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x14025343c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x14006107c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14006105c
mov dword [0x14025343c], 1
jmp 0x14006108f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140061076
mov dword [0x14025343c], 2
jmp 0x1400610f9
mov eax, dword [0x14025343c]
cmp eax, 1
jne 0x1400610f0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400610ca
cmp word [rdi], bp
mov rax, rdi
je 0x1400610a9
add rax, 2
cmp word [rax], bp
jne 0x140061097
add rax, 2
cmp word [rax], bp
jne 0x140061097
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.1400580b0
test rax, rax
mov rbx, rax
jne 0x1400610d1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400611eb
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140055d10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x1400611eb
cmp eax, 2
je 0x1400610f9
test eax, eax
jne 0x1400610ca
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x1400610ca
cmp byte [rax], bpl
mov rbx, rax
je 0x140061148
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400610ca
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x140061110
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.140058120
test rax, rax
mov r12, rax
jne 0x14006116d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x1400611eb
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x1400611d5
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400611fe
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x140061180
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.140053120
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x1400611e6
Function at 0x1400640b0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400574c0
xor ebx, ebx
cmp qword [0x140253448], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400641dc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400642ef
lea rdx, [0x14006e538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400642ef
mov rcx, rax
call fcn.1400573f0
lea rdx, [0x14006e528]
mov rcx, rsi
mov qword [0x140253448], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400573f0
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140253450], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400573f0
lea rcx, [rsp + 0x98]
mov qword [0x140253458], rax
call fcn.1400549b0
test eax, eax
je 0x14006418f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400538c0
cmp dword [rsp + 0x98], 2
jne 0x1400641dc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400573f0
test rax, rax
mov qword [0x140253468], rax
je 0x1400641dc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400573f0
mov qword [0x140253460], rax
mov rcx, qword [0x140253460]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140064288
cmp qword [0x140253468], rbp
je 0x140064288
call fcn.1400575b0
mov rcx, qword [0x140253468]
mov rsi, rax
call fcn.1400575b0
test rsi, rsi
mov r12, rax
je 0x140064288
test rax, rax
je 0x140064288
call rsi
test rax, rax
je 0x140064253
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140064253
test byte [rsp + 0x40], 1
jne 0x140064288
lea rcx, [rsp + 0x30]
call fcn.140054a00
test eax, eax
je 0x140064275
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400538c0
cmp dword [rsp + 0x30], 4
jb 0x140064282
bts edi, 0x15
jmp 0x1400642c6
bts edi, 0x12
jmp 0x1400642c6
mov rcx, qword [0x140253450]
cmp rcx, rbp
je 0x1400642c6
call fcn.1400575b0
test rax, rax
je 0x1400642c6
call rax
test rax, rax
mov rbx, rax
je 0x1400642c6
mov rcx, qword [0x140253458]
cmp rcx, rbp
je 0x1400642c6
call fcn.1400575b0
test rax, rax
je 0x1400642c6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140253448]
call fcn.1400575b0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400642ef
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400642f1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065900
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400980c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140065947
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052e20
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140054d10
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052e20
add rsp, 0x38
ret
Function at 0x2bfc91550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2bfc92160
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.2bfc92160
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x2bfc915c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2bfcd1064]
mov rbx, rcx
test esi, esi
jle 0x2bfc916f0
mov rax, qword [0x2bfcd1068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2bfc9160b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2bfc91695
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2bfc915f0
mov rcx, rbx
call fcn.2bfc91e20
mov rdi, rax
test rax, rax
je 0x2bfc91712
mov rax, qword [0x2bfcd1068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2bfc91f60
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2bfcd1068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2bfc916f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2bfc9168e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2bfc916a0
add dword [0x2bfcd1064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2bfcd1068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2bfc9168e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2bfc91550
nop dword [rax]
xor esi, esi
jmp 0x2bfc91618
mov rax, qword [0x2bfcd1068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2bfc91550
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2bfc91550
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2bfc91a90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2bfcd10a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2bfcd1080]
test rbx, rbx
je 0x2bfc91aec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x2bfc91ae3
test rsi, rsi
je 0x2bfc91ae3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2bfc91ac8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x2bfc91e20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2bfcce230]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2bfc91e40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2bfc91e48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2bfc91e40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2bfc91e9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2bfc91e94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2bfc91e40
add rax, 0x28
cmp rax, r9
jne 0x2bfc91e80
xor eax, eax
ret

Function at 0x2bfc91ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2bfcce230]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2bfc91ebf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2bfc91ec8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2bfc91ebf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2bfc91f60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2bfcce230]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2bfc91f7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2bfc91f88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2bfc92360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
xor r9d, r9d
movsxd rax, dword [rdx + 0x3c]
mov r10d, dword [rax + rdx + 0x88]
add r10, rdx
mov rbx, rcx
mov r8, rdx
mov r11d, dword [r10 + 0x20]
mov esi, dword [r10 + 0x18]
add r11, rdx
cmp esi, r9d
jbe 0x2bfc923cc
mov ecx, dword [r11 + r9*4]
add rcx, r8
call fcn.2bfc924c0
mov r12d, eax
lea rax, [r9 + 1]
cmp r12d, ebx
jne 0x2bfc923c7
mov edx, dword [r10 + 0x24]
add r9, r9
mov eax, dword [r10 + 0x1c]
add r9, r8
movzx edx, word [r9 + rdx]
lea rdx, [r8 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r8
jmp 0x2bfc923ce
mov r9, rax
jmp 0x2bfc9238b
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x2bfc923e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
cmp word [rax], 0x5a4d
jne 0x2bfc9240e
movsxd rdx, dword [rax + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x2bfc9240e
cmp dword [rax + rdx], 0x4550
je 0x2bfc92413
dec rax
jmp 0x2bfc923ed
ret

Function at 0x2bfc92450
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [rcx - 1], 0xcc
je 0x2bfc924ae
test r8d, r8d
jne 0x2bfc9245f
sub rcx, 0x20
mov r9b, byte [rcx]
cmp r9b, 0xe9
je 0x2bfc92472
mov r8b, byte [rcx + 3]
cmp r8b, 0xe9
jne 0x2bfc92479
inc edx
xor r8d, r8d
jmp fcn.2bfc92450
xor eax, eax
cmp r9b, 0x4c
jne 0x2bfc924b0
cmp byte [rcx + 1], 0x8b
jne 0x2bfc924b0
cmp byte [rcx + 2], 0xd1
jne 0x2bfc924ae
cmp r8b, 0xb8
jne 0x2bfc924ae
cmp byte [rcx + 6], 0
jne 0x2bfc924b0
movzx eax, byte [rcx + 5]
shl eax, 8
mov r8d, eax
movzx eax, byte [rcx + 4]
or eax, r8d
add eax, edx
jmp 0x2bfc924b0
xor eax, eax
ret
Function at 0x2bfc924c0
Capabilities:
Resolve function by brute ratel badger hash

Disassembly:
xor eax, eax
movsx edx, byte [rcx]
test dl, dl
je 0x2bfc924db
imul eax, eax, 0x801
inc rcx
or eax, 0x2800000
add eax, edx
jmp 0x2bfc924c2
ret
Function at 0x14000667c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14005a5e0], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x1400066dc
movdqa xmm0, xmmword [0x14003fb20]
movdqa xmm1, xmmword [0x14003fb10]
movdqa xmmword [0x140051380], xmm0
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [0x140051390], xmm1
movdqa xmm1, xmmword [0x14003fb00]
movdqa xmmword [0x1400513a0], xmm0
movdqa xmmword [0x1400513b0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140025ea0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14003fad0]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400066f8
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140006f90
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140006fb6
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x1400513c0]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x140006f95
mov eax, ecx
ret

Function at 0x140007218
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x1400072a4
and qword [r11 - 0x38], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x40], 0
lea r8, [r11 + 8]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x48], 0
mov rcx, rsi
and qword [r11 - 0x50], 0
mov dword [r11 + 8], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x58], rax
call fcn.140007b80
xor r9d, r9d
lea r10, [rsp + 0x50]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x140007282
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x1400072ec
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140007b80
mov r8, r14
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140027210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret