joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400803c0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rdi, rdx
mov edx, ecx
lea rcx, [rsp + 0xe0]
lea rax, str.GROUP_ON_System.ConnectedSearch.ApplicationSearchScope_AGGREGATE_CHILDCOUNT___OVER_SELECT_System.ConnectedSearch.ApplicationSearchScope_FROM_SystemIndex_WHERE__s_System.ConnectedSearch.ItemSource___d_
mov r9d, 3
lea r8d, [r9 + 0x7d]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub r9, 1
jne 0x1400803fe
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x10], eax
movups xmm0, xmmword [str.SCOPE__winrt:___AND]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [0x1400b4fc0]
movups xmmword [rsp + 0xb8], xmm1
movsd xmm0, qword [0x1400b4fd0]
movsd qword [rsp + 0xc8], xmm0
mov eax, dword [0x1400b4fd8]
mov dword [rsp + 0xd0], eax
movzx eax, word [0x1400b4fdc]
mov word [rsp + 0xd4], ax
and qword [rsp + 0x40], r9
and qword [rsp + 0x48], r9
and qword [rsp + 0x50], r9
lea rax, [0x1400aa710]
lea r8, [rsp + 0xa8]
cmp edx, 1
cmovne r8, rax
mov r9d, edx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.14007fa68
mov ebx, eax
test eax, eax
js 0x1400805a5
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14007f184
nop
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [0x1400a5c30]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14007f518
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
lea rcx, [rdx + rax]
cmp rcx, rax
jb 0x140080563
xor r9d, r9d
jmp 0x14008056d
or rcx, 0xffffffffffffffff
mov r9d, 0x80070216
mov rax, qword [rsp + 0x2a8]
test r9d, r9d
jns 0x14008058e
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstorestatisticsendpoint.cxx
mov edx, 0xf3
mov rcx, rax
call fcn.140068a64
mov qword [rdi], rcx
mov qword [rsi], rdx
lea rcx, [rsp + 0x60]
call fcn.140002ba8
nop
jmp 0x1400805a5
lea rcx, [rsp + 0x40]
call fcn.140054c0c
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x290
pop rdi
pop rsi
pop rbx
ret
Function at 0x140080614
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov r9d, ecx
lea rcx, [rsp + 0xd0]
lea rax, str.GROUP_ON_System.AppUserModel.PackageFamilyName_AGGREGATE_CHILDCOUNT___OVER_SELECT_System.AppUserModel.PackageFamilyName_FROM_SystemIndex_WHERE__s_System.ConnectedSearch.ItemSource___d_
mov edx, 0x80
lea r8d, [rdx - 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
sub r8, 1
jne 0x14008064d
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
movups xmm0, xmmword [str.SCOPE__winrt:___AND]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [0x1400b4fc0]
movups xmmword [rsp + 0xa8], xmm1
movsd xmm0, qword [0x1400b4fd0]
movsd qword [rsp + 0xb8], xmm0
mov eax, dword [0x1400b4fd8]
mov dword [rsp + 0xc0], eax
movzx eax, word [0x1400b4fdc]
mov word [rsp + 0xc4], ax
and qword [rsp + 0x28], r8
and qword [rsp + 0x30], r8
and qword [rsp + 0x38], r8
lea rax, [0x1400aa710]
lea r8, [rsp + 0x98]
cmp r9d, 1
cmovne r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.14007fa68
test eax, eax
js 0x1400807b0
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14007f184
nop
and qword [rsp + 0x20], 0
lea rax, [0x1400a5c00]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14007f518
nop
lea rcx, [rsp + 0x48]
call fcn.140002ba8
nop
jmp 0x1400807b0
lea rcx, [rsp + 0x28]
call fcn.140054c0c
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x260
pop rbx
ret
Function at 0x1400824c0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x218
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SystemIndex
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140082722
lea r8d, [rbx + 7]
lea rdx, [0x1400aa5d0]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140082722
lea r8, str.CSM_Policy_Key_Mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400826fd
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call fcn.140008d24
nop
and qword [rsp + 0x38], rbx
and qword [rsp + 0x40], rbx
and qword [rsp + 0x48], rbx
and dword [rsp + 0x50], ebx
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x258]
call fcn.14001a960
nop
lea rdx, str.DefaultIndexedPaths
lea rcx, [rsp + 0x250]
call fcn.140016b70
nop
lea rdx, [0x1400aa710]
lea rcx, [rsp + 0x248]
call fcn.140016b70
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rsp + 0x240]
call fcn.140016b70
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x60]
call fcn.140008f80
nop
mov rcx, qword [rsp + 0x240]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x248]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x250]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x258]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rsp + 0x38]
call fcn.14001185c
lea rcx, [rsp + 0x60]
call fcn.140008f10
mov r14d, dword [rax + 8]
xor edi, edi
test ebx, ebx
js 0x1400826e7
cmp edi, r14d
jae 0x1400826e7
and qword [rsp + 0x248], 0
lea rcx, [rsp + 0x60]
call fcn.140083470
mov edx, edi
mov rcx, rax
call fcn.140081d20
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x240]
lea r8, [rsp + 0x248]
mov rdx, qword [rax]
mov rcx, rsi
call fcn.1400831d0
test eax, eax
js 0x1400826d3
cmp qword [rsp + 0x248], 0
jne 0x1400826d3
lea r8, [rsp + 0x248]
movzx edx, word [rsp + 0x240]
mov rcx, rsi
call fcn.1400827c4
mov ebx, eax
lea rcx, [rsp + 0x248]
call fcn.140003bbc
inc edi
jmp 0x14008265f
lea rcx, [rsp + 0x60]
call fcn.140008da4
nop
jmp 0x140082718
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140082718
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rsp + 0x30]
call fcn.14001d64c
mov eax, ebx
add rsp, 0x218
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008d034
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14008d1d8
cmp ecx, 0x7c
je 0x14008d1e1
cmp ecx, 0x29
jne 0x14008d073
cmp dword [rbx + 0x1c], 0
jne 0x14008d1e1
test dword [rbx + 0x80], 0x10000000
je 0x14008d146
cmp ecx, 0x2e
jne 0x14008d093
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14008f77c
mov rcx, rbx
call fcn.14008f7d0
jmp 0x14008d1cb
cmp ecx, 0x5c
jne 0x14008d0f7
mov rcx, rbx
call fcn.14008f7d0
test byte [rbx + 0x80], 0x80
je 0x14008d0ea
cmp word [rbx + 0x78], 0x62
jne 0x14008d0cb
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14008f77c
mov rcx, rbx
call fcn.14008f7d0
jmp 0x14008d1d3
cmp word [rbx + 0x78], 0x42
jne 0x14008d0ea
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14008f77c
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14008d0be
mov rcx, rbx
call fcn.14008d218
jmp 0x14008d1cb
cmp ecx, 0x5b
jne 0x14008d128
mov rcx, rbx
call fcn.14008f7d0
mov rcx, rbx
call fcn.14008d980
cmp dword [rbx + 0x7c], 0x5d
je 0x14008d086
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x28
jne 0x14008d158
mov rcx, rbx
call fcn.14008f7d0
mov rcx, rbx
call fcn.14008fccc
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14008d1be
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x5e
jne 0x14008d165
lea edx, [rcx - 0x5c]
jmp 0x14008d0b5
cmp ecx, 0x24
jne 0x14008d172
lea edx, [rcx - 0x21]
jmp 0x14008d0b5
cmp ecx, 0x3f
je 0x14008d1ff
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14008d1ff
cmp ecx, 0x7b
je 0x14008d1ff
cmp ecx, 0x7d
jne 0x14008d199
test dword [rbx + 0x80], 0x10000000
je 0x14008d1ed
cmp ecx, 0x5d
jne 0x14008d1ae
test dword [rbx + 0x80], 0x10000000
je 0x14008d116
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14008c828
mov dil, 1
mov rcx, rbx
call fcn.14008f7d0
test dil, dil
je 0x14008d1d3
mov rcx, rbx
call fcn.14008f810
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14008d04b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
Function at 0x14009c598
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
mov dword [rax - 0x18], 0x104
cmp qword [rcx], 0
jne 0x14009c5ed
and dword [rcx + 8], 0
and qword [rcx], 0
mov qword [rax - 0x30], rcx
mov dword [rax - 0x38], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplications
mov rdx, 0xffffffff80000002
call fcn.140024fd4
test eax, eax
jle 0x14009c5eb
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14009c642
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8, rdi
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
jne 0x14009c62d
mov eax, 1
jmp 0x14009c642
test eax, eax
je 0x14009c63d
jle 0x14009c642
movzx eax, ax
or eax, 0x80070000
jmp 0x14009c642
xor eax, eax
inc dword [rbx + 8]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400a04ac
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x1400a0528
mov qword [rsp + 0x28], rbp
lea rdx, str._s__u___s_:__s
mov r9d, esi
mov qword [rsp + 0x20], rbx
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.1400a0548
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001d7e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x401d28
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x401dcc
jmp 0x401d52
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x401d34
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x401dc7
jmp 0x401d78
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x401d5a
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, str.cw
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x401d6c
jmp 0x401d46
leave
ret

Function at 0x40309b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x40314a
jmp 0x4030d0
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4030b2
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x403145
jmp 0x4030f6
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4030d8
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x00721623]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x4030ea
jmp 0x4030c4
leave
ret

Function at 0x4030a6
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x40314a
jmp 0x4030d0
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4030b2
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x403145
jmp 0x4030f6
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4030d8
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x00721623]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x4030ea
jmp 0x4030c4
leave
ret
Function at 0x4034aa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x20
jge 0x403513
jmp 0x4034e3
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4034c5
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x4034d7
leave
ret

Function at 0x4034b5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x20
jge 0x403513
jmp 0x4034e3
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4034c5
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x4034d7
leave
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140012008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140012008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140012008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140012008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x2fc4d1630
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2710
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2032
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d20ca
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d20ae
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 0x2fc4d20a2
cmp qword [rbp - 0x10], 0
je 0x2fc4d20a2
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 0x2fc4d2068
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d20cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d21d0
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 0x2fc4d21f8
mov eax, 0
jmp 0x2fc4d2246
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 0x2fc4d2221
mov eax, 0
jmp 0x2fc4d2246
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 0x2fc4d2241
mov eax, 0
jmp 0x2fc4d2246
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d224c
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 0x2fc4d22ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d22c1
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 0x2fc4d22c1
mov rax, qword [rbp - 8]
jmp 0x2fc4d22df
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 0x2fc4d2294
mov eax, 0
add rsp, 0x20
pop rbp
ret