joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140003fd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003fd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002e00
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002d1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002da5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d00
mov rcx, rbx
call fcn.140003720
mov rdi, rax
test rax, rax
je 0x140002e22
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003860
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002d9e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002db0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002d9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002c60
nop dword [rax]
xor esi, esi
jmp 0x140002d28
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002c60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002c60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003390
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400033ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400033e3
test rsi, rsi
je 0x1400033e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400033c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003720
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006570]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003740
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003748
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003740
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000379d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003794
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003740
add rax, 0x28
cmp rax, r9
jne 0x140003780
xor eax, eax
ret

Function at 0x1400037a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006570]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400037bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400037c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400037bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003860
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006570]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000387f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003888
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14003bb00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003bb4c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003bb44
cmp dword [rcx + 0x3c], edx
jl 0x14003bb44
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14003bb44
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14003bb4c
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140929058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409291df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140929089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092906f
add dl, dl
jne 0x140929096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409290f6
xor eax, eax
add dl, dl
jne 0x1409290a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409291ad
add dl, dl
jne 0x1409290b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409290c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409290d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409290dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409290ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14092907e
mov eax, 1
add dl, dl
jne 0x140929106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140929113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409290fb
sub eax, ebx
mov ebx, 1
jne 0x14092914c
mov ecx, 1
add dl, dl
jne 0x14092912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140929123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140929168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140929175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092915d
cmp eax, 0x7d00
jae 0x14092919b
cmp eax, 0x500
jb 0x140929196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092907e
cmp eax, 0x7f
ja 0x14092919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409291d2
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 0x14092907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001bb90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x14001bbca
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14001d170
jmp 0x14001bd10
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x14001bbf4
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14001bbfc
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x70], 0
jle 0x14001bcb9
cmp qword [rsp + 0x28], 0
jle 0x14001bcb9
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x70], rax
jge 0x14001bc34
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x58]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov qword [rcx], rax
cmp qword [rsp + 0x70], 0
jle 0x14001bd00
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14001bd00
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.1402dd3c4
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1400211b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x68], 0
je 0x1400211ed
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400211f4
mov al, 1
jmp 0x140021389
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0x68]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jne 0x140021248
mov dword [rsp + 0x3c], 1
jmp 0x140021250
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140021269
xor al, al
jmp 0x140021389
mov qword [rsp + 0x78], 0x20
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xa8]
mov rcx, qword [rsp + 0xd0]
add rcx, 0x74
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x88]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x70]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400212ee
cmp dword [rsp + 0x34], 1
je 0x1400212fa
cmp dword [rsp + 0x34], 3
je 0x140021377
jmp 0x140021387
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x14002134e
mov rax, qword [rsp + 0xd0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.1402dd3c4
cmp qword [rsp + 0x50], rax
je 0x14002134e
xor al, al
jmp 0x140021389
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140021368
mov dword [rsp + 0x40], 1
jmp 0x140021370
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
jmp 0x140021389
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140021389
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140269760
add rsp, 0xc8
ret
Function at 0x1400509d0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0x10
jb 0x140050a09
mov dword [rsp + 0x24], 1
jmp 0x140050a11
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140050a3a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
and eax, 2
test eax, eax
jne 0x140050af2
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x18], 0x10
jb 0x140050a99
mov dword [rsp + 0x28], 1
jmp 0x140050aa1
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140050aca
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x2c]
or eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [rsp + 0x90]
call fcn.140021a50
add rsp, 0x88
ret

Function at 0x140050b10
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, rax
call fcn.1401683e0
mov rax, qword [rsp + 0x30]
add rax, 0x50
mov rcx, rax
call fcn.1401683e0
mov rax, qword [rsp + 0x30]
add rax, 0x70
mov rcx, rax
call fcn.14001ebf0
mov rax, qword [rsp + 0x30]
add rax, 0x90
mov rcx, rax
call fcn.14001ebf0
mov rax, qword [rsp + 0x30]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_74.0.3729.169_Safari_537.36
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140050b80
Capabilities:
Reference http user-agent string

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, rax
call fcn.1401683e0
mov rax, qword [rsp + 0x30]
add rax, 0x50
mov rcx, rax
call fcn.1401683e0
mov rax, qword [rsp + 0x30]
add rax, 0x70
mov rcx, rax
call fcn.14001ebf0
mov rax, qword [rsp + 0x30]
add rax, 0x90
mov rcx, rax
call fcn.14001ebf0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x38]
mov byte [rax + 0x28], cl
mov rax, qword [rsp + 0x30]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_74.0.3729.169_Safari_537.36
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14019ee80
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x40], 0
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
call fcn.14019ebc0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14019eefe
mov eax, dword [rsp + 0x40]
jmp 0x14019f03f
cmp dword [rsp + 0xe0], 0
je 0x14019ef19
mov eax, dword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
jmp 0x14019efbf
mov qword [rsp + 0x58], 0x2d0e1ea8
mov rax, qword [rsp + 0x58]
xor rax, 8
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], 8
mov rax, qword [0x14034ed88]
xor rax, 0x8960
imul rax, rax, 6
mov qword [rsp + 0x68], rax
imul rax, qword [0x14034ed80], 0x8960
xor edx, edx
mov ecx, 8
div rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
sub rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
xor edx, edx
div rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xd8], 0
je 0x14019efd9
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rax
jmp 0x14019efe5
lea rax, [0x140329930]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0xd0]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
call fcn.14019e560
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x98]
call fcn.14019ee50
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140269760
add rsp, 0xb8
ret
Function at 0x1401a9370
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov ecx, 0x28
call fcn.1401a5020
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401a93b1
mov eax, 7
jmp 0x1401a947d
movzx eax, byte [0x14034edc4]
test eax, eax
je 0x1401a93ca
mov ecx, 0xc8
call fcn.1401aa5e0
test eax, eax
je 0x1401a93da
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
jmp 0x1401a9442
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1401a9330]
xor edx, edx
xor ecx, ecx
call fcn.1402e3670
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1401a9442
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x1401a946e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1401c2130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401c218f
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x3c]
test eax, eax
jne 0x1401c21a4
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x46]
test eax, eax
jne 0x1401c21a4
mov rax, qword [rsp + 0x90]
mov dword [rax], 0
xor eax, eax
jmp 0x1401c22ee
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x78]
call fcn.1401bf690
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x28]
call fcn.1401bf690
mov dword [rsp + 0x20], eax
jmp 0x1401c21d1
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jl 0x1401c22de
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1401bf5c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1401c2209
mov eax, dword [rsp + 0x38]
jmp 0x1401c22ee
mov dword [rsp + 0x30], 0x2000
mov ecx, dword [rsp + 0x88]
call fcn.1401bf590
mov dword [rsp + 0x24], eax
jmp 0x1401c2230
mov ecx, dword [rsp + 0x24]
call fcn.1401bf5b0
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
movzx eax, ax
test eax, eax
je 0x1401c22d0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
movzx eax, ax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
ja 0x1401c22a6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x78]
cmp dword [rsp + 0x2c], eax
jb 0x1401c22a6
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0x88]
jne 0x1401c22a6
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x44], 0
jne 0x1401c22cb
mov ecx, 0xf282
call fcn.1402683f0
jmp 0x1401c22ee
jmp 0x1401c2223
cmp dword [rsp + 0x34], 0
je 0x1401c22d9
jmp 0x1401c22de
jmp 0x1401c21c7
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140269760
add rsp, 0x78
ret
Function at 0x140204a90
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140356b60]
mov r8, qword [rsp + 0x48]
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rcx, qword [rsp + 0x40]
call fcn.14020bcf0
cmp dword [rsp + 0x50], 0
jne 0x140204af6
mov r9, qword [rsp + 0x48]
lea r8, [0x140356ab0]
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, qword [rsp + 0x40]
call fcn.14020bcf0
add rsp, 0x38
ret
Function at 0x14026ddf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0
jmp 0x14026de20
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 8], rax
jae 0x14026de85
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx ecx, byte [rsp]
xor eax, ecx
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp]
mov byte [rax], cl
jmp 0x14026de13
add rsp, 0x18
ret

Function at 0x140273be0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
lea rax, [0x140315348]
mov rdi, qword [rsp + 0x18]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
pop rdi
pop rsi
ret

Function at 0x140273c00
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rsp], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x38], rax
lea rax, [rsp]
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140269760
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1402c00a0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x10325476
ret