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

Disassembly:
test r9d, 0xff000000
je 0x180020e33
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180020d10
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180020660
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18001fca0
mov dword [rbx + 0x80], 0
jmp 0x180020e1f
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.18001ec00
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18002b6c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18002b70f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18006acb0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18002b74d
cmp rsi, r14
jb 0x18002b745
cmp rsi, r15
jae 0x18002b745
cmp qword [rsi + 8], 0
jne 0x18002b917
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18002b730
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18002b7e2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18002b7d9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18002b7d9
cmp dword [rsp + 0x40], 0x10000
je 0x18002b85b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18002b7d9
sub rbx, rbp
cmp rbx, r14
jae 0x18002b7a0
test rsi, rsi
jne 0x18002b8c0
cmp rdi, r15
ja 0x18002b8ff
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18002b8ff
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18002b8ff
cmp dword [rsp + 0x40], 0x10000
je 0x18002b891
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18002b812
jmp 0x18002b8ff
test rbx, rbx
je 0x18002b7d9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18002b8c0
cmp rbx, r14
jae 0x18002b780
jmp 0x18002b7e2
test rdi, rdi
je 0x18002b8ff
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18002b8c0
cmp rdi, r15
jbe 0x18002b7f0
jmp 0x18002b8ff
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18002b8d0
mov rax, qword [0x18006acb0]
mov qword [rsi], rax
mov qword [0x18006acb0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800300e0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18002c2b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18002c3db
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18002c3d2
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18002c3b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18002c3b4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18002c3b4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18002c372
mov rcx, qword [0x18006a7f8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18002c3d2
jmp 0x18002c3a7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18002c3a7
mov rcx, qword [0x18006a7f8]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18002c3d2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18002c320
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18002c435
cmp dword [rbx + 0xc], esi
jbe 0x18002c435
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18002c42e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18002c100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18002c3f0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800300e0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18002c460
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x18006aca0]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18002c4c9
mov eax, 0xa
jmp 0x18002c516
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18002c4e5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800300e0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18002c540
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18006acac]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x18002c652
mov rcx, qword [0x18006aca0]
add rcx, 0x20
test byte [rcx], 2
je 0x18002c583
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x18002c567
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18002c652
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.18002c2b0
mov edx, dword [0x18006acac]
cmp ebx, edx
jae 0x18002c5dd
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18006aca0]
test byte [rcx + rax + 0x20], 2
jne 0x18002c5d7
mov ecx, ebx
call fcn.18002c460
mov edi, eax
test eax, eax
jne 0x18002c5dd
mov edx, dword [0x18006acac]
inc ebx
cmp ebx, edx
jb 0x18002c5b0
cmp qword [rsp + 0x20], 0
je 0x18002c652
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002c63e
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18002c62a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18002c600
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18006a7f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180030090
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x1800300c3
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180030060]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140015680
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001568d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001569d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140015685
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400156b5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400156a2
sub eax, 3
jb 0x1400156cf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140015706
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400156f6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400156f4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400156e3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140015642
jmp 0x14001568d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3400
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140015752
cmp rsi, rcx
jae 0x14001575a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140015739
cmp al, 0x8f
ja 0x140015739
cmp byte [rsi - 2], 0xf
je 0x14001573f
sub al, 0xe8
cmp al, 1
ja 0x140015723
cmp rsi, rcx
jae 0x14001575a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140015729
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001575a
lodsb al, byte [rsi]
jmp 0x140015739
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x13000]
mov eax, dword [rdi]
or eax, eax
je 0x1400157b7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x15224]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140015767
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400157b1
mov qword [rbx], rax
add rbx, 8
jmp 0x140015787
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400157f1
cmp al, 0xef
ja 0x1400157e3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400157c3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400157d2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140015845
sub rsp, 0xffffffffffffff80
jmp 0x1400036d0
Function at 0x140d63058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d631df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d63089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d6306f
add dl, dl
jne 0x140d63096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d630f6
xor eax, eax
add dl, dl
jne 0x140d630a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d631ad
add dl, dl
jne 0x140d630b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d630c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d630d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d630dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d630ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d6307e
mov eax, 1
add dl, dl
jne 0x140d63106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d63113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d630fb
sub eax, ebx
mov ebx, 1
jne 0x140d6314c
mov ecx, 1
add dl, dl
jne 0x140d6312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d6313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d63123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d63168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d63175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d6315d
cmp eax, 0x7d00
jae 0x140d6319b
cmp eax, 0x500
jb 0x140d63196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6307e
cmp eax, 0x7f
ja 0x140d6319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d631d2
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 0x140d6307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400074ae
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x30
mov word [rsp + 0x22], dx
mov qword [rsp + 0x18], rcx
movzx eax, word [rsp + 0x22]
mov ecx, 2
cdq
idiv ecx
mov word [rsp + 0x22], ax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 8], 0xfb00ec0d
mov eax, dword [rsp + 8]
mov dword [rsp + 4], eax
sub eax, 0x8b911a05
je 0x140007666
jmp 0x1400074f8
mov eax, dword [rsp + 4]
sub eax, 0xb38e2d88
je 0x1400075e4
jmp 0x14000750c
mov eax, dword [rsp + 4]
sub eax, 0xd702cc41
je 0x140007615
jmp 0x140007520
mov eax, dword [rsp + 4]
sub eax, 0xfb00ec0d
je 0x1400075c5
jmp 0x140007534
mov eax, dword [rsp + 4]
sub eax, 0x23ca2981
je 0x1400076d4
jmp 0x140007548
mov eax, dword [rsp + 4]
sub eax, 0x37c79354
je 0x1400075f9
jmp 0x14000755c
mov eax, dword [rsp + 4]
sub eax, 0x38ac2043
je 0x140007699
jmp 0x140007570
mov eax, dword [rsp + 4]
sub eax, 0x3c8a943d
je 0x140007639
jmp 0x140007584
mov eax, dword [rsp + 4]
sub eax, 0x4bc78b1d
je 0x1400076e9
jmp 0x140007598
mov eax, dword [rsp + 4]
sub eax, 0x6dee6211
je 0x140007681
jmp 0x1400075ac
mov eax, dword [rsp + 4]
sub eax, 0x7e01b56b
je 0x1400076b9
jmp 0x1400075c0
jmp 0x1400076f2
mov rdx, qword [rsp + 0x28]
mov eax, 0x37c79354
mov ecx, 0xb38e2d88
cmp rdx, 0
cmove eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov dword [rsp + 0x24], 0
mov dword [rsp + 8], 0x4bc78b1d
jmp 0x1400076f2
mov dword [rsp + 0x14], 0x7a3f1b2e
mov word [rsp + 0xe], 0
mov dword [rsp + 8], 0xd702cc41
jmp 0x1400076f2
movzx edx, word [rsp + 0xe]
movzx r8d, word [rsp + 0x22]
mov eax, 0x23ca2981
mov ecx, 0x3c8a943d
cmp edx, r8d
cmovl eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov rax, qword [rsp + 0x18]
movzx ecx, word [rsp + 0xe]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x10], eax
mov eax, 0x38ac2043
mov ecx, 0x8b911a05
cmp dword [rsp + 0x10], 0x41
cmovge eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov eax, 0x38ac2043
mov ecx, 0x6dee6211
cmp dword [rsp + 0x10], 0x5a
cmovle eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov eax, dword [rsp + 0x10]
add eax, 0x20
mov dword [rsp + 0x10], eax
mov dword [rsp + 8], 0x38ac2043
jmp 0x1400076f2
mov eax, dword [rsp + 0x14]
shl eax, 5
add eax, dword [rsp + 0x14]
xor eax, dword [rsp + 0x10]
mov dword [rsp + 0x14], eax
mov dword [rsp + 8], 0x7e01b56b
jmp 0x1400076f2
mov ax, word [rsp + 0xe]
add ax, 1
mov word [rsp + 0xe], ax
mov dword [rsp + 8], 0xd702cc41
jmp 0x1400076f2
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x24], eax
mov dword [rsp + 8], 0x4bc78b1d
jmp 0x1400076f2
mov eax, dword [rsp + 0x24]
add rsp, 0x30
ret
jmp 0x1400074e0
Function at 0x1400075ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x30
mov word [rsp + 0x22], dx
mov qword [rsp + 0x18], rcx
movzx eax, word [rsp + 0x22]
mov ecx, 2
cdq
idiv ecx
mov word [rsp + 0x22], ax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 8], 0xfb00ec0d
mov eax, dword [rsp + 8]
mov dword [rsp + 4], eax
sub eax, 0x8b911a05
je 0x140007666
jmp 0x1400074f8
mov eax, dword [rsp + 4]
sub eax, 0xb38e2d88
je 0x1400075e4
jmp 0x14000750c
mov eax, dword [rsp + 4]
sub eax, 0xd702cc41
je 0x140007615
jmp 0x140007520
mov eax, dword [rsp + 4]
sub eax, 0xfb00ec0d
je 0x1400075c5
jmp 0x140007534
mov eax, dword [rsp + 4]
sub eax, 0x23ca2981
je 0x1400076d4
jmp 0x140007548
mov eax, dword [rsp + 4]
sub eax, 0x37c79354
je 0x1400075f9
jmp 0x14000755c
mov eax, dword [rsp + 4]
sub eax, 0x38ac2043
je 0x140007699
jmp 0x140007570
mov eax, dword [rsp + 4]
sub eax, 0x3c8a943d
je 0x140007639
jmp 0x140007584
mov eax, dword [rsp + 4]
sub eax, 0x4bc78b1d
je 0x1400076e9
jmp 0x140007598
mov eax, dword [rsp + 4]
sub eax, 0x6dee6211
je 0x140007681
jmp 0x1400075ac
mov eax, dword [rsp + 4]
sub eax, 0x7e01b56b
je 0x1400076b9
jmp 0x1400075c0
jmp 0x1400076f2
mov rdx, qword [rsp + 0x28]
mov eax, 0x37c79354
mov ecx, 0xb38e2d88
cmp rdx, 0
cmove eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov dword [rsp + 0x24], 0
mov dword [rsp + 8], 0x4bc78b1d
jmp 0x1400076f2
mov dword [rsp + 0x14], 0x7a3f1b2e
mov word [rsp + 0xe], 0
mov dword [rsp + 8], 0xd702cc41
jmp 0x1400076f2
movzx edx, word [rsp + 0xe]
movzx r8d, word [rsp + 0x22]
mov eax, 0x23ca2981
mov ecx, 0x3c8a943d
cmp edx, r8d
cmovl eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov rax, qword [rsp + 0x18]
movzx ecx, word [rsp + 0xe]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x10], eax
mov eax, 0x38ac2043
mov ecx, 0x8b911a05
cmp dword [rsp + 0x10], 0x41
cmovge eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov eax, 0x38ac2043
mov ecx, 0x6dee6211
cmp dword [rsp + 0x10], 0x5a
cmovle eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400076f2
mov eax, dword [rsp + 0x10]
add eax, 0x20
mov dword [rsp + 0x10], eax
mov dword [rsp + 8], 0x38ac2043
jmp 0x1400076f2
mov eax, dword [rsp + 0x14]
shl eax, 5
add eax, dword [rsp + 0x14]
xor eax, dword [rsp + 0x10]
mov dword [rsp + 0x14], eax
mov dword [rsp + 8], 0x7e01b56b
jmp 0x1400076f2
mov ax, word [rsp + 0xe]
add ax, 1
mov word [rsp + 0xe], ax
mov dword [rsp + 8], 0xd702cc41
jmp 0x1400076f2
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x24], eax
mov dword [rsp + 8], 0x4bc78b1d
jmp 0x1400076f2
mov eax, dword [rsp + 0x24]
add rsp, 0x30
ret
jmp 0x1400074e0
Function at 0x14000786e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x7c], edx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x48], rax
mov word [rsp + 0x46], 0
mov dword [rsp + 0x2c], 0xa4b2739c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
sub eax, 0x88aea6b6
je 0x140007a6c
jmp 0x140007924
mov eax, dword [rsp + 0x28]
sub eax, 0xa4b2739c
je 0x1400079a1
jmp 0x140007938
mov eax, dword [rsp + 0x28]
sub eax, 0xa54c98f3
je 0x140007a85
jmp 0x14000794c
mov eax, dword [rsp + 0x28]
sub eax, 0xb09f7681
je 0x140007a44
jmp 0x140007960
mov eax, dword [rsp + 0x28]
sub eax, 0xcb0633b0
je 0x140007a2a
jmp 0x140007974
mov eax, dword [rsp + 0x28]
sub eax, 0x67483525
je 0x1400079c5
jmp 0x140007988
mov eax, dword [rsp + 0x28]
sub eax, 0x6968eb52
je 0x140007a51
jmp 0x14000799c
jmp 0x140007a95
movzx edx, word [rsp + 0x46]
mov r8, qword [rsp + 0x60]
mov eax, 0x88aea6b6
mov ecx, 0x67483525
cmp edx, dword [r8 + 0x18]
cmovb eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x140007a95
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
movzx edx, word [rsp + 0x46]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
movzx edx, word [rdx + r8*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400076fe
mov edx, eax
mov eax, 0xb09f7681
mov ecx, 0xcb0633b0
cmp edx, dword [rsp + 0x7c]
cmove eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x140007a95
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x2c], 0xa54c98f3
jmp 0x140007a95
mov dword [rsp + 0x2c], 0x6968eb52
jmp 0x140007a95
mov ax, word [rsp + 0x46]
add ax, 1
mov word [rsp + 0x46], ax
mov dword [rsp + 0x2c], 0xa4b2739c
jmp 0x140007a95
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x2c], 0xa54c98f3
jmp 0x140007a95
mov rax, qword [rsp + 0x80]
add rsp, 0x88
ret
jmp 0x14000790c