joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14038c390
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
shl ebp, 0x17
movsx rax, byte [rcx + 0x10f]
test rax, rax
js 0x14038c462
lea rcx, [rdi + 0xf8]
or ebp, 0x100
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.140147c00
cmp byte [rbx + 0x17], 0
jns 0x14038c3f9
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, [0x1404744e8]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x14038c43f
mov rcx, qword [rsp + 0x48]
call fcn.140296608
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14038c456
call fcn.140297b50
int3
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdi + 0xf8]
mov rax, qword [rdi + 0x100]
jmp 0x14038c3cf

Function at 0x14038c940
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x20
cmp qword [rcx + 0x40], 0
je 0x14038c9dc
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
jbe 0x14038c995
cmp rax, 0x4000
je 0x14038c9b7
add rax, 0xffffffffffffc000
dec r8
cmp rax, r8
ja 0x14038c9e9
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x14038c9bc
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.1401f0650
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x14038c9e9
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor esi, esi
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14038c9e1
add rsp, 0x20
pop rsi
jmp fcn.1403bcd10
mov esi, 0x800704c7
mov eax, esi
add rsp, 0x20
pop rsi
ret
ud2

Function at 0x14038ecb0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d26c0
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14038ed3f
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402b8034
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140210960
mov rcx, rsi
mov rdx, rbx
call fcn.140117e00
mov rcx, rbx
call fcn.140210aa0
test edi, edi
setns al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14038ed5e
call fcn.140297b50
int3
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14038f2a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x14038f2f6
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.140390ef0
test al, al
jne 0x14038f2f2
add rdi, 0x70
cmp rdi, r15
jne 0x14038f2da
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x14038f32f
cmp byte [rdi + 0x27], 0
js 0x14038f307
lea rcx, [rdi + 0x10]
jmp 0x14038f30b
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
test eax, eax
jne 0x14038f334
mov qword [rsi], rdi
xor eax, eax
jmp 0x14038f334
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14038f34b
call fcn.140297b50
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14038f4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x14038f51a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.140390ef0
test al, al
jne 0x14038f516
add rbx, 0x70
cmp rbx, r15
jne 0x14038f4fe
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14038f56d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14038f55e
cmp byte [rbx + 0x27], 0
js 0x14038f538
lea rcx, [rbx + 0x10]
jmp 0x14038f53c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14038f56d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14038f56d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14038f56d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14038f584
call fcn.140297b50
int3
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14039ed90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x40], rax
test r8d, r8d
jle 0x14039efe5
mov rsi, r9
mov edi, r8d
mov rbx, rdx
lea eax, [rdi - 1]
mov qword [rsp + 0x30], rax
mov r12d, r8d
xor r13d, r13d
lea r14, [rsp + 0x3c]
mov ebp, 0x520000
mov dword [rsp + 0x2c], 0
jmp 0x14039ef4e
cmp eax, 0x6f0
jb 0x14039ef42
cmp dword [rsp + 0x2c], 0
jns 0x14039edfc
or byte [rsi + 5], 0x40
mov dword [rsp + 0x2c], 1
jmp 0x14039ef42
cmp eax, 0x660
jb 0x14039ef42
cmp eax, 0x669
ja 0x14039ede6
cmp dword [rsp + 0x2c], 0
jle 0x14039ee26
or byte [rsi + 5], 0x40
mov dword [rsp + 0x2c], 0xffffffff
jmp 0x14039ef42
lea ecx, [rax - 0x5f3]
cmp cx, 1
ja 0x14039ee09
test r13, r13
je 0x14039ef3e
mov dword [rsp + 0x3c], 0
movzx ecx, word [rbx + r13*2 - 2]
cmp r13, 1
je 0x14039ee8b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x14039ee8b
movzx eax, word [rbx + r13*2 - 4]
mov edx, eax
and edx, 0xfc00
cmp edx, 0xd800
jne 0x14039ee8b
shl eax, 0xa
add ecx, eax
add ecx, 0xfca02400
mov rdx, r14
call fcn.1402298e0
cmp eax, 0x13
je 0x14039ef42
jmp 0x14039ef3e
cmp eax, 0x375
je 0x14039eedc
cmp eax, 0xb7
jne 0x14039ee33
test r13, r13
je 0x14039ef3e
cmp word [rbx + r13*2 - 2], 0x6c
sete al
cmp r13, qword [rsp + 0x30]
setb cl
and cl, al
cmp cl, 1
jne 0x14039ef3e
cmp word [rbx + r13*2 + 2], 0x6c
je 0x14039ef42
jmp 0x14039ef3e
cmp r13, qword [rsp + 0x30]
jae 0x14039ef3e
mov dword [rsp + 0x3c], 0
lea rax, [r13 + 2]
movzx ecx, word [rbx + r13*2 + 2]
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xd800
setne dl
cmp rax, r12
sete al
or al, dl
jne 0x14039ef31
movzx eax, word [rbx + r13*2 + 4]
mov edx, eax
and edx, 0xfc00
cmp edx, 0xdc00
jne 0x14039ef31
shl ecx, 0xa
add ecx, eax
add ecx, 0xfca02400
mov rdx, r14
call fcn.1402298e0
cmp eax, 0xe
je 0x14039ef42
or byte [rsi + 5], 0x20
inc r13
cmp r13, r12
je 0x14039efe5
movzx eax, word [rbx + r13*2]
cmp eax, 0xb7
jb 0x14039ef42
cmp eax, 0x6f9
jbe 0x14039eea1
cmp eax, 0x30fb
jne 0x14039ef42
mov dword [rsp + 0x3c], 0
xor r15d, r15d
jmp 0x14039ef8e
mov r15d, eax
mov rdx, r14
call fcn.1402298e0
cmp eax, 0x16
ja 0x14039ef8e
bt ebp, eax
jb 0x14039ef42
cmp r15d, edi
jge 0x14039ef3e
lea eax, [r15 + 1]
movsxd rcx, r15d
movzx ecx, word [rbx + rcx*2]
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xd800
setne dl
cmp eax, edi
sete r8b
or r8b, dl
jne 0x14039ef79
movsxd rdx, eax
movzx edx, word [rbx + rdx*2]
mov r8d, edx
and r8d, 0xfc00
cmp r8d, 0xdc00
jne 0x14039ef79
add r15d, 2
shl ecx, 0xa
add ecx, edx
add ecx, 0xfca02400
jmp 0x14039ef7c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14039effc
call fcn.140297b50
int3
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1403bcd40
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov rdi, r8
mov ebx, edx
mov r14, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r12, [rsp + 0x54]
mov dword [r12], 0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
cmp ebp, 0x8007007a
je 0x1403bcdd8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403bcdc7
call fcn.140297b50
int3
mov eax, ebp
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x30]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x140470090]
movaps xmmword [r15], xmm0
mov edx, dword [rsp + 0x54]
shr edx, 1
mov rcx, r15
call fcn.1402de440
mov r9, qword [r15]
cmp r9, qword [r15 + 8]
je 0x1403bce78
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov rcx, r14
mov edx, ebx
mov r8, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1403bce7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1403bcdb0
mov rax, qword [rsp + 0x38]
cmp rax, rcx
je 0x1403bce69
add rax, 0xfffffffffffffffe
jne 0x1403bce5c
jmp 0x1403bce78
mov qword [rsp + 0x38], rcx
call fcn.140296608
jmp 0x1403bcdb0
ud2
mov edx, dword [rsp + 0x54]
test dl, 1
jne 0x1403bceae
shr edx, 1
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d9f90
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, r8
sub r9, rdx
sar r9, 1
mov rcx, rsi
call fcn.1403bd100
xor ebp, ebp
jmp 0x1403bce49
int3

Function at 0x1403bcec0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x40], rax
or edx, 0x20000000
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x1403bcf1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
cmovne eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403bcf33
call fcn.140297b50
int3
add rsp, 0x48
ret
Function at 0x1403c38b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1403c38da
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403c3922
test bl, bl
jne 0x1403c391a
mov ecx, eax
and ecx, 0x400
je 0x1403c391a
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403c390f
call fcn.140297b50
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
and eax, 0x10
shr eax, 4
jmp 0x1403c38f5
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403c38f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14030f390
mov rcx, rdi
call fcn.14030e160
jmp 0x1403c38f3

Function at 0x1403c3990
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1403c39bb
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1403c3a42
test bl, bl
je 0x1403c39df
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1403c3a69
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403c3a40
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14030f390
mov rcx, rdi
call fcn.14030e160
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403c3a5c
call fcn.140297b50
int3
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1403c38b0
test al, al
jne 0x1403c3a42
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403c3a40
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14030f390
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1401e0d00
mov rcx, rdi
call fcn.140114c90
jmp 0x1403c3a40
Function at 0x1403c3ae0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1403c3b07
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403c3b3e
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403c3b34
call fcn.140297b50
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403c3b9f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14030f390
mov rcx, rdi
call fcn.14030e160
xor eax, eax
jmp 0x1403c3b1a

Function at 0x1403c5d30
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.1402d26c0
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
jne 0x1403c5d6c
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1403c5d78
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1403d8b40
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1403d8b7f
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1403d8b4f
mov dword [rsi], 7
jmp 0x1403d8b4f
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140169510
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1403d8b5b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1403d8b5b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1403d8c31
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x1403d8b51
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1403d8b4f
Function at 0x1403da2f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x140521684]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1403da352
cmp rdi, rsi
je 0x1403da34e
mov eax, 0xffffffff
lea rcx, [0x140521284]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x1403da32f
not eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x1403da346
lea rcx, [0x140521684]
call fcn.14029664c
cmp dword [0x140521684], 0xffffffff
jne 0x1403da31e
lea rbx, [0x140521284]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d26c0
xor eax, eax
mov ecx, 0xedb88320
mov r8d, eax
shr r8d, 1
mov edx, eax
and edx, 1
neg edx
and edx, ecx
xor edx, r8d
mov r9d, edx
shr r9d, 1
mov r8d, eax
shl r8d, 0x1e
sar r8d, 0x1f
and r8d, ecx
xor r8d, r9d
mov r9d, r8d
shr r9d, 6
mov r10d, eax
shl r10d, 0x1d
sar r10d, 0x1f
and r10d, 0x76dc419
mov r11d, eax
shl r11d, 0x1c
sar r11d, 0x1f
and r11d, 0xedb8832
xor r11d, r10d
mov r10d, eax
shl r10d, 0x1b
sar r10d, 0x1f
and r10d, 0x1db71064
xor r10d, r11d
mov r11d, eax
shl r11d, 0x1a
sar r11d, 0x1f
and r11d, 0x3b6e20c8
xor r11d, r10d
xor r11d, r9d
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, r11d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, ecx
xor r8d, edx
mov dword [rbx], r8d
inc rax
add rbx, 4
cmp rax, 0x100
jne 0x1403da385
lea rcx, [0x140521684]
call fcn.140296700
jmp 0x1403da31e

Function at 0x1403f8800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x48]
mov esi, dword [rcx + 4]
cmp byte [rcx], 0
je 0x1403f8849
mov dword [rsp + 0x34], 0
movzx r12d, word [rbx + 0x18]
test r12, r12
je 0x1403f88b1
xor r13d, r13d
lea r14, [rsp + 0x34]
jmp 0x1403f887f
mov rcx, rbx
call fcn.1401a1110
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1403f88e1
jmp 0x1403f8835
mov edx, dword [r15]
bswap edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov r8b, 5
mov r9d, esi
call fcn.1401a6600
inc r13
cmp r12, r13
je 0x1403f88b1
mov rax, qword [rbx + 0x60]
movzx r15d, word [rax + r13*2]
rol r15w, 8
movzx eax, word [rbx + 0x1a]
and r15d, eax
add r15, qword [rbx + 0x50]
mov rcx, rbx
mov rdx, rbx
mov r8, r15
mov r9, r14
call fcn.1403f8cf0
cmp byte [rbx + 8], 0
jne 0x1403f8877
jmp 0x1403f885f
cmp byte [rbx + 8], 0
jne 0x1403f88dd
mov rax, qword [rbx + 0x50]
movzx ecx, byte [rbx + 9]
mov edx, dword [rax + rcx + 8]
bswap edx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8b, 5
mov r9d, esi
call fcn.1401a6600
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403f88f8
call fcn.140297b50
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1403f8910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov esi, r8d
mov ebx, edx
mov r14, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp r9b, 4
je 0x1403f8986
mov ebp, r9d
cmp byte [r14], 0
je 0x1403f8976
movzx eax, word [r14 + 0x18]
xor edi, edi
mov r15d, 0
test eax, eax
je 0x1403f8a04
mov dword [rsp + 0x2c], eax
mov r13d, eax
xor r15d, r15d
movaps xmm6, xmmword [0x140470090]
jmp 0x1403f8ab9
mov rcx, r14
call fcn.1401a1110
mov edi, eax
test eax, eax
jne 0x1403f89c9
jmp 0x1403f894b
mov rax, qword [r14 + 0x50]
mov ecx, dword [rax]
bswap ecx
cmp ecx, ebx
jne 0x1403f899a
bswap esi
mov dword [rax], esi
xor edi, edi
jmp 0x1403f89c9
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x12291
call fcn.1401946f0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403f89e0
call fcn.140297b50
int3
mov eax, edi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, esi
bswap eax
mov dword [r12], eax
mov eax, dword [rsp + 0x2c]
cmp r15d, eax
jne 0x1403f89c9
cmp bpl, 5
jne 0x1403f8a22
mov rax, qword [r14 + 0x50]
movzx ecx, byte [r14 + 9]
mov edx, dword [rax + rcx + 8]
bswap edx
cmp edx, ebx
je 0x1403f8a51
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122b9
jmp 0x1403f89c4
bswap esi
mov dword [rax + rcx + 8], esi
jmp 0x1403f8996
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122ad
jmp 0x1403f89c4
lea rcx, [r12 + 4]
mov rdx, qword [r14 + 0x48]
mov edx, dword [rdx + 0x38]
add rax, rdx
cmp rcx, rax
ja 0x1403f8a5c
mov eax, dword [r12]
bswap eax
cmp eax, ebx
je 0x1403f89f8
inc r15
cmp r13, r15
je 0x1403f8a09
movzx ecx, word [r14 + 0x1a]
mov rax, qword [r14 + 0x60]
movzx r12d, word [rax + r15*2]
rol r12w, 8
mov rax, qword [r14 + 0x50]
and r12d, ecx
add r12, rax
cmp bpl, 3
jne 0x1403f8a8b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [r14 + 0x80]
mov rcx, r14
mov rdx, r12
lea r8, [rsp + 0x30]
call qword [case.0x1403053b8.0]
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jbe 0x1403f8aad
movzx eax, word [rsp + 0x46]
add r12, rax
mov rax, qword [r14 + 0x48]
mov eax, dword [rax + 0x38]
add rax, qword [r14 + 0x50]
cmp r12, rax
ja 0x1403f8b46
mov eax, dword [r12 - 4]
bswap eax
cmp ebx, eax
jne 0x1403f8aad
bswap esi
mov dword [r12 - 4], esi
jmp 0x1403f8996
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122a4
jmp 0x1403f89c4
Function at 0x140412f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, byte [rcx]
add rax, 0xffffffffffffffc6
cmp rax, 0xfffffffffffffff6
jae 0x140412ff2
mov ebx, r8d
mov edi, edx
mov rcx, rsi
call fcn.1402b7c90
and eax, 0x3fffffff
lea edx, [rax + 1]
xor ecx, ecx
lea r8, [0x1404e3eb1]
mov r9d, 0xfffffff8
lea r10, [r9 + 6]
lea r14, str.onoffalseyestruextrafull
lea r15, [0x1404dccc0]
movzx r11d, byte [rcx + r8]
cmp eax, r11d
je 0x14041300c
inc rcx
cmp rcx, 8
jne 0x140412fb5
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140412fdf
call fcn.140297b50
int3
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov rcx, rsi
mov rdx, rdi
call fcn.1401b1ee0
mov bl, byte [rdi]
jmp 0x140412fc8
test eax, eax
je 0x140413048
lea r9, [0x1404e3ea9]
movzx r13d, byte [rcx + r9]
xor r12d, r12d
mov ebp, edx
lea r11, [r12 + r13]
movzx r11d, byte [r14 + r11]
test r11, r11
je 0x140413070
mov r11b, byte [r11 + r15]
movzx r9d, byte [rsi + r12]
cmp r11b, byte [r9 + r15]
jne 0x140413073
dec ebp
inc r12
cmp ebp, 1
ja 0x140413021
test edi, edi
je 0x140413061
mov r9, rcx
mov r11d, 0xfffffff8
or r9, r11
cmp r9, r10
jae 0x140412fbf
lea rax, [0x1404e3eb9]
mov bl, byte [rcx + rax]
jmp 0x140412fc8
xor r11d, r11d
movzx r9d, byte [rsi + r12]
cmp r11b, byte [r9 + r15]
je 0x140413048
jmp 0x140412fbf