joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140223df0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140223e6e
mov rax, 0xffffffffffffffff
xor edx, edx
div rsi
mov rcx, 0xfffffffffffffffe
sub rcx, rdx
mov rax, qword [rsp + 0x20]
cmp rax, rcx
ja 0x140223e18
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140115e50
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x140224e20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x90
call fcn.140228700
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x140224e46
mov qword [rsi + 0x70], rcx
call fcn.1400096d0
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x140224e58
mov qword [rsi + 0x50], rcx
call fcn.1400096d0
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140224e6a
mov qword [rsi + 0x30], rcx
call fcn.1400096d0
mov rdx, qword [rsi + 0x18]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140228730
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
jne 0x140228742
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rdx]
call 0x140228730
mov rdx, qword [rsi + 8]
mov rcx, rdi
call 0x140228730
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400096d0

Function at 0x140227930
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov rcx, qword [rcx]
mov rbx, qword [r15 + 8]
sub rbx, rcx
sar rbx, 4
lea rax, [rbx + 1]
mov rdx, rax
shr rdx, 0x3c
jne 0x140227a44
movabs rdx, 0xfffffffffffffff
mov rdi, qword [r15 + 0x10]
sub rdi, rcx
mov rcx, rdi
sar rcx, 4
sar rdi, 3
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x7ffffffffffffff
cmp rcx, rax
cmovae rdi, rdx
test rdi, rdi
jne 0x140227a37
xor eax, eax
shl rbx, 4
lea rdx, [rax + rbx]
shl rdi, 4
add rdi, rax
mov rcx, qword [r14]
lea r8, [rax + rbx]
add r8, 0x10
mov qword [r8 - 0x10], rcx
mov cl, byte [r14 + 8]
and cl, 1
mov byte [r8 - 8], cl
mov cl, byte [r14 + 9]
and cl, 1
mov byte [r8 - 7], cl
mov rbx, qword [r15]
mov rcx, qword [r15 + 8]
cmp rcx, rbx
je 0x140227a0a
mov rax, qword [rcx - 0x10]
mov qword [rdx - 0x10], rax
mov al, byte [rcx - 8]
and al, 1
mov byte [rdx - 8], al
mov al, byte [rcx - 7]
lea rsi, [rcx - 0x10]
and al, 1
mov byte [rdx - 7], al
add rdx, 0xfffffffffffffff0
mov rcx, rsi
cmp rbx, rsi
jne 0x1402279df
mov rcx, qword [r15]
mov qword [r15], rdx
mov qword [r15 + 8], r8
mov qword [r15 + 0x10], rdi
test rcx, rcx
je 0x140227a2a
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400096d0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.140227c10
jmp 0x14022799f
mov rcx, r15
call fcn.140196430
int3

Function at 0x140228700
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x38
call 0x140262040
add rsi, 8
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140262040
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140262062
mov rdi, qword [rcx]
call fcn.140020510
mov rcx, rdi
test rdi, rdi
jne 0x140262052
mov rdx, qword [rsi]
mov qword [rsi], 0
test rdx, rdx
je 0x140262087
mov r8, qword [rsi + 8]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14001f470
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140228ea1
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x140228ecc
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x140228ef8
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x140228f0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140228fdb
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140228fd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x61
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140228fa8
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
cmp byte [rsp + 0x1a7], 0
jns 0x140228fca
mov rcx, qword [rsp + 0x190]
call fcn.140112038
lea rcx, [rsp + 0x40]
call fcn.140183e60
xor edi, edi
jmp 0x140228edb
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140209583
test al, al
jne 0x140228edb
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140228fd4
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5c
mov r9d, 2
call fcn.14019a740
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14022906b
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400ff874
cmp byte [rsp + 0x1a7], 0
jns 0x1402290a2
mov rcx, qword [rsp + 0x190]
call fcn.140112038
lea rcx, [rsp + 0x40]
call fcn.140001d00
jmp 0x140228fd4
Function at 0x1402290b1
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1402290d9
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
je 0x140229107
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140115e50
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1402290e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x2f
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400ff874
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400c0b10
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140229195
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400ff874
cmp byte [rsp + 0x57], 0
jns 0x1402291b1
mov rcx, qword [rsp + 0x40]
call fcn.140112038
lea rcx, [rsp + 0x58]
call fcn.140183e60
jmp 0x1402290e5
Function at 0x1402521ce
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14025ac31
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
xor r12d, r12d
test rcx, rcx
je 0x14025ade2
mov r14, r8
test r8, r8
je 0x14025ade2
mov r15, r9
mov r13, rdx
test rdx, rdx
mov rax, rdx
cmove rax, r14
movzx edx, byte [rax]
mov ebp, edx
shl ebp, 5
sub ebp, edx
sub ebp, edx
test r13, r13
je 0x14025acb3
mov bl, byte [r13]
test bl, bl
je 0x14025aca2
lea rdx, [r13 + 1]
movsx ebx, bl
mov esi, ebp
shl esi, 5
mov eax, ebp
shr eax, 3
add eax, ebx
add eax, esi
xor ebp, eax
mov bl, byte [rdx]
inc rdx
test bl, bl
jne 0x14025ac86
mov eax, ebp
shl eax, 5
mov edx, ebp
shr edx, 3
add eax, edx
add eax, 0x3a
xor ebp, eax
mov bl, byte [r14]
test bl, bl
je 0x14025acda
lea rdx, [r14 + 1]
movsx eax, bl
mov esi, ebp
shl esi, 5
mov edi, ebp
shr edi, 3
add edi, eax
add edi, esi
xor ebp, edi
mov bl, byte [rdx]
inc rdx
test bl, bl
jne 0x14025acbe
mov rbx, qword [rsp + 0x90]
mov eax, ebp
shl eax, 5
mov r8d, ebp
shr r8d, 3
add r8d, eax
xor r8d, ebp
test r15, r15
je 0x14025ad37
mov dl, byte [r15]
test dl, dl
je 0x14025ad23
lea rax, [r15 + 1]
movsx ebp, dl
mov edx, r8d
shl edx, 5
mov esi, r8d
shr esi, 3
add esi, ebp
add esi, edx
xor r8d, esi
mov dl, byte [rax]
inc rax
test dl, dl
jne 0x14025ad04
mov eax, r8d
shl eax, 5
mov edx, r8d
shr edx, 3
add eax, edx
add eax, 0x3a
xor r8d, eax
test rbx, rbx
je 0x14025ad6a
mov dl, byte [rbx]
test dl, dl
je 0x14025ad6a
mov rbp, rbx
lea rax, [rbx + 1]
movsx edx, dl
mov edi, r8d
shl edi, 5
mov ebx, r8d
shr ebx, 3
add ebx, edx
add ebx, edi
xor r8d, ebx
mov dl, byte [rax]
inc rax
test dl, dl
jne 0x14025ad49
jmp 0x14025ad6d
mov rbp, rbx
mov edx, r8d
shl edx, 5
mov eax, r8d
shr eax, 3
add eax, edx
xor eax, r8d
xor r12d, r12d
xor edx, edx
div dword [rcx + 8]
mov rsi, qword [rcx]
lea rax, [rdx + rdx*2]
shl rax, 4
cmp dword [rsi + rax + 0x28], 0
je 0x14025ade2
add rsi, rax
je 0x14025ade2
xor r12d, r12d
mov rdi, rbp
mov r8, qword [rsi + 8]
mov rcx, r13
mov rdx, r14
call fcn.140256368
test eax, eax
je 0x14025adda
mov r8, qword [rsi + 0x10]
mov rcx, r15
mov rdx, rdi
call fcn.140256368
test eax, eax
je 0x14025adda
mov r8, qword [rsi + 0x18]
xor ecx, ecx
xor edx, edx
call fcn.140256368
test eax, eax
jne 0x14025adf6
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14025ada3
mov rax, r12
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi + 0x20]
jmp 0x14025ade2
Function at 0x14025a8d5
Capabilities:
Encode data using xor

Disassembly:
push rsi
test rdx, rdx
je 0x14025a919
movzx r10d, byte [rdx]
mov r11d, r10d
shl r11d, 5
sub r11d, r10d
sub r11d, r10d
test r10d, r10d
je 0x14025a91c
inc rdx
movsx r10d, r10b
mov eax, r11d
shl eax, 5
mov esi, r11d
shr esi, 3
add esi, eax
add esi, r10d
xor r11d, esi
mov r10b, byte [rdx]
inc rdx
test r10b, r10b
jne 0x14025a8f4
jmp 0x14025a91c
xor r11d, r11d
mov eax, r11d
shl eax, 5
mov r10d, r11d
shr r10d, 3
add r10d, eax
xor r10d, r11d
test r8, r8
je 0x14025a95e
mov al, byte [r8]
test al, al
je 0x14025a95e
inc r8
movsx eax, al
mov edx, r10d
shl edx, 5
mov esi, r10d
shr esi, 3
add esi, eax
add esi, edx
xor r10d, esi
mov al, byte [r8]
inc r8
test al, al
jne 0x14025a93e
mov edx, r10d
shl edx, 5
mov eax, r10d
shr eax, 3
add eax, edx
xor eax, r10d
test r9, r9
je 0x14025a99d
mov dl, byte [r9]
test dl, dl
je 0x14025a99d
inc r9
movsx r8d, dl
mov esi, eax
shl esi, 5
mov edx, eax
shr edx, 3
add edx, r8d
add edx, esi
xor eax, edx
mov dl, byte [r9]
inc r9
test dl, dl
jne 0x14025a97e
xor edx, edx
div dword [rcx + 8]
mov eax, edx
pop rsi
ret
Function at 0x14025e05d
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
cmp dword [rcx + 0x10108], 0
mov r9d, dword [rcx + 0xd4]
je 0x14025e114
test r9, r9
je 0x14025e114
xor eax, eax
mov r8d, 0xff
mov esi, dword [rdi + 0x10128]
mov ecx, dword [rdi + 0x10130]
mov edx, ecx
and edx, 0xfffd
lea r10d, [rdx + 2]
xor edx, 3
imul edx, r10d
shr edx, 8
movzx r10d, byte [rdi + rax + 0x100]
mov r11, qword [rdi + 0x10138]
mov ebx, esi
and ebx, r8d
xor ebx, r10d
shr esi, 8
xor esi, dword [r11 + rbx*4]
mov dword [rdi + 0x10128], esi
and esi, r8d
add esi, dword [rdi + 0x1012c]
imul ebx, esi, 0x8088405
inc ebx
mov dword [rdi + 0x1012c], ebx
shr ebx, 0x18
mov esi, ecx
and esi, r8d
xor esi, ebx
shr ecx, 8
xor ecx, dword [r11 + rsi*4]
mov dword [rdi + 0x10130], ecx
xor byte [rdi + rax + 0x100], dl
inc rax
cmp r9, rax
jne 0x14025e08c
lea r8, [rdi + 0x100]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x58]
call qword [rdi + 0x10]
mov edx, dword [rdi + 0x84]
mov ebx, dword [rdi + 0xd4]
xor ecx, ecx
cmp eax, ebx
setne cl
add qword [rdi + 0x10118], rbx
add qword [rdi + 0x10120], rdx
neg ecx
xor eax, eax
mov dword [rdi + 0x84], eax
mov dword [rdi + 0xd4], eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14025eb8e
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x14025ebd9
cmp byte [rcx], 0x4d
jne 0x14025ebd9
cmp byte [rcx + 1], 0x5a
jne 0x14025ebd9
mov r9d, dword [rcx + 0x3c]
xor eax, eax
test r9b, 7
jne 0x14025ebdb
cmp r9d, 0x40
jb 0x14025ebdb
cmp r9, rdx
jae 0x14025ebdb
mov r10, rdx
sub r10, r9
cmp r10, 0x18
jb 0x14025ebdb
cmp byte [rcx + r9], 0x50
jne 0x14025ebd9
cmp byte [rcx + r9 + 1], 0x45
jne 0x14025ebd9
cmp byte [rcx + r9 + 2], 0
je 0x14025ebdc
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x14025ebd9
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x14025ebdb
cmp rdx, 2
jb 0x14025ebdb
cmp word [rcx + r9], r8w
sete al
jmp 0x14025ebdb

Function at 0x140262040
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x38
call 0x140262040
add rsi, 8
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140262040
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140262062
mov rdi, qword [rcx]
call fcn.140020510
mov rcx, rdi
test rdi, rdi
jne 0x140262052
mov rdx, qword [rsi]
mov qword [rsi], 0
test rdx, rdx
je 0x140262087
mov r8, qword [rsi + 8]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14001f470
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14026cee6
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14026cf01
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14015de79
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 0x14026cfaf
mov rbx, 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 r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x14026cfaf
mov qword [rsp + 0x20], 0
mov rcx, r14
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 0x14026cfda
mov qword [rdi + 0x28], r14
mov al, 1
jmp 0x14026cef7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14026cef5
mov dword [rsi], 7
jmp 0x14026cef5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14026cef5
Function at 0x14028629e
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1402ae190]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.1402753b0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14028602a
test al, al
je 0x140286365
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1402863f1
mov rcx, rdi
call fcn.1402753b0
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14028602a
test al, al
je 0x140286436
cmp dword [r15], 0x4550
jne 0x140286475
mov sil, 1
test r14, r14
je 0x1402863d0
mov qword [r14], rdi
jmp 0x1402863d0
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x1402863ce
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400ff874
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402863bb
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400ff874
mov rcx, rdi
call fcn.140001d00
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x1402863ce
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402863a5
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x1402863ce
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14028639f
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x1402863ce
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402863a5
Function at 0x140286ab8
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1402ae190]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.1402753b0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14028602a
test al, al
je 0x140286b7f
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x140286c0b
mov rcx, rdi
call fcn.1402753b0
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14028602a
test al, al
je 0x140286c50
cmp dword [r15], 0x4550
jne 0x140286c8f
mov sil, 1
test r14, r14
je 0x140286bea
mov qword [r14], rdi
jmp 0x140286bea
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140286be8
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400ff874
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140286bd5
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400ff874
mov rcx, rdi
call fcn.140001d00
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140286be8
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140286bbf
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140286be8
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140286bb9
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140286be8
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140286bbf
Function at 0x1408ed160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408ed2e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408ed191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ed177
add dl, dl
jne 0x1408ed19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ed1fe
xor eax, eax
add dl, dl
jne 0x1408ed1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ed2b5
add dl, dl
jne 0x1408ed1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ed1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ed1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ed1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408ed1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408ed186
mov eax, 1
add dl, dl
jne 0x1408ed20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ed21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ed203
sub eax, ebx
mov ebx, 1
jne 0x1408ed254
mov ecx, 1
add dl, dl
jne 0x1408ed236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408ed243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ed22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ed186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408ed270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408ed27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ed265
cmp eax, 0x7d00
jae 0x1408ed2a3
cmp eax, 0x500
jb 0x1408ed29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ed186
cmp eax, 0x7f
ja 0x1408ed2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ed186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408ed2da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408ed186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180005440
Capabilities:
Enumerate services

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
xor ecx, ecx
xor edx, edx
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x180005585
mov rsi, rax
lea r14, [rsp + 0x58]
and dword [r14], 0
lea r15, [rsp + 0x5c]
and dword [r15], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 0x30
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x180005548
mov ecx, dword [rsp + 0x58]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x180005530
mov rbx, rax
mov eax, dword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor edi, edi
mov rcx, rsi
xor edx, edx
mov r8d, 0x30
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x180005540
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x5c]
imul rcx, rcx, 0x38
xor edi, edi
xor edx, edx
cmp rcx, rdx
je 0x180005540
cmp dword [rbx + rdx + 0x2c], eax
je 0x180005534
add rdx, 0x38
jmp 0x18000551f
xor edi, edi
jmp 0x180005548
mov rcx, qword [rbx + rdx]
call sub.msvcrt.dll__strdup
mov rdi, rax
mov rcx, rbx
call fcn.180007260
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x180005585
lea rdx, [0x180005403]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov qword [0x1800099c0], rax
test rax, rax
jne 0x18000558a
mov rcx, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.180007260
call fcn.180003a6e
lea rsi, [0x1800099a0]
mov r8d, 0x1c
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
movabs rax, 0x400000020
mov qword [0x1800099a0], rax
mov dword [0x1800099b4], 1
mov rcx, qword [0x1800099c0]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call fcn.180003a6e