joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd950
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400cd95d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400cdee0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140129fc0]
test rax, rax
je 0x1400cdfe5
cmp eax, 2
jne 0x1400cdf5c
mov ecx, 2
call fcn.140067d40
test al, al
je 0x1400cdfb5
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140038a50
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400ce036
mov eax, 1
lock xadd qword [0x140129ff8], rax
test rax, rax
jle 0x1400cdf7c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140129f78], eax
mov qword [0x140129f70], rsi
mov rcx, qword [0x140119048]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140067d40
test al, al
jne 0x1400ce004
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140081fb0
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140129fc0]
test rax, rax
je 0x1400cdfec
jmp 0x1400cdf0e
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.140038a50
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400b44d0
mov rcx, rsi
call fcn.140038f40
jmp 0x1400cdfb5
Function at 0x1400d1260
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14012a0c8], 0
je 0x1400d12a6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140081fb0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14012a0a0]
test rdi, rdi
je 0x1400d1347
test byte [0x140119650], 1
je 0x1400d1289
cmp byte [rdi + 0x17], 0
jns 0x1400d12c8
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14012a0c8], rax
inc rax
cmp rax, 1
ja 0x1400d1289
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400840e0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400d1406
xor esi, esi
jmp 0x1400d1289
mov ecx, 0x18
call fcn.140080c6c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400840e0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400fdb10]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140026160
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400d13ad
mov r8, qword [rdi + 8]
jmp 0x1400d13b1
and r8d, 0x7f
mov rcx, rdi
mov dx, 0x5c
call fcn.14005cdb0
cmp rax, 0xffffffffffffffff
je 0x1400d13eb
lea rcx, [rax + 1]
movzx edx, byte [rdi + 0x17]
test dl, dl
jns 0x1400d14c1
cmp qword [rdi + 8], rax
jbe 0x1400d14d1
mov rdx, qword [rdi]
mov qword [rdi + 8], rcx
mov word [rdx + rax*2 + 2], 0
lea rdx, str.debug.log
mov rcx, rdi
call fcn.140027940
mov qword [0x14012a0a0], rdi
jmp 0x1400d12b6
mov rcx, qword [0x14012a0a0]
lea rdx, [rsp + 0x40]
call fcn.140027570
mov rcx, qword [0x14012a0a0]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1400d14b5
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400d1448
lea rdx, [0x140100aaa]
call fcn.140027940
mov rcx, qword [0x14012a0a0]
lea rdx, str.debug.log
call fcn.140027940
mov rcx, qword [0x14012a0a0]
cmp byte [rcx + 0x17], 0
jns 0x1400d1464
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14012a0c8], rax
inc rax
cmp rax, 1
ja 0x1400d1289
mov qword [0x14012a0c8], 0
jmp 0x1400d1340
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
jmp 0x1400d142d
cmp rax, rdx
jae 0x1400d14d1
mov byte [rdi + 0x17], cl
mov rdx, rdi
jmp 0x1400d13e4
call fcn.1400993b0
int3
Function at 0x1400d7b30
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 rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rbp, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rbp
je 0x1400d7bc8
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.1400d7450
test al, al
jne 0x1400d7b8c
add rdi, 0x70
cmp rdi, rbp
jne 0x1400d7b71
mov rdi, rbp
cmp rdi, qword [rsi + 0x58]
je 0x1400d7bc8
cmp byte [rdi + 0x27], 0
jns 0x1400d7b9e
mov rcx, qword [rdi + 0x10]
jmp 0x1400d7ba2
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x1400d7bc8
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140081fb0
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400dfd0a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dfd2c
mov edi, eax
test bl, bl
jne 0x1400dfd24
mov eax, edi
and eax, 0x400
jne 0x1400dfd3a
and edi, 0x10
shr edi, 4
jmp 0x1400dfd3c
mov ecx, 2
call fcn.140067d40
test al, al
jne 0x1400dfd59
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140081fb0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.1400d1950
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400b44d0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400610f0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400dfddf
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1400dfde3
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400b44d0
cmp byte [rsp + 0x57], 0
jns 0x1400dfdff
mov rcx, qword [rsp + 0x40]
call fcn.140080ca8
lea rcx, [rsp + 0x58]
call fcn.1400d19d0
jmp 0x1400dfd3a
Function at 0x1400dfe10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400dfe37
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dfe67
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140081fb0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140067d40
test al, al
jne 0x1400dfe79
xor esi, esi
jmp 0x1400dfe4b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.1400d1950
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400b44d0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400610f0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400dfeff
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400dff03
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400b44d0
cmp byte [rsp + 0x4f], 0
jns 0x1400dff1f
mov rcx, qword [rsp + 0x38]
call fcn.140080ca8
lea rcx, [rsp + 0x50]
call fcn.1400d19d0
jmp 0x1400dfe75
Function at 0x1400dff30
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400dff57
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dff6e
and eax, 0x410
cmp eax, 0x410
je 0x1400dffb5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400dff7a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x1400dffa3
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140081fb0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140067d40
test al, al
jne 0x1400dffd6
xor edi, edi
jmp 0x1400dff87
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140081fb0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400e0090
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x95
mov r9d, 2
call fcn.1400d1950
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400b44d0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400610f0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400e005c
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400e0060
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400b44d0
cmp byte [rsp + 0x4f], 0
jns 0x1400e007c
mov rcx, qword [rsp + 0x38]
call fcn.140080ca8
lea rcx, [rsp + 0x50]
call fcn.1400d19d0
jmp 0x1400dffb1
Function at 0x1400e0090
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e00b8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400e00d2
mov ecx, 2
call fcn.140067d40
test al, al
jne 0x1400e00f4
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140081fb0
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.1400d1950
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400b44d0
mov rbx, rax
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400610f0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400e017a
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x1400e017e
and r8d, 0x7f
mov rcx, rbx
mov rdx, rdi
call fcn.1400b44d0
cmp byte [rsp + 0x57], 0
jns 0x1400e019a
mov rcx, qword [rsp + 0x40]
call fcn.140080ca8
lea rcx, [rsp + 0x58]
call fcn.1400d19d0
jmp 0x1400e00d2
Function at 0x140001660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rsi, qword [r8 + 8]
xor r11d, r11d
mov r9d, 0x5a7f5a6c
mov r14, r8
mov edi, r11d
mov ebx, r9d
movabs rbp, 0x100000001b3
test rsi, rsi
je 0x1400016d0
mov r10, qword [r8]
nop
movzx r8d, word [r10]
lea r10, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
lea ecx, [r8 + 0x20]
cmova cx, r8w
inc edi
movzx eax, cx
xor rax, rbx
imul rax, rbp
add rbx, rax
movsxd rax, edi
cmp rax, rsi
jb 0x1400016a0
mov r10, qword [r14]
lea rdi, [rsi - 4]
cmp rsi, rdi
cmovb rdi, rsi
test rdi, rdi
je 0x140001721
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [r10]
lea r10, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
lea ecx, [r8 + 0x20]
cmova cx, r8w
inc r11d
movzx eax, cx
xor rax, r9
imul rax, rbp
add r9, rax
movsxd rax, r11d
cmp rax, rdi
jb 0x1400016f0
cmp rdx, rbx
je 0x14000172f
cmp rdx, r9
je 0x14000172f
mov al, 1
jmp 0x140001731
xor al, al
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x140004fd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
lea rcx, [0x1400097c0]
mov rbx, r8
mov rdi, rdx
call sub.KERNEL32.dll_AcquireSRWLockShared
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
xor rdx, rax
movzx eax, byte [rsp + 0x51]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x52]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x53]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x54]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x55]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x56]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x57]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400097f8]
and rcx, rdx
mov rdx, qword [0x1400097d0]
shl rcx, 4
add rcx, qword [0x1400097e0]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400050a5
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x1400050a8
cmp rax, rcx
je 0x1400050a5
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x140005094
jmp 0x1400050a8
mov rax, r8
test rax, rax
mov rcx, rdx
cmovne rcx, rax
lea rax, [rsp + 0x20]
cmp rcx, rdx
jne 0x1400050c8
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], r8
jmp 0x1400050d1
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax]
lea rcx, [0x1400097c0]
movups xmmword [rdi], xmm0
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140005690
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400056c5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140004e70
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140005834
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400057ac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140005823
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400057e9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400057e3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140005823
cmp r9, rdx
je 0x1400057ff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140005845
cmp r9, rdx
jne 0x1400057f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140005730
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140005823

Function at 0x14000653c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006586
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006586
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006586
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006586
cmp dword [rcx + 0x84], 0xe
jbe 0x140006586
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006588
xor al, al
add rsp, 0x28
ret
Function at 0x14006db30
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [0x14078d618]
nop
cmp word [0x140000000], 0x5a4d
je 0x14006db6d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x14006dbfb
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14006db91
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14006dbfb
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x14006dbd8
cmp ecx, 0x20b
je 0x14006dbb0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14006dbfb
cmp dword [rax + 0x84], 0xe
ja 0x14006dbc4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14006dbfb
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x14006dbfb
cmp dword [rax + 0x74], 0xe
ja 0x14006dbe9
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14006dbfb
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [0x14078d118]
mov qword [0x140794ae0], 0xffffffffffffffff
mov qword [0x140794b00], 0xffffffffffffffff
mov rcx, qword [0x14078d120]
mov eax, dword [0x140791e50]
mov dword [rcx], eax
mov rcx, qword [0x14078d128]
mov eax, dword [0x140791e54]
mov dword [rcx], eax
call fcn.14006de20
cmp dword [0x140794b20], 0
jne 0x14006dc55
lea rcx, [0x14006de30]
call qword [0x14078d130]
lea rdx, [0x1401ab5c8]
lea rcx, [0x1401ab5c0]
call fcn.14006de33
mov r11d, dword [0x140791e58]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x140791e5c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [0x14078d140]
lea rdx, [0x1401ab5b8]
lea rcx, [0x1401ab5b0]
call fcn.14006de33
mov r11, qword [0x14078d148]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x14006dcf6
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x14006dce6
cmp al, 0x22
je 0x14006dce6
jmp 0x14006dcd0
cmp byte [r8], 0x22
jne 0x14006dd06
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14006dd06
cmp byte [r8], 0x20
jbe 0x14006dd06
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14006dcf6
movzx eax, byte [r8]
test al, al
je 0x14006dd1c
cmp al, 0x20
ja 0x14006dd1c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14006dd06
test byte [rsp + 0x8c], 1
je 0x14006dd31
movzx r9d, word [rsp + 0x90]
jmp 0x14006dd37
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.14006379b
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x14006dd53
mov ecx, eax
call qword [0x14078d150]
call qword [0x14078d158]
jmp 0x14006dd77
mov eax, edi
jmp 0x14006dd80
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x14009379c
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, ecx
mov rcx, qword [0x140795320]
mov rsi, r9
mov r14, r8
mov r15, rdx
xor ebx, ebx
call fcn.1400bf780
mov r12, rax
test r15, r15
je 0x1400938de
mov rcx, qword [0x140790968]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [0x14078d650]
lea ebp, [rbx + 1]
mov rcx, r15
or dword [rax + 4], 0xffffffff
mov dword [rax], ebp
mov rdi, rax
call fcn.14006e42a
lea rcx, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
mov qword [rdi + 8], rax
call fcn.14006e42a
mov ecx, dword [rsp + 0x80]
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x40], ecx
mov eax, dword [r12]
mov dword [rdi + 0x44], eax
mov eax, dword [r12 + 4]
mov dword [rdi + 0x80], r13d
mov dword [rdi + 0x48], eax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x78], rax
test bpl, cl
je 0x1400938cf
test rsi, rsi
je 0x140093888
mov rcx, qword [0x140790968]
mov r8, rsi
xor edx, edx
call qword [0x14078d650]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x140093882
mov r8, rsi
mov rdx, r14
mov rcx, rax
call fcn.14006e3ac
cmp qword [rdi + 0x70], rbx
je 0x1400938c5
lea rax, [rsp + 0x68]
lea r8, [0x140093900]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [0x14078d620]
test rax, rax
je 0x1400938bd
mov rcx, rax
call qword [0x14078d510]
jmp 0x1400938c1
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x1400938db
mov rcx, rdi
call fcn.1400931f8
jmp 0x1400938de
mov rcx, rdi
mov qword [rdi + 0x70], r14
call fcn.1400932c4
mov rbx, rdi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400a502c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9d, edx
mov r10, rcx
test rcx, rcx
jne 0x1400a5046
mov eax, r8d
jmp 0x1400a50b4
not r8d
lea rdi, [0x14018dfa0]
cmp r9d, 8
jb 0x1400a508a
mov r11, r9
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec rbx
jne 0x1400a5062
add r9d, 0xfffffff8
dec r11
jne 0x1400a505d
test r9d, r9d
je 0x1400a50ae
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec r9d
jne 0x1400a508f
not r8d
movsxd rax, r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret