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

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
test r8, r8
je 0x140047dc2
test dword [rcx + 0x10], 0x100000
jne 0x140047d45
mov r8d, 0x1cd9
lea rdx, [0x14005afe0]
lea rcx, str.tab_bar__Flags__ImGuiTabBarFlags_DockNode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r9d, byte [rsi]
lea r8, [rsi + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140047d92
lea r11, [0x140054fe0]
cmp r9b, 0x23
jne 0x140047d75
cmp byte [r8], r9b
jne 0x140047d75
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140047d62
mov rcx, qword [0x140081880]
not eax
cmp dword [rcx + 0x1d6c], eax
jne 0x140047da9
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140047e48
mov byte [rcx + 0x1dac], 1
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140081880]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x1d18]
cmp dword [rdi + 0x108], 0
jg 0x140047e04
mov r8d, 0x6d1
lea rdx, [0x14004ea10]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140081880]
movsxd rax, dword [rdi + 0x108]
xor edx, edx
mov r8, qword [rdi + 0x110]
mov rcx, rsi
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003020
mov rdi, qword [rsp + 0x38]
cmp dword [rbx + 0x1d6c], eax
jne 0x140047e34
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140047e43
mov byte [rbx + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret

Function at 0x14004b974
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + rdx - 0x7504a81d], r10
lea rdi, [rdi + rdx - 0x7504a821]
push r8
adc r8, r10
mov ecx, edx
mov r8d, dword [rdi + rcx - 0x7504a81d]
xor r8d, ebx
xadd r10b, dl
xor r8d, 0x9011a6bf
sal edx, cl
sub rcx, rsi
movsx eax, cx
lea r8d, [r8 + rcx*2 - 0x708351d7]
Function at 0x180161ad7
Capabilities:
Hash data using murmur3

Disassembly:
dec r9d
call fcn.1800bc5a8
xor dword [rsp + r9 + 8], ebx
sar r9, cl
jnp 0x1800f1aac
mov rsi, qword [rsp + r9 + 8]
movsxd rbx, ebx
mov qword [rsp + r9 + 8], rcx
adc rdi, rbx
rol ebp, 0x95
mov qword [rsp + r9*2], rdi
ret 8

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

Disassembly:
xor esi, 0x531e3db9
mov qword [rsp + rcx*2 - 0x60], rax
sub cx, 0x20f
jne 0x1801c888b

Function at 0x1801b54a2
Capabilities:
Authenticate hmac

Disassembly:
add edx, 0xbd21e83f
adc edx, r10d
mov r8d, dword [r11]
add r11, 4
neg r10w
lea rcx, [r10 + 0x512035ba]
xor r8d, r9d
lea rax, [rdi + rdx + 0x4a97da26]
add r10, r10
bswap r8d
add eax, 0x3634afa5
sbb r10d, edx
jns 0x1801762bf
sar r9, cl
xor dword [rsp + r9], edx
pop rsi
push r8
sal r9w, 0xce
movsxd rdx, edx
adc rdi, rdx
sal dword [rsp + rax*2 - 0x6c1dae2b], cl
push rcx
mov qword [rsp + rax - 0x360ed717], rdi
ret 8
ror r8d, 2
shr eax, cl
jae 0x1801a7aab
call fcn.1800e3c28
mov ebp, dword [r10]
mov eax, 0x360ed718
mov cl, byte [r10 + rax - 0x360ed714]
lea r8, [rax*8 + 0x1f0f2421]
lea r10, [r10 + rax - 0x360ed716]
shr ebp, cl
mov dword [rax + r10 - 0x360ed718], ebp
lea r11, [rax + r11 - 0x360ed71c]
mov edx, dword [rax + r11 - 0x360ed718]
movzx r9d, r8b
xor edx, esi
push rax
dec edx
dec r8w
dec al
lea rbp, [r9*8 + 0x4e1b2301]
bswap edx
add byte [rsp + rax*2 - 0x6c1dae2a], ah
lea edx, [rdx + rbp*4 - 0x6a6abf71]
js 0x1801bb88b
inc bx
neg ecx
xor bx, 0x1096
jmp 0x18015f52d
movzx ecx, r9b
ror edx, 2
xor dword [rsp + rax*2 - 0x6c1dae2e], r9d
mov qword [rsp + rax*2 - 0x6c1dae2e], rsi
lea rsi, [rcx*4 + 0x643c413e]
jp 0x180162f8e
sbb di, dx
mov qword [rbx + rdx*8 - 0x1b8], rcx
jno 0x18010c840
Function at 0x1801b97a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
not ecx
xor dword [rsp + rcx - 0x7db5bcba], r8d
or rdi, rcx
mov edx, edi
call fcn.18010a5d1
mov qword [rsp + rdx*4 - 0x234], r9
mov qword [rsp + rdx - 0x8f], r8
or byte [rsp + rdx*4 - 0x235], 0x81
inc dword [rsp + rdx - 0x8c]
xor dword [rsp + rdx*2 - 0x116], eax
sal byte [rsp + rdx - 0x8f], 3
jnp 0x180129ea8
movsx eax, r8w
neg ebx
lea rcx, [r8 + r8*4 + 0x6131702e]
sub r8, qword [rsp + r8*4]
not ebx
lea rcx, [rcx + rcx*4 + 0x9934b12]
dec ebx
movzx edx, word [rsp + r8*2 + 0x71030e3e]
sal r8d, cl
mov r9d, dword [rsp + rax*2 + 2]
mov qword [rsp + rax*4], rsi
ja 0x18014ea68
mov edi, 0x8a263c13
mov dx, word [rbx]
lea r10, [rdi + rdi*4 - 0x6254276d]
mov esi, edi
mov cl, byte [rbx + 2]
add rbx, 2
movzx r8d, sil
xchg r8b, sil
dec r8
shr dx, cl
sar r10d, 0x75
mov word [rbx + r10 - 0x283], dx
mov ecx, esi
mov eax, dword [r11 + r10*8 - 0x1418]
shr ecx, 0xd5
lea r11, [r11 + r10 - 0x27f]
movsx edx, sil
neg edx
xor eax, r9d
ror r8d, cl
dec eax
xor cx, r8w
neg eax
inc si
xadd dil, cl
ror eax, 3
call fcn.1800b8e4f
mov esi, 0xde09b803
add r11, 4
lea rdi, [rsi + rsi*2 - 0x5be725d1]
lea r10, [rsi + rsi*4 - 0x3f2ddfe]
xor r8d, r9d
lea rcx, [rdi*4 + 0x3734802b]
inc rcx
rol r8d, 1
not r8d
bswap r8d
or r10b, 0x28
add rcx, r10
dec r8d
lea rax, [rdi + rdi + 0x8e5ca0]
push r9
or r10w, r10w
jae 0x1801b684a
neg esi
pop rdx
ror esi, 2
add eax, r11d
push rcx
movzx ebp, r11w
lea esi, [rsi + rax + 0x195ee1a2]
not eax
not esi
push rdx
call fcn.180183212
Function at 0x140001cb4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rdx, [0x140002c20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rsp + 0x58]
mov edx, 1
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
xor ebp, ebp
mov ebx, eax
test eax, eax
jns 0x140001d09
mov edx, eax
lea rcx, [0x140002c40]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x140001e7c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoGetLowerDeviceObject]
test rax, rax
jne 0x140001d2f
lea rcx, [0x140002c70]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x140001e7c
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_IoGetAttachedDevice]
mov rbx, rax
test rax, rax
jne 0x140001d49
lea rcx, [0x140002c90]
jmp 0x140001d20
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
cmp eax, 0xc0000004
je 0x140001d73
mov edx, eax
lea rcx, [0x140002cb0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001dd3
mov edx, dword [rsp + 0x50]
xor ecx, ecx
mov r8d, 0x544147
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
jne 0x140001d9b
lea rcx, [0x140002cd0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001dd3
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
mov esi, eax
test eax, eax
jns 0x140001de5
mov edx, eax
lea rcx, [0x140002cb0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x544147
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140001d49
jmp 0x140001e7c
cmp word [rdi], bp
jbe 0x140001e6f
mov rcx, qword [rdi + 8]
lea rdx, [0x140002cf0]
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x140001e61
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140001e61
movups xmm0, xmmword [0x140002d10]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x140002d20]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x140002d28]
mov dword [rcx + 0x18], eax
movups xmm0, xmmword [0x140002d30]
movups xmmword [rcx + 0x1c], xmm0
movups xmm1, xmmword [0x140002d40]
movups xmmword [rcx + 0x2c], xmm1
movsd xmm0, qword [0x140002d50]
movsd qword [rcx + 0x3c], xmm0
mov eax, dword [0x140002d58]
mov dword [rcx + 0x44], eax
mov al, byte [0x140002d5c]
mov byte [rcx + 0x48], al
mov edx, 0x544147
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400023c0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test esi, esi
je 0x140002440
cmp dword [rbx], 0x45474150
je 0x14000241a
cmp dword [rbx], 0x7865742e
jne 0x140002436
cmp byte [rbx + 4], 0x74
jne 0x140002436
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.14000234c
mov r10, rax
test rax, rax
jne 0x140002440
inc edi
add rbx, 0x28
cmp edi, esi
jb 0x140002404
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000245c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebp, ebp
lea r9, [rax + 0x18]
and dword [rax + 0x18], ebp
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbp + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400024d8
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1400024d8
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rax
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jns 0x1400024f2
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor edi, edi
cmp dword [rbx], edi
jbe 0x1400025b4
mov eax, edi
lea rcx, [rsp + 0x20]
imul rax, rax, 0x128
mov edx, 2
add rax, 8
add rax, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140002516
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140002604
mov rcx, rax
mov rdx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x1400025a4
inc edi
cmp edi, dword [rbx]
jb 0x1400024fc
jmp 0x1400025b4
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x1400025b4
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
jmp 0x1400024da
Function at 0x1400025c8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x1400025d2
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x1400025ff
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x1400025ea
mov eax, ecx
ret

Function at 0x1400026bc
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.1400025c8
xor ebx, eax
test esi, esi
je 0x140002702
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x1400026e6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xde
add al, 0x89
xor al, 0xfb
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
hlt
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 4
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000237c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002380]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180001172
xor al, al
jmp 0x1800011ea
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x180001199
xor al, al
jmp 0x1800011ea
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xe8]
mov rax, qword [rsp + 0x50]
add rax, rcx
cmp qword [rsp + 0x78], rax
jb 0x1800011e2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xe8]
mov rdx, qword [rsp + 0x50]
add rdx, rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xec]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x78], rax
jae 0x1800011e2
mov al, 1
jmp 0x1800011ea
xor al, al
jmp 0x1800011ea
add rsp, 0x68
ret

Function at 0x180001260
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180061370]
mov qword [rsp + 0x20], rax
jmp 0x180001280
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800012a5
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x180001272
add rsp, 0x38
ret

Function at 0x1800012b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180061388], eax
je 0x1800012cc
mov eax, 0x10dd
jmp 0x1800013e7
mov rax, qword [0x1800613a0]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180001370
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x20]
movzx edx, byte [rax + 0x3e]
lea r9, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 8], 0
jne 0x180001340
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x20], 0
je 0x180001340
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x20]
call fcn.180001460
mov r11, qword [rsp + 0x20]
mov qword [r11 + 0x20], 0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18004a460
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1800012d8
mov qword [0x1800613a0], 0
call fcn.1800013f0
mov rax, qword [0x180061398]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800013d0
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.18004a460
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
jmp 0x18000138c
mov qword [0x180061398], 0
mov dword [0x180061388], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180001b20
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x52727464
je 0x180001b3d
xor eax, eax
jmp 0x180001bd6
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
add rax, 0x10000
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
add rax, 0x60
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x18], 0
jmp 0x180001b78
mov eax, dword [rsp + 0x18]
add eax, 1
mov dword [rsp + 0x18], eax
cmp dword [rsp + 0x18], 0x2a9
jae 0x180001bd1
movsxd rcx, dword [rsp + 0x18]
imul rcx, rcx, 0x60
mov rax, qword [rsp + 0x10]
cmp qword [rax + rcx + 0x48], 0
je 0x180001bcf
movsxd rdx, dword [rsp + 0x18]
imul rdx, rdx, 0x60
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp]
cmp qword [rcx + rdx + 0x48], rax
jb 0x180001bcb
movsxd rdx, dword [rsp + 0x18]
imul rdx, rdx, 0x60
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 8]
cmp qword [rcx + rdx + 0x48], rax
jb 0x180001bcf
xor eax, eax
jmp 0x180001bd6
jmp 0x180001b6d
mov eax, 1
add rsp, 0x28
ret

Function at 0x180001cc0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18006138c], 0
je 0x180001cdd
mov eax, dword [0x18006138c]
jmp 0x180001da1
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rsp + 0x50], rax
jne 0x180001cf1
xor eax, eax
jmp 0x180001da1
mov ecx, 0x10
call fcn.18004a0a4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180001d5a
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180001d3f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.18004a460
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18006138c], eax
mov qword [0x180061390], 0
mov eax, dword [rsp + 0x20]
jmp 0x180001da1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180001d76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x180001d1a
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [0x180061398]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov qword [0x180061398], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x180007e40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180007f09
cmp byte [rcx + 0x71], 0
je 0x180007f09
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180007efc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180007eb8
sub eax, 1
je 0x180007ebc
cmp eax, 2
jne 0x180007efc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x180007eea
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180007efc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret