joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18010e084
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800f1810
sub rsp, rax
mov rax, qword [0x18014f0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18010aa24
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18010e0d3
mov rax, rbp
jmp 0x18010e1df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x155b10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18010ff84
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x155b10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18010e1db
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18010e1db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18010ff84
test rax, rax
js 0x18010e1db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18010e1db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18010e1cd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18010e1cd
cmp byte [rcx], 0xd
jne 0x18010e1b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18010e1c2
cmp byte [rcx + 1], 0xa
jne 0x18010e1c2
inc rcx
jmp 0x18010e1c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x14f6e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18010e195
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18010e1df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800f0be0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18010f068
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x180155b10]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x18010f0be
cmp word [rdx], r9w
jne 0x18010f0be
or byte [rax + rbp*8 + 0x38], 4
jmp 0x18010f0c3
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x18010f242
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x18010f20d
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x18010f10b
cmp rcx, r8
jae 0x18010f12b
cmp word [rcx], r9w
jne 0x18010f10b
add rax, 4
mov edx, r9d
jmp 0x18010f10e
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x18010f0e0
jmp 0x18010f242
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18010f206
cmp dword [rsp + 0x80], edi
je 0x18010f206
lea r9, [0x180155b10]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x18010f1e0
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x18010f193
mov word [rbx], bp
jmp 0x18010f23f
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x18010f1ae
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x18010f23f
cmp word [rsp + 0x70], bp
jne 0x18010f1ec
cmp rbx, rsi
je 0x18010f18b
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18010ff8c
cmp word [rsp + 0x70], bp
je 0x18010f242
mov word [rbx], 0xd
jmp 0x18010f23f
mov rcx, r15
lea r9, [0x180155b10]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18010f23c
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18010f242
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180113184
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1801131b4
xor eax, eax
jmp 0x180113277
mov rbp, rbx
cmp word [rax], si
je 0x1801131d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1801131c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1801131bc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18011189c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18011321a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1801131ad
call fcn.180109330
mov rdi, rax
test rax, rax
jne 0x180113230
xor ecx, ecx
call fcn.180107370
jmp 0x18011320f
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18011189c
test eax, eax
jne 0x180113261
mov rcx, rdi
call fcn.180107370
jmp 0x18011326b
xor ecx, ecx
call fcn.180107370
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180113294
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18011331b
mov rsi, rbx
cmp word [rax], bp
je 0x1801132da
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1801132c4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1801132c0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180109330
mov rdi, rax
test rax, rax
je 0x180113308
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18011b7d0
mov rbp, rdi
xor ecx, ecx
call fcn.180107370
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18011aa70
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18010ff8c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18010ff8c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18011abbd
cmp rax, 0xffffffffffffffff
je 0x18011abbd
xor edi, edi
test rbp, rbp
jle 0x18011ab6b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1801092b0
mov rbx, rax
test rax, rax
jne 0x18011aaf8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18011ab61
mov edx, 0x8000
mov ecx, r14d
call fcn.18011a8f4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18010d260
cmp eax, 0xffffffff
je 0x18011ab41
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18011ab08
mov edx, r15d
mov ecx, r14d
call fcn.18011a8f4
jmp 0x18011ab61
cmp byte [rsi + 0x38], dil
je 0x18011ab58
cmp dword [rsi + 0x34], 5
jne 0x18011ab58
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18011ab61
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180107370
jmp 0x18011abcf
jns 0x18011abcf
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18010ff8c
cmp rax, 0xffffffffffffffff
jne 0x18011ab89
cmp byte [rsi + 0x30], dil
je 0x18011abcf
jmp 0x18011abc5
mov ecx, r14d
call fcn.180117c78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18011abcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18011abcf
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18011abca
mov edi, dword [rsi + 0x2c]
jmp 0x18011abcf
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18010ff8c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18011b510
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18011b538
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18011b538
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x404fa0
Capabilities:
Gather firefox profile information
Reference http user-agent string

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r14
mov rdx, qword [r14 + 0x30]
mov rsi, r14
cmp qword [rdx + 0x90], rsi
je 0x40500a
nop dword [rax + rax]
call fcn.0043aec0
lea rax, [0x008df0ef]
mov ebx, 0x1e
call fcn.0043b7c0
call fcn.0043af40
mov eax, 2
call fcn.004350e0
mov rsi, qword [rsp + 0x60]
mov rax, qword [r14 + 0x30]
nop
inc dword [rax + 0x23c]
mov rax, qword [r14 + 0x30]
nop
mov rcx, r14
mov qword [rax + 0x130], rcx
mov rax, qword [r14 + 0x30]
mov qword [r14 + 0xe8], rax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rax + 0x2c0]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rax + 0x2d0]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rax + 0x2e0]
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsi + 0x70]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsi + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.004619a0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x330], edx
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
nop
call fcn.004051a0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 1
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x68]
nop
cmp rcx, rdx
jne 0x405167
mov qword [rsp + 0x68], rcx
nop
jmp 0x405103
lea rax, [0x009098c8]
mov qword [rsp], rax
nop dword [rax]
call fcn.00464b20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor eax, eax
mov esi, 1
lock cmpxchg dword [rcx + 0x330], esi
sete dil
test dil, dil
je 0x4050d1
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x18]
call fcn.004432c0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x30]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx + 0x2c0], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rcx + 0x2d0], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rcx + 0x2e0], xmm0
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rax, [0x008e2f66]
mov ebx, 0x26
call fcn.00439600
nop
int3
Function at 0x405660
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4057dd
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
cmp dword [0x00bc2540], 0
je 0x4057c1
mov rdx, qword [rsp + 0x48]
nop
test rcx, rcx
je 0x405781
movzx r9d, byte [rdx + 0x17]
mov r10d, r9d
and r9d, 0x1f
cmp r9b, 0x16
je 0x4056ca
nop dword [rax + rax]
cmp r9b, 0x1a
jne 0x405781
test r10b, 0x20
jne 0x4056d3
mov rbx, qword [rbx]
test rbx, rbx
je 0x405777
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rbx
mov rax, rbx
call fcn.00406040
test al, al
je 0x405777
mov rdx, qword [rsp + 0x58]
movzx r9d, byte [rdx + 0x17]
and r9d, 0x1f
cmp r9b, 1
jne 0x405756
mov rdx, qword [rsp + 0x28]
movzx r9d, byte [rdx + 0x17]
and r9d, 0x1f
cmp r9b, 0x1a
jne 0x40572a
mov eax, 1
lea rcx, [rsp + 0x48]
jmp 0x40578b
mov rax, qword [rdx + 0x30]
mov rbx, qword [rsp + 0x30]
mov ecx, 1
xor edi, edi
lea rsi, [0x008e4317]
mov r8d, 0x29
call fcn.00405820
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
cmp r9b, 0x11
jne 0x405765
xor eax, eax
lea rcx, [rsp + 0x58]
jmp 0x40578b
cmp r9b, 0x17
jne 0x4057cb
mov eax, 1
lea rcx, [rsp + 0x58]
jmp 0x40578b
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov eax, 1
lea rcx, [rsp + 0x48]
movzx r9d, byte [rdx + 0x17]
test r9b, 0x20
sete r9b
mov rbx, qword [rcx + 8]
mov ecx, r9d
mov edi, eax
lea rsi, [0x008e4317]
mov r8d, 0x29
mov rax, rdx
call fcn.00405820
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
nop
ret
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
lea rax, [0x008d60dc]
mov ebx, 0xc
call fcn.00439600
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00464c60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00405660
Function at 0x406840
Capabilities:
Gather firefox profile information
Reference http user-agent string

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rdx, rcx
shr rcx, 6
mov rsi, rcx
shl rcx, 6
nop
nop
sub rdx, rcx
add rdi, rdx
mov qword [rsp + 0x28], rdi
add rbx, rsi
add rcx, rax
mov qword [rsp + 0x30], rcx
xor eax, eax
xor esi, esi
jmp 0x406880
add rax, 8
nop
cmp rax, rdi
jae 0x4068ea
test rax, 0x3f
jne 0x406895
movzx esi, byte [rbx]
inc rbx
jmp 0x406897
shr esi, 1
test rdx, rdx
jbe 0x4068a2
add rdx, 0xfffffffffffffff8
jmp 0x40687a
bt esi, 0
jae 0x40687a
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x14], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + rax]
mov rax, rdx
call fcn.00406040
test al, al
jne 0x4068f4
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
mov esi, dword [rsp + 0x14]
mov rdi, qword [rsp + 0x28]
jmp 0x40687a
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x008e1d1e]
mov ebx, 0x24
call fcn.00439600
nop
int3

Function at 0x40bb20
Capabilities:
Gather firefox profile information
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40bc46
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rdx, qword [r14 + 0x30]
cmp dword [rdx + 0xc0], 0
jne 0x40bc30
mov rdx, qword [0x00833420]
mov rsi, qword [rdx + 8]
mov rdi, qword [rdx]
mov r8, rdi
shr rdi, 2
lea rdi, [rdi + rdi*2]
cmp rsi, rdi
jb 0x40bc0a
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x28], rax
lea rax, [r8 + r8]
lea rax, [rax + 2]
shl rax, 3
xor ebx, ebx
mov ecx, 1
call fcn.0040e4a0
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x18]
mov rsi, qword [rdx]
shl rsi, 1
mov qword [rax], rsi
movups xmmword [rsp + 0x30], xmm15
lea rsi, [0x004696e0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
nop dword [rax]
call fcn.0040ca40
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
mov rsi, qword [rsp + 0x18]
cmp qword [rsi + 8], rdx
jne 0x40bc1f
nop
cmp byte [0x00bc2240], 0
je 0x40bbf4
lea rax, [0x00833420]
call fcn.00404da0
mov rbx, qword [rsp + 0x20]
lea rcx, [0x00833420]
xchg qword [rcx], rbx
mov rdx, qword [0x00833420]
mov rax, qword [rsp + 0x28]
mov rbx, rax
mov rax, rdx
call fcn.0040bc60
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x008e35b3]
mov ebx, 0x27
call fcn.00439600
lea rax, [0x008d726b]
mov ebx, 0xf
nop dword [rax]
call fcn.00439600
nop
mov qword [rsp + 8], rax
call fcn.00464c60
mov rax, qword [rsp + 8]
jmp fcn.0040bb20
Function at 0x40cb00
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40cc26
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [rbx + 8]
inc rcx
mov qword [rbx + 8], rcx
nop
mov rdx, rbx
shl rbx, 0x10
mov rsi, rcx
and ecx, 0x7ffff
or rbx, rcx
mov rcx, rbx
sar rbx, 0x13
shl rbx, 3
cmp rdx, rbx
je 0x40cb4c
jmp 0x40cb6e
mov rax, rsi
mov rbx, qword [rax]
mov qword [rdx], rbx
mov rsi, rax
mov rax, rbx
lock cmpxchg qword [rsi], rcx
sete bl
test bl, bl
je 0x40cb49
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x20], rbx
call fcn.0043aec0
lea rax, [0x008e56fd]
mov ebx, 0x2c
call fcn.0043b7c0
mov rax, qword [rsp + 0x28]
nop dword [rax]
call fcn.0043b740
lea rax, [0x008d3b5a]
mov ebx, 5
call fcn.0043b7c0
mov rax, qword [rsp + 0x18]
nop dword [rax + rax]
call fcn.0043b620
lea rax, [0x008d4695]
mov ebx, 8
call fcn.0043b7c0
mov rax, qword [rsp + 0x10]
nop dword [rax + rax]
call fcn.0043b620
lea rax, [0x008d4b6e]
mov ebx, 9
call fcn.0043b7c0
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call fcn.0043b740
call fcn.0043b120
call fcn.0043af40
lea rax, [0x008d61f0]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.00439600
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464c60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.0040cb00
Function at 0x40d220
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [r14 + 0x30]
mov rdx, rax
xor eax, eax
lock cmpxchg qword [rdx], rcx
sete cl
nop
test cl, cl
je 0x40d2b1
mov qword [rsp + 0x28], r14
test rbx, rbx
jge 0x40d27b
mov rcx, qword [r14 + 0x30]
mov byte [rcx + 0xe5], 1
mov rcx, qword [0x00833418]
cmp qword [rcx], 0
jne 0x40d49e
mov rax, 0xffffffffffffffff
call fcn.00435740
jmp 0x40d44f
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x48], rbx
call fcn.00468c80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rbx, qword [rsp + 0x48]
add rax, rbx
mov qword [rsp + 0x18], rax
jmp 0x40d2dd
cmp qword [rdx], 1
jne 0x40d2c6
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x008defff]
mov ebx, 0x1e
call fcn.00439600
mov rax, rdx
mov rbx, rcx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x00833418]
cmp qword [rdx], 0
je 0x40d30e
nop word [rax + rax]
cmp rbx, 0x989680
jle 0x40d30e
mov ebx, 0x989680
mov rax, rbx
call fcn.00435740
test eax, eax
jge 0x40d3a2
mov rax, qword [0x00833418]
mov rax, qword [rax]
test rax, rax
je 0x40d353
mov qword [rsp], rax
mov qword [rsp + 8], 0
call fcn.00466a80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe5], 0
call fcn.00468c80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x18]
mov rdx, rcx
sub rcx, rax
test rcx, rcx
jg 0x40d2d7
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
nop
jmp 0x40d3c1
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [rcx]
mov rsi, qword [rdx + 0x30]
mov rdi, rsi
cmp rax, rsi
jne 0x40d3f1
xor esi, esi
lock cmpxchg qword [rcx], rsi
sete dil
nop dword [rax + rax]
test dil, dil
je 0x40d3c1
xor eax, eax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp rax, 1
jne 0x40d43e
mov byte [rdi + 0xe5], 1
mov rax, 0xffffffffffffffff
call fcn.00435740
test eax, eax
jl 0x40d42d
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x008e7ba8]
mov ebx, 0x32
call fcn.00439600
lea rax, [0x008e7511]
mov ebx, 0x31
call fcn.00439600
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [0x00833418]
mov rax, qword [rax]
mov qword [rsp], rax
mov qword [rsp + 8], 0
call fcn.00466a80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, 0x989680
call fcn.00435740
test eax, eax
jl 0x40d46e
jmp 0x40d44f
Function at 0x40d700
Capabilities:
Gather firefox profile information
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40d9ef
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
cmp word [0x00806944], 0x10
jne 0x40d9dd
mov rdx, qword [0x00bc1fc0]
test rdx, rdx
je 0x40d9cc
nop word [rax + rax]
nop
cmp rdx, 0x80000
ja 0x40d960
cmp rdx, 0x1000
jb 0x40d8ee
lea rbx, [rdx - 1]
nop
test rdx, rbx
jne 0x40d8a5
mov rdx, qword [0x00bc1fb8]
lea rbx, [rdx - 1]
test rdx, rbx
jne 0x40d858
nop dword [rax]
cmp rdx, 0x400000
jbe 0x40d794
mov qword [0x00bc1fb8], 0
cmp qword [0x00bc1fb8], 0
nop dword [rax]
jne 0x40d831
lea rax, [0x00b83f20]
call fcn.00428de0
call fcn.004181a0
mov qword [0x00bc1f78], rax
xor eax, eax
jmp 0x40d7c5
inc rax
cmp rax, 3
jl 0x40d7c2
mov eax, 0x7f
jmp 0x40d817
mov qword [rsp + 0x10], rax
lea rax, [0x00b9aac8]
nop
call fcn.0041ae60
mov rcx, qword [rsp + 0x10]
mov rdx, rcx
shl rcx, 0x28
movabs rbx, 0xc000000000
or rcx, rbx
mov qword [rax], rcx
mov rcx, qword [0x00b942d0]
mov qword [rax + 0x10], rcx
mov qword [0x00b942d0], rax
lea rax, [rdx - 1]
test rax, rax
jge 0x40d7d2
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rdx, [rcx + 1]
mov qword [0x00bc1fb0], rdx
mov rcx, qword [0x00bc1fb0]
cmp rcx, 0x40
sbb rdx, rdx
mov ebx, 1
shl rbx, cl
and rbx, rdx
cmp qword [0x00bc1fb8], rbx
jne 0x40d826
jmp 0x40d7a6
call fcn.0043aec0
lea rax, [0x008db5bd]
mov ebx, 0x17
call fcn.0043b7c0
mov rax, qword [0x00bc1fb8]
call fcn.0043b4c0
lea rax, [0x008dac65]
mov ebx, 0x17
call fcn.0043b7c0
call fcn.0043af40
lea rax, [0x008dc1e7]
mov ebx, 0x19
nop dword [rax]
call fcn.00439600
call fcn.0043aec0
lea rax, [0x008d8865]
mov ebx, 0x12
call fcn.0043b7c0
mov rax, qword [0x00bc1fc0]
call fcn.0043b4c0
lea rax, [0x008dac65]
mov ebx, 0x17
call fcn.0043b7c0
call fcn.0043af40
lea rax, [0x008d9617]
mov ebx, 0x14
call fcn.00439600
call fcn.0043aec0
lea rax, [0x008d8865]
mov ebx, 0x12
nop
call fcn.0043b7c0
mov rax, qword [0x00bc1fc0]
call fcn.0043b4c0
lea rax, [0x008e2402]
mov ebx, 0x25
nop dword [rax]
call fcn.0043b7c0
mov eax, 0x1000
call fcn.0043b5c0
lea rax, [0x008d357a]
mov ebx, 2
nop dword [rax + rax]
call fcn.0043b7c0
call fcn.0043af40
lea rax, [0x008d9617]
mov ebx, 0x14
call fcn.00439600
nop dword [rax + rax]
call fcn.0043aec0
lea rax, [0x008d8865]
mov ebx, 0x12
call fcn.0043b7c0
mov rax, qword [0x00bc1fc0]
nop dword [rax]
call fcn.0043b4c0
lea rax, [0x008e1c8e]
mov ebx, 0x24
call fcn.0043b7c0
mov eax, 0x80000
nop dword [rax + rax]
call fcn.0043b5c0
lea rax, [0x008d357a]
mov ebx, 2
call fcn.0043b7c0
call fcn.0043af40
lea rax, [0x008d9617]
mov ebx, 0x14
call fcn.00439600
lea rax, [0x008dee5b]
mov ebx, 0x1e
call fcn.00439600
lea rax, [0x008d7e17]
mov ebx, 0x11
call fcn.00439600
nop
call fcn.00464c60
jmp fcn.0040d700