joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402c4bbc
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
lea r9, [0x14052cf80]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1402c4c13
cmp word [rdx], r13w
jne 0x1402c4c13
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1402c4c18
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1402c4d3d
mov r11d, select
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1402c4d5e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1402c4c51
mov rdx, r9
mov word [rbx], cx
jmp 0x1402c4c78
cmp r9, r8
jae 0x1402c4c88
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1402c4c32
jmp 0x1402c4d3d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1402c4d32
cmp dword [rsp + 0x80], esi
je 0x1402c4d32
lea r8, [0x14052cf80]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1402c4d0a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1402c4cda
mov word [rbx], r13w
jmp 0x1402c4d3a
mov ecx, ntohs
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1402c4ce7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1402c4d3a
cmp word [rsp + 0x70], r13w
jne 0x1402c4d17
cmp rbx, r14
je 0x1402c4cd4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1402c59ac
cmp word [rsp + 0x70], r13w
je 0x1402c4d3d
mov ecx, ntohs
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x14052cf80]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1402c4d37
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1402c4d3d
Function at 0x1402c9620
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 0x1402c9650
xor eax, eax
jmp 0x1402c9713
mov rbp, rbx
cmp word [rax], si
je 0x1402c9675
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1402c965c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1402c9658
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.1402c70d4
movsxd r14, eax
test eax, eax
jne 0x1402c96b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1402c9649
mov rcx, r14
call fcn.1402c1460
mov rdi, rax
test rax, rax
jne 0x1402c96cc
xor ecx, ecx
call fcn.1402c066c
jmp 0x1402c96a8
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.1402c70d4
test eax, eax
jne 0x1402c96fd
mov rcx, rdi
call fcn.1402c066c
jmp 0x1402c9707
xor ecx, ecx
call fcn.1402c066c
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 0x1402c9730
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 0x1402c97b7
mov rsi, rbx
cmp word [rax], bp
je 0x1402c9776
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1402c9760
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1402c975c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1402c1460
mov rdi, rax
test rax, rax
je 0x1402c97a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1402a59d0
mov rbp, rdi
xor ecx, ecx
call fcn.1402c066c
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 0x1402cc85c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1402c0294
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1402cc8fd
cmp ebx, dword [rsp + 0x30]
je 0x1402cc8f6
test esi, esi
je 0x1402cc8f6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1402cc8d1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1402cc8de
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1402cc8bb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1402cc8e2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1402cc8ff
mov eax, 1
jmp 0x1402cc8ff
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402d07ec
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1402b18a8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1402d0876
cmp byte [rbp - 0x21], r15b
je 0x1402d0871
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1402d08ac
call fcn.1402c0970
test eax, eax
jne 0x1402d0898
cmp byte [rbp - 0x21], r15b
je 0x1402d0890
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1402d08ac
cmp byte [rbp - 0x21], r15b
je 0x1402d08a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1402b172c
test eax, eax
jne 0x1402d094c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1402b18a8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1402d08eb
cmp byte [rbp - 0x21], r15b
je 0x1402d0920
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1402d0920
call fcn.1402c0970
test eax, eax
jne 0x1402d090c
cmp byte [rbp - 0x21], r15b
je 0x1402d0905
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1402d0920
cmp byte [rbp - 0x21], r15b
je 0x1402d091d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1402b172c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1402d094c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1402d094f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1402d095d
mov rcx, rdi
call fcn.1402c066c
cmp byte [rbp + 0x3f], r15b
je 0x1402d096c
mov rcx, qword [rbp + 0x27]
call fcn.1402c066c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1402d11ac
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1404a9080]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1402d11f6
call fcn.1402b89b8
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1402b89d8
mov dword [rax], select
call fcn.1402b7a18
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14013c2a0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1402d1201
lea eax, [rbx + 1]
jmp 0x1402d11e3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1402d11e1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1402d11e3

Function at 0x1402d1dbc
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.1402c59ac
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1402c59ac
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402d1f0c
cmp rax, 0xffffffffffffffff
je 0x1402d1f0c
xor edi, edi
test rbp, rbp
jle 0x1402d1eb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1402c05f4
mov rbx, rax
test rax, rax
jne 0x1402d1e44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1402d1ead
mov edx, 0x8000
mov ecx, r14d
call fcn.1402ba954
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.1402c35ec
cmp eax, 0xffffffff
je 0x1402d1e8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1402d1e54
mov edx, r15d
mov ecx, r14d
call fcn.1402ba954
jmp 0x1402d1ead
cmp byte [rsi + 0x38], dil
je 0x1402d1ea4
cmp dword [rsi + 0x34], 5
jne 0x1402d1ea4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], select
cmp byte [rsi + 0x30], dil
je 0x1402d1ead
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1402c066c
jmp 0x1402d1f20
jns 0x1402d1f20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1402c59ac
cmp rax, 0xffffffffffffffff
jne 0x1402d1ed8
cmp byte [rsi + 0x30], dil
je 0x1402d1f20
mov edi, dword [rsi + 0x2c]
jmp 0x1402d1f20
mov ecx, r14d
call fcn.1402c41b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1402d1f20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohs
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], select
jmp 0x1402d1f20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402d1f19
mov eax, dword [rsi + 0x2c]
jmp 0x1402d1f1e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1402c59ac
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 0x1400d79e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400d79ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400d79fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400d79e5
lea eax, [rcx + 1]
jmp 0x1400d7a0b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400d7a1e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400d7a04
sub eax, 3
jb 0x1400d7a3e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400d7a8d
sar eax, 1
movsxd rbp, eax
jb 0x1400d7a74
jmp 0x1400d7a4c
add ebx, ebx
jne 0x1400d7a4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400d7a74
inc ecx
add ebx, ebx
jne 0x1400d7a5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400d7a74
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400d7a6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400d7a5c
add ecx, 2
jmp 0x1400d7a79
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400d79a2
jmp 0x1400d79ed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4c000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400d7add
cmp rsi, rcx
jae 0x1400d7ae5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400d7ac4
cmp al, 0x8f
ja 0x1400d7ac4
cmp byte [rsi - 2], 0xf
je 0x1400d7aca
sub al, 0xe8
cmp al, 1
ja 0x1400d7aae
cmp rsi, rcx
jae 0x1400d7ae5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400d7ab4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400d7ae5
lodsb al, byte [rsi]
jmp 0x1400d7ac4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd4000]
mov eax, dword [rdi]
or eax, eax
je 0x1400d7b42
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd71e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400d7af2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400d7b3c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400d7b12
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400d7b7c
cmp al, 0xef
ja 0x1400d7b6e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400d7b4e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400d7b5d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400d7bd0
sub rsp, 0xffffffffffffff80
jmp 0x14004b45c
Function at 0x140017a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140017ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140017ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140017aad
mov qword [rsi], rdi
call fcn.140017670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.firefox.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
sbb eax, 0x5fff9741
jo 0x1400a12ee
nop
or dh, byte [rcx + rdx*4 - 0x12]
invalid
insd dword [rdi], dx
nop
jne 0x1400a133e
jo 0x1400a13ba
sub dword [rcx - 0x45], edx
add byte [rsi + 0x1e], 0x7a
int1
iretd
invalid
or esp, esi
pop rbx
fist word [rdi]
loope case.0x140007d86.4
invalid

Function at 0x140017b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140017bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140017b98
add rdi, rbx
sub rsi, rbx
je 0x140017bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140017b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.140013500
mov rcx, r12
call fcn.140013600
jmp 0x140017b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140045f60
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140030ec0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ebx, 0xc000000d
test r9d, r9d
jne 0x140030f08
mov rdi, r8
mov rsi, rdx
call fcn.14003f010
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebx, 0xc0000022
cmp dword [rax], 2
jge 0x140030f29
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140045f60
mov eax, ebx
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140039100
test al, al
je 0x140030f08
mov r15, qword [0x1400567f8]
test r15, r15
je 0x140030f08
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x50]
mov rdx, rax
call int.140017a40
mov r14, qword [rsp + 0x50]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140030fb2
mov qword [rsp + 0x20], 0x1000
mov rcx, r14
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0x50]
mov ebx, 0xc000000d
lea rax, [r14 + 1]
cmp rax, 2
jae 0x140030fe0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140030fd1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x50]
call fcn.140017ad0
jmp 0x140030f08
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140030fc1
mov r8d, 0x1000
mov rdx, rdi
call sub.ntdll.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov edx, 0x1e
call fcn.140031080
mov ebx, 0xc0000022
test eax, eax
jne 0x140030fc1
mov ebx, dword [rsp + 0x68]
jmp 0x140030fc1
Function at 0x140031140
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.14003f010
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebp, 0xc0000022
cmp dword [rax], 2
jge 0x1400311a4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140045f60
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140039100
test al, al
je 0x140031182
mov r15, qword [0x1400567f8]
test r15, r15
je 0x140031182
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1010
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x50]
mov rdx, rax
call int.140017a40
mov r14, qword [rsp + 0x50]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003122d
mov qword [rsp + 0x20], 0x1010
mov rcx, r14
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0x50]
mov ebp, 0xc000000d
lea rax, [r14 + 1]
cmp rax, 2
jae 0x14003125b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003124c
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x50]
call fcn.140017ad0
jmp 0x140031182
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003123c
mov r8d, 0x1010
mov rdx, rbx
call sub.ntdll.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov edx, 0x1f
call fcn.140031080
mov ebp, 0xc0000022
test eax, eax
jne 0x14003123c
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x14003123c
mov rdx, qword [rsp + 0x58]
mov r8d, 0x1000
mov rcx, rsi
call sub.ntdll.dll_memcpy
xor ebp, ebp
jmp 0x14003123c
Function at 0x2100413b0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov byte [rsp + 0x163], 0xb4
mov dword [rsp + 0x344], 0x3016bf16
mov dword [rsp + 0x348], 0xace4112f
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x200], 0x4c
movabs rax, 0x404f405261cb24ac
mov qword [rsp + 0x548], rax
mov byte [rsp + 0x164], 0x43
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x200], 0x4c
mov byte [rsp + 0x165], 0xf2
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x200], 0
lea rcx, [rsp + 0x200]
mov rax, qword [rsp + 0x1c0]
call qword [rax + 0xb2f0]
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x34c], 0x650c678c
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x200], 0x43
invalid
invalid
invalid

Function at 0x210041560
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
add eax, 0x1b80000
add byte [rax], al
add byte [rax + 0x6b], cl
rol byte [rdi], 0xc6
test byte [rax + rax], al
add al, byte [rax]
add byte [rsi - 0x3a], ch
test byte [rbx + rbp*2], ah
add dword [rax], eax
add al, ch
mov byte [rsp + 0x16c], 0x5f
movabs rax, 0x8c57aba6e2cd3a4d
mov qword [rsp + 0x568], rax
movabs rax, 0xe825423a9e65fc9a
mov qword [rsp + 0x570], rax
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x200], 0x64
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x200], 0x6c
mov dword [rsp + 0x368], 0xd7cde32d
mov dword [rsp + 0x36c], 0xad1b8bf0
mov byte [rsp + 0x16d], 0x6b
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x200], 0x65
mov byte [rsp + 0x16e], 0xbc
mov byte [rsp + 0x16f], 0xbb
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x200], 0
movabs rax, 0x3f9e8074ecf6510a
mov qword [rsp + 0x578], rax
mov byte [rsp + 0x170], 0x13
mov dword [rsp + 0x370], 0x3a291f40
mov byte [rsp + 0x171], 0x81
mov byte [rsp + 0x172], 0xf5
mov byte [rsp + 0x173], 0xb5
movabs rax, 0x5de2d2a32e9adf3c
mov qword [rsp + 0x580], rax
mov dword [rsp + 0x374], 0x2b3f185
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rsp + 0x1c0]
call qword [rax + 0xb300]
mov qword [rsp + 0x4c0], rax
mov dword [rsp + 0x378], 0xec394c6e
mov dword [rsp + 0x37c], 0x726d5478
movabs rax, 0x553faa4e733a5e1e
mov qword [rsp + 0x588], rax
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x200], 0x43
movabs rax, 0x41b5096cfb52da0d
invalid
invalid
invalid

Function at 0x2100418b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x5d0], eax
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x200], 0
mov dword [rsp + 0x3a0], 0xe309a0e6
mov dword [rsp + 0x3a4], 0x74fa6150
mov dword [rsp + 0x3a8], 0xda65b878
mov byte [rsp + 0x17c], 0x31
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rsp + 0x1c0]
call qword [rax + 0xb300]
mov qword [rsp + 0x4a0], rax
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x200], 0x47
mov dword [rsp + 0x3ac], 0xf7f0a1b9
mov byte [rsp + 0x17d], 0x71
mov byte [rsp + 0x17e], 0x9c
mov byte [rsp + 0x17f], 0x30
mov eax, 1