joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4db7b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dc1b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dc24a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc22e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc222
cmp qword [rbp - 0x10], 0
je 0x2fc4dc222
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc1e8
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc24b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc350
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc378
mov eax, 0
jmp 0x2fc4dc3c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc3a1
mov eax, 0
jmp 0x2fc4dc3c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc3c1
mov eax, 0
jmp 0x2fc4dc3c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc3cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc44a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc441
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc441
mov rax, qword [rbp - 8]
jmp 0x2fc4dc45f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc414
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140c211b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c2133f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c211e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c211cf
add dl, dl
jne 0x140c211f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c21256
xor eax, eax
add dl, dl
jne 0x140c21205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c2130d
add dl, dl
jne 0x140c21216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c21223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c21230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c2123d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c2124a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c211de
mov eax, 1
add dl, dl
jne 0x140c21266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c21273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c2125b
sub eax, ebx
mov ebx, 1
jne 0x140c212ac
mov ecx, 1
add dl, dl
jne 0x140c2128e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c2129b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c21283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c211de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c212c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c212d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c212bd
cmp eax, 0x7d00
jae 0x140c212fb
cmp eax, 0x500
jb 0x140c212f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c211de
cmp eax, 0x7f
ja 0x140c212fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c211de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c21332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c211de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1401547e4
Capabilities:
Encode data using xor

Disassembly:
jmp fcn.140147497
lea rsp, [rsp + 0x10]
je 0x140136aa0
mov ecx, 0xdb0e3bc
and rcx, 0xffffffffbc23eab2
push r9
movzx r9d, cx
lea rcx, [0x14016e178]
movzx r9d, byte [rdx]
push 0xfffffffff7aa5da5
xor r9d, ebp
and word [rsp + 2], 0xf51f
inc byte [rsp + 2]
and r9d, 0xff
mov r9d, dword [rcx + r9*4]
shr ebp, 8
xor ebp, r9d
rol qword [rsp], 0xae
inc rdx
xor ebp, 0x3410a02a
dec rbx
lea rsp, [rsp + 8]
jne 0x140154808
call fcn.140136a9c
lea rdi, [rdi + r11 - 0x695711ed]
xor r11w, r11w
shr r11b, 0xe6
lea r10, [r10 + r11 - 0x69570002]
shr r11, 0x24
or r11w, r11w
adc r11w, word [r10 + r11*8]
call fcn.1401738e8
Function at 0x18001b120
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
cmp rax, qword [rdx]
je 0x18001b1f5
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18001b1d2
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18001b1d2
mov r15d, dword [r9 + 0x20]
dec r10d
mov ebp, 0x88e15b1
lea rcx, [r15 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov sil, byte [r11]
inc r11
test sil, sil
je 0x18001b1cd
movsx ecx, sil
sub sil, 0x41
mov edx, ecx
or edx, 0x20
cmp sil, 0x19
mov sil, byte [r11]
cmova edx, ecx
inc r11
xor edx, ebp
imul ebp, edx, 0x1000193
test sil, sil
jne 0x18001b19e
cmp ebp, 0x3eb80fcd
je 0x18001b1d7
test r10d, r10d
jne 0x18001b180
mov rax, qword [rax]
jmp 0x18001b15b
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp ecx, 5
ja 0x18001b221
je 0x18001b221
test ecx, ecx
je 0x18001b221
sub ecx, 1
je 0x18001b217
sub ecx, 1
jne 0x18001b221
mov rax, qword [rdi + 0x10]
cmp qword [rbx + 0x10], rax
jmp 0x18001b229
mov rax, qword [rdi + 8]
cmp qword [rbx + 8], rax
jmp 0x18001b229
mov rax, qword [rdi + 0x18]
cmp qword [rbx + 0x18], rax
mov rbx, qword [rsp + 0x40]
sete al
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x18001b330
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9b, r9b
je 0x18001b382
test r8, r8
je 0x18001b3a5
movabs r9, 0x100000001b3
mov al, byte [r10 + rbx]
mov dl, byte [r10 + rbx]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [r10 + rbx]
cmp dl, 0x19
cmova ecx, eax
inc r10
imul r11, r9
movsx rax, cl
xor r11, rax
cmp r10, r8
jb 0x18001b352
jmp 0x18001b3a5
test r8, r8
je 0x18001b3a5
movabs r9, 0x100000001b3
movsx rcx, byte [r10 + rdx]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x18001b391
mov rbx, qword [rsp + 8]
mov rax, r11
ret
xor r8d, r8d
cmp byte [rcx], r8b
je 0x18002527e
inc r8
cmp byte [r8 + rcx], 0
jne 0x180025274
mov r9b, dl
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x18001b330
Function at 0x18001f140
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 r14
push r15
sub rsp, 0x20
mov r8b, byte [rcx]
xor ebx, ebx
mov r12, rdx
mov rdi, rcx
cmp r8b, 4
je 0x18001f21d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18001f1fa
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18001f1fa
mov r15d, dword [r9 + 0x20]
dec r10d
mov ebp, 0xfb006e07
lea rcx, [r15 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov sil, byte [r11]
inc r11
test sil, sil
je 0x18001f1f5
movsx ecx, sil
sub sil, 0x41
mov edx, ecx
or edx, 0x20
cmp sil, 0x19
mov sil, byte [r11]
cmova edx, ecx
inc r11
xor edx, ebp
imul ebp, edx, 0x1000193
test sil, sil
jne 0x18001f1c6
cmp ebp, 0x53e6347b
je 0x18001f1ff
test r10d, r10d
jne 0x18001f1a8
mov rax, qword [rax]
jmp 0x18001f183
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov r8b, byte [rdi]
mov rbp, qword [rsp + 0x48]
lea rax, [rdi + 8]
mov rsi, qword [rsp + 0x50]
cmp r8b, 4
mov rdi, qword [rsp + 0x58]
cmove rbx, rax
mov al, byte [rbx]
mov rbx, qword [rsp + 0x40]
mov byte [r12], al
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001f250
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x20
movzx r9d, byte [rcx]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
cmp r9d, 5
ja 0x18001f2d0
je 0x18001f2b2
mov edx, r9d
test r9d, r9d
je 0x18001f2e5
sub edx, 1
je 0x18001f2e5
sub edx, 1
je 0x18001f2e5
sub edx, 1
je 0x18001f2e5
cmp edx, 1
jne 0x18001f2e5
lea rax, [rcx + 8]
cmp r9b, 4
cmove r8, rax
movzx eax, byte [r8]
mov dword [r11], eax
jmp 0x18001f3b3
sub r9b, 5
cmp r9b, 1
setbe al
add rcx, 8
neg al
sbb rax, rax
and rax, rcx
mov eax, dword [rax]
jmp 0x18001f3b1
mov ecx, r9d
sub ecx, 6
je 0x18001f3a2
sub ecx, 1
je 0x18001f38f
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18001f36d
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18001f36d
mov r14d, dword [r10 + 0x20]
dec r11d
mov esi, 0xa025cd87
lea rcx, [r14 + r11*4]
mov ebx, dword [rcx + r9]
add rbx, r9
mov dil, byte [rbx]
inc rbx
test dil, dil
je 0x18001f368
movsx ecx, dil
sub dil, 0x41
mov edx, ecx
or edx, 0x20
cmp dil, 0x19
mov dil, byte [rbx]
cmova edx, ecx
inc rbx
xor edx, esi
imul esi, edx, 0x1000193
test dil, dil
jne 0x18001f339
cmp esi, 0xc95a72fb
je 0x18001f372
test r11d, r11d
jne 0x18001f31b
mov rax, qword [rax]
jmp 0x18001f2f6
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
call rax
jmp 0x18001f3b3
lea rax, [r10 + 8]
cmp r9b, 7
cmove r8, rax
cvttsd2si eax, qword [r8]
jmp 0x18001f3b1
lea rax, [r10 + 8]
cmp r9b, 6
cmove r8, rax
mov eax, dword [r8]
mov dword [rdx], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18001f3d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x20
movzx r8d, byte [rcx]
xor r9d, r9d
mov r10, rcx
cmp r8d, 5
ja 0x18001f42a
je 0x18001f40c
test r8d, r8d
je 0x18001f43f
sub r8d, 1
je 0x18001f43f
sub r8d, 1
jmp 0x18001f43f
sub r8b, 5
cmp r8b, 1
setbe al
add rcx, 8
neg al
sbb rax, rax
and rax, rcx
mov eax, dword [rax]
jmp 0x18001f50b
mov ecx, r8d
sub ecx, 6
je 0x18001f4fc
sub ecx, 1
je 0x18001f4e9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x18001f4c7
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18001f4c7
mov r14d, dword [r10 + 0x20]
dec r11d
mov esi, 0x58cd028a
lea rcx, [r14 + r11*4]
mov ebx, dword [rcx + r8]
add rbx, r8
mov dil, byte [rbx]
inc rbx
test dil, dil
je 0x18001f4c2
movsx ecx, dil
sub dil, 0x41
mov edx, ecx
or edx, 0x20
cmp dil, 0x19
mov dil, byte [rbx]
cmova edx, ecx
inc rbx
xor edx, esi
imul esi, edx, 0x1000193
test dil, dil
jne 0x18001f493
cmp esi, 0x6cb51b9c
je 0x18001f4cc
test r11d, r11d
jne 0x18001f475
mov rax, qword [rax]
jmp 0x18001f450
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
jmp 0x18001f50d
lea rax, [r10 + 8]
cmp r8b, 7
cmove r9, rax
cvttsd2si eax, qword [r9]
jmp 0x18001f50b
lea rax, [r10 + 8]
cmp r8b, 6
cmove r9, rax
mov eax, dword [r9]
mov dword [rdx], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180020d30
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0xb0], 0
mov byte [rcx + 0x68], 1
je 0x180020df9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180020dd9
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180020dd9
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0x86bbd8dc
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180020dd4
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180020da9
cmp edi, 0x4de104d6
je 0x180020dde
test r10d, r10d
jne 0x180020d8c
mov rax, qword [rax]
jmp 0x180020d67
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180020e14
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x29], 0
mov byte [rcx + 0x28], 1
je 0x180020eda
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180020eba
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180020eba
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0x5ae40513
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180020eb5
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180020e8a
cmp edi, 0x9440802f
je 0x180020ebf
test r10d, r10d
jne 0x180020e6d
mov rax, qword [rax]
jmp 0x180020e48
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180023234
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
and qword [rcx], 0
mov r14, rdx
and qword [rcx + 8], 0
mov r12b, r8b
mov rax, qword [rdx]
mov rdi, rcx
mov qword [rcx], rax
mov r13d, r9d
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
add rcx, 0x10
and qword [rdx], 0
and qword [rdx + 8], 0
xor edx, edx
lea r8d, [rdx + 0x40]
call fcn.180049350
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x18002330e
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x18002330e
mov r15d, dword [r10 + 0x20]
dec r9d
mov esi, 0xc20cae0a
lea rcx, [r15 + r9*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180023309
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x1800232de
cmp esi, 0x90e1e45a
je 0x180023313
test r9d, r9d
jne 0x1800232c1
mov rax, qword [rax]
jmp 0x18002329c
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov qword [rdi + 0x50], rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18002333d
mov cl, byte [rcx]
mov byte [rdi + 0x58], cl
mov rax, qword [rax]
test rax, rax
je 0x18002334a
mov al, byte [rax]
mov ebx, 0x200
mov byte [rdi + 0x59], al
mov r8d, ebx
lea rcx, [rdi + 0x5a]
xor edx, edx
call fcn.180049350
lea rcx, [rdi + 0x260]
mov byte [rdi + 0x25a], r12b
and qword [rcx], 0
mov r9b, r12b
and qword [rcx + 0x10], 0
xor r8d, r8d
mov edx, ebx
mov qword [rcx + 0x18], 0xf
call fcn.18001ceac
mov dword [rdi + 0x280], r13d
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1800233c6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1800233c6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1800233c6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800236f4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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
movzx r8d, dl
xor edi, edi
mov rsi, rcx
cmp r8d, 5
ja 0x1800237bc
je 0x1800238a5
test dl, dl
je 0x1800238a5
sub r8d, 1
je 0x180023782
sub r8d, 1
je 0x180023765
sub r8d, 1
je 0x180023751
cmp r8d, 1
jne 0x1800237da
mov byte [rcx], dil
jmp 0x1800238a8
mov ecx, 0x20
call fcn.180048830
mov qword [rax + 0x18], 0xf
jmp 0x180023773
mov ecx, 0x18
call fcn.180048830
mov qword [rax + 8], rdi
mov qword [rax], rdi
mov qword [rax + 0x10], rdi
mov qword [rsi], rax
jmp 0x1800238a8
mov ecx, 0x10
call fcn.180048830
mov ecx, 0x50
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rdi
call fcn.180048830
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rsi], rbx
jmp 0x1800238a8
sub r8d, 6
je 0x1800238a5
sub r8d, 1
je 0x1800238a5
cmp r8d, 1
je 0x18002388e
mov qword [rcx], rdi
test dl, dl
jne 0x1800238a8
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18002386c
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18002386c
mov r15d, dword [r9 + 0x20]
dec r10d
mov r14d, 0x76a2c59
lea rcx, [r8 + r10*4]
mov r11d, dword [rcx + r15]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180023867
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, r14d
imul r14d, edx, 0x1000193
test bl, bl
jne 0x180023839
cmp r14d, 0xa624f675
je 0x180023871
test r10d, r10d
jne 0x18002381b
mov rax, qword [rax]
jmp 0x1800237f6
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
jmp 0x1800238a8
mov ecx, 0x28
call fcn.180048830
mov qword [rax + 0x18], rdi
mov byte [rax + 0x20], dil
jmp 0x18002376f
mov qword [rcx], rdi
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x180023d2c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov al, byte [rcx]
mov rdi, rdx
mov rsi, rcx
test al, al
jne 0x180023d87
mov byte [rcx], 1
mov ecx, 0x10
call fcn.180048830
mov ecx, 0x50
mov rbx, rax
and qword [rax], 0
and qword [rax + 8], 0
call fcn.180048830
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov al, byte [rsi]
mov qword [rsi + 8], rbx
cmp al, 1
jne 0x180023def
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.18001b890
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rsp + 0x20]
cmp rdx, 0x10
jb 0x180023de6
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180023de1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180023eeb
mov rcx, r8
call fcn.180048838
lea rax, [rbx + 0x40]
jmp 0x180023ec8
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180023e72
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180023e72
mov r14d, dword [r9 + 0x20]
dec r10d
mov esi, 0x5616319e
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180023e6d
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x180023e42
cmp esi, 0x835e8ba8
je 0x180023e77
test r10d, r10d
jne 0x180023e25
mov rax, qword [rax]
jmp 0x180023e00
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180023ec8
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180023ec3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180023eeb
mov rcx, r8
call fcn.180048838
and qword [rdi + 0x10], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.180041574
int3