joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14098cc3a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
push rax
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp
push r10
push r8
mov dword [rbp - 0x20], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
test rax, rax
je 0x14098cd37
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x1c]
test rax, rax
jne 0x14098cd37
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
cmp word [rax], 0x5a4d
jne 0x14098cd37
mov ebx, dword [rax + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x14098cd37
mov rbx, qword [rax + 0x30]
mov qword [rbp - 0x1c], rbx
mov ebx, dword [rax + 0x50]
mov dword [rbp - 0x14], ebx
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, qword [rbp - 0x1c]
mov edx, dword [rbp - 0x14]
mov r8, 0x2000
mov r9, 4
call qword [rdi + 0x150a332b]
add rsp, 0x20
pop rsp
pop rdi
test rax, rax
jne 0x14098cd28
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, 0
mov edx, dword [rbp - 0x14]
mov r8, 0x2000
mov r9, 4
call qword [rdi + 0x150a332b]
add rsp, 0x20
pop rsp
pop rdi
test rax, rax
je 0x14098cd37
mov rbx, qword [rbp + 0x10]
mov qword [rbx + 0x1c], rax
mov dword [rbp - 0x20], 1
pop r8
pop r10
pop rbp
pop rdi
pop rsi
pop rdx
pop rcx
pop rbx
pop rax
mov eax, dword [rbp - 0x20]
leave
ret 8

Function at 0x14098ce2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
push rax
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp
push r10
push r8
mov rax, qword [rbp + 0x10]
mov rbx, qword [rax + 0x1c]
mov qword [rbp - 0x14], rbx
mov rax, qword [rax + 8]
mov qword [rbp - 0x1c], rax
mov ebx, dword [rax + 0x3c]
add rax, rbx
lea rbx, [rax + 0x18]
movzx ecx, word [rax + 0x14]
add rbx, rcx
movzx ecx, word [rax + 6]
test ecx, ecx
je 0x14098cf16
push rcx
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x10]
cmp ecx, edx
jae 0x14098ce81
mov ecx, edx
mov qword [rbp - 0xc], rcx
mov eax, dword [rbx + 0xc]
add rax, qword [rbp - 0x14]
push rcx
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp - 0xc]
mov r8, 0x1000
mov r9, 4
call qword [rdi + 0x150a332b]
add rsp, 0x20
pop rsp
pop rdi
pop rcx
test rax, rax
je 0x14098cf09
push rdi
mov rdi, rax
xor eax, eax
push rcx
push rdi
rep stosb byte [rdi], al
pop rdi
pop rcx
mov edx, dword [rbx + 0x10]
cmp ecx, edx
jl 0x14098cee5
mov ecx, edx
mov esi, dword [rbx + 0x14]
add rsi, qword [rbp - 0x1c]
lea rax, [rbx + 0x10]
cmp dword [rax + 4], 0
je 0x14098cefc
rep movsb byte [rdi], byte [rsi]
pop rdi
add rbx, 0x28
pop rcx
dec ecx
jmp 0x14098ce68
pop rcx
mov dword [rbp - 0x20], 0
jmp 0x14098cf1d
mov dword [rbp - 0x20], 1
pop r8
pop r10
pop rbp
pop rdi
pop rsi
pop rdx
pop rcx
pop rbx
pop rax
mov eax, dword [rbp - 0x20]
leave
ret 8
Function at 0x14098d18b
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
push rax
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp
push r10
push r8
mov dword [rbp - 0x30], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x1c]
mov qword [rbp - 0x2c], rax
mov ebx, dword [rax + 0x3c]
add rax, rbx
lea rbx, [rax + 0x18]
movzx ecx, word [rax + 0x14]
add rbx, rcx
movzx ecx, word [rax + 6]
test ecx, ecx
je 0x14098d239
push rcx
mov ecx, dword [rbx + 0xc]
add rcx, qword [rbp - 0x2c]
mov edx, dword [rbx + 0x24]
push rdx
call fcn.14098d115
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x20], rcx
mov eax, dword [rbx + 8]
mov qword [rbp - 0x18], rax
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x10]
lea r9, [rbp - 0x24]
call qword [rdi + 0x15218ce6]
add rsp, 0x20
pop rsp
pop rdi
test rax, rax
jne 0x14098d22d
pop rcx
jmp 0x14098d240
add rbx, 0x28
pop rcx
dec ecx
jmp 0x14098d1c6
mov dword [rbp - 0x30], 1
pop r8
pop r10
pop rbp
pop rdi
pop rsi
pop rdx
pop rcx
pop rbx
pop rax
mov eax, dword [rbp - 0x30]
leave
ret 8
Function at 0x14098d48e
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp qword [rbp + 0x30], 0
jne 0x14098d631
cmp qword [rbp + 0x18], 0
jne 0x14098d631
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x40], rax
mov eax, dword [rax + 0x10]
cmp eax, 0xffffffff
je 0x14098d4de
sub rax, qword [rbp + 0x20]
js 0x14098d631
je 0x14098d631
cmp rax, qword [rbp + 0x28]
jl 0x14098d631
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 8]
cmp word [rax], 0x5a4d
jne 0x14098d631
mov ebx, dword [rax + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x14098d631
mov ebx, dword [rax + 0x50]
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, 0
mov rdx, rbx
mov r8, 0x1000
mov r9, 4
call qword [rdi + 0x150a332b]
add rsp, 0x20
pop rsp
pop rdi
test rax, rax
je 0x14098d631
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], rax
push rbx
mov rbx, qword [rbp + 0x10]
mov qword [rbp - 0x30], rbx
pop rbx
lea rax, [rbp - 0x38]
push rdi
push rax
lea rax, [rdi + 0x15242f6b]
push rax
call fcn.14098be73
pop rdi
test eax, eax
je 0x14098d631
lea rax, [rbp - 0x38]
push rdi
push rax
lea rax, [rdi + 0x15242f73]
push rax
call fcn.14098be73
pop rdi
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 8]
mov ebx, dword [rax + 0x3c]
add rax, rbx
mov eax, dword [rax + 0x54]
mov dword [rbp - 0x20], eax
push rdi
mov ecx, dword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x40]
mov rsi, qword [rsi + 8]
rep movsb byte [rdi], byte [rsi]
pop rdi
mov rbx, qword [rbp - 0x28]
mov qword [rbp - 0x1c], rbx
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 8]
mov qword [rbp - 0x14], rax
mov ebx, dword [rax + 0x3c]
add rax, rbx
lea rbx, [rax + 0x18]
movzx ecx, word [rax + 0x14]
add rbx, rcx
movzx ecx, word [rax + 6]
test ecx, ecx
je 0x14098d624
push rcx
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 0xc]
add rax, qword [rbp - 0x1c]
test rax, rax
je 0x14098d631
push rdi
mov rdi, rax
xor eax, eax
push rcx
push rdi
rep stosb byte [rdi], al
pop rdi
pop rcx
mov edx, dword [rbx + 0x10]
cmp ecx, edx
jl 0x14098d60e
mov ecx, edx
mov esi, dword [rbx + 0x14]
add rsi, qword [rbp - 0x14]
rep movsb byte [rdi], byte [rsi]
pop rdi
add rbx, 0x28
pop rcx
dec ecx
jmp 0x14098d5d9
push qword [rbp + 0x10]
call fcn.14098e8f4
jmp 0x14098d639
mov qword [rbp - 0x38], 0
mov rax, qword [rbp - 0x38]
leave
ret 0x28
Function at 0x14098db63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
push rax
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp
push r10
push r8
mov qword [rbp - 0x20], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x1c]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14098dca2
mov rcx, rax
mov ebx, dword [rcx + 0x3c]
add rcx, rbx
mov ecx, dword [rcx + 0x8c]
test ecx, ecx
je 0x14098dca2
mov dword [rbp - 8], ecx
mov rbx, rax
mov ecx, dword [rbx + 0x3c]
add rbx, rcx
mov ebx, dword [rbx + 0x88]
add rbx, rax
mov qword [rbp - 0x10], rbx
mov rax, qword [rbp + 0x18]
mov rcx, 0xffffffffffff0000
test rax, rcx
je 0x14098dc44
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14098dca2
dec ecx
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x20]
add rax, qword [rbp - 0x18]
push rcx
shl ecx, 2
add rax, rcx
mov eax, dword [rax]
add rax, qword [rbp - 0x18]
push rdi
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x18]
call qword [rdi + 0x152431cf]
add rsp, 0x20
pop rsp
pop rdi
pop rcx
test eax, eax
jne 0x14098dbda
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x24]
add rax, qword [rbp - 0x18]
shl ecx, 1
add rax, rcx
movzx ecx, word [rax]
jmp 0x14098dc4b
mov rcx, qword [rbp + 0x18]
sub ecx, dword [rbx + 0x10]
mov rbx, qword [rbp - 0x10]
mov eax, dword [rbx + 0x14]
cmp ecx, eax
jge 0x14098dca2
mov rax, qword [rbp - 0x18]
mov edx, dword [rbx + 0x1c]
add rdx, rax
shl ecx, 2
add rdx, rcx
cmp dword [rdx], 0
je 0x14098dca2
mov ebx, dword [rdx]
add rax, rbx
mov qword [rbp - 0x20], rax
cmp rax, qword [rbp - 0x10]
jle 0x14098dca2
sub rax, qword [rbp - 0x10]
cmp eax, dword [rbp - 8]
jge 0x14098dca2
push qword [rbp - 0x20]
push qword [rbp + 0x10]
call fcn.14098da33
mov qword [rbp - 0x20], rax
pop r8
pop r10
pop rbp
pop rdi
pop rsi
pop rdx
pop rcx
pop rbx
pop rax
mov rax, qword [rbp - 0x20]
leave
ret 0x10
Function at 0x140999866
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2c0
push rsi
mov rsi, qword [rbp + 0x10]
test rsi, rsi
je 0x140999886
add rsi, 0x1000
lea rax, [rbp - 0x2c0]
push r10
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, rsi
mov rdx, rax
mov r8, 0x30
call qword [r10 + 0x152508da]
add rsp, 0x20
pop rsp
pop r10
test rax, rax
je 0x1409999d8
cmp dword [rbp - 0x2a0], 0x1000
jne 0x1409999c5
test dword [rbp - 0x29c], 1
jne 0x1409999c5
and dword [rbp - 0x29c], 0x100
jne 0x1409999c5
cmp dword [rbp - 0x298], 0x1000000
jne 0x1409999c5
push rsi
push r10
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, rsi
mov rdx, 8
call qword [r10 + 0x150a285f]
add rsp, 0x20
pop rsp
pop r10
pop rsi
test eax, eax
je 0x140999942
jmp 0x1409999c5
cmp word [rsi], 0x5a4d
jne 0x1409999c5
mov rax, rsi
push rbx
mov ebx, dword [rsi + 0x3c]
add rax, rbx
pop rbx
cmp dword [rax], 0x4550
jne 0x1409999c5
lea rax, [rbp - 0x290]
push r10
push rsp
push qword [rsp]
push qword [rsp]
and spl, 0xf0
add rsp, 0x10
sub rsp, 0x20
mov rcx, rsi
mov rdx, rax
mov r8, 0x28a
call qword [r10 + 0x150a28fb]
add rsp, 0x20
pop rsp
pop r10
test eax, eax
je 0x1409999c5
lea rax, [rbp - 0x290]
push rax
call fcn.140999764
test eax, eax
jne 0x1409999bd
jmp 0x1409999c5
mov rax, rsi
jmp 0x1409999d8
mov rsi, qword [rbp - 0x2a8]
add rsi, qword [rbp - 0x2c0]
jmp 0x140999886
pop rsi
leave
ret 8
Function at 0x180002d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
add eax, 0x27d
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x3f3
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x19a5
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0x43f
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x578
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
xor eax, 0x354
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
add eax, 0x346
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
add eax, 0x1728
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x88]
xor eax, 0xf9d
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x19a5
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x19b1
cmp dword [rsp + 0x28], eax
je 0x180002e69
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x9c]
sub eax, 0x962ff
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x65c
mov dword [rsp + 0x24], eax
jmp 0x180002f08
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x20], eax
jmp 0x180002e85
mov eax, dword [rsp + 0x20]
add eax, 3
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jge 0x180002f08
mov eax, dword [rsp + 0x38]
sub eax, 0x2ddb
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0x3c]
mov ecx, dword [rcx + 0x38]
sub ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
and eax, dword [rdx + rcx + 0xa4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x48]
sub eax, 0x229b
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180002e7a
mov eax, dword [rsp + 0x2c]
add eax, 0x1b76
add rsp, 0x68
ret
Function at 0x180004670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x98]
sub eax, 0x627
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
sub eax, 0x19a5
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x4c3
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x1b76
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x19a5
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
xor eax, 0x2b3
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x770
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x10b4
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x98]
xor eax, 0x3dd3
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
add eax, 0xa74
cmp dword [rsp + 0x2c], eax
je 0x180004806
mov eax, dword [rsp + 0x24]
add eax, 0x573
cmp dword [rsp + 0x2c], eax
jge 0x180004755
mov rax, qword [rsp + 0x78]
lea rcx, [0x1800b01d0]
mov qword [rax + 0x70], rcx
mov eax, dword [rsp + 0x20]
sub eax, 0x2ba
mov dword [rsp + 0x20], eax
jmp 0x180004806
mov eax, dword [rsp + 0x30]
or eax, 0x26d3
mov rcx, qword [rsp + 0x78]
sub eax, dword [rcx + 0x2c]
cmp dword [rsp + 0x20], eax
jb 0x180004806
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x180004784
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0xa4]
add eax, dword [rsp + 0x34]
and eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jbe 0x180004806
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0xa4]
mov ecx, dword [rcx + 0x98]
xor ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x98]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
sub eax, 0x2286
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x18000477a
mov eax, dword [rsp + 0x3c]
add eax, 0x1c5f
add rsp, 0x68
ret
Function at 0x180008270
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
sub eax, 0x19b1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
xor eax, 0x26d3
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
add eax, 0x5eb
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
add eax, 0x3ff
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
add eax, 0x5a4
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
add eax, 0x2ae
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x438
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
add eax, 0x2ae
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x9c1
cmp dword [rsp + 0x20], eax
jg 0x180008312
mov eax, dword [rsp + 0x20]
xor eax, 0x19a5
mov dword [rsp + 0x20], eax
jmp 0x180008365
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x180008327
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
and eax, 0x15b2
mov rcx, qword [rsp + 0x70]
or eax, dword [rcx + 0x90]
cmp dword [rsp + 0x24], eax
jb 0x180008365
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x18000831c
mov eax, dword [rsp + 0x28]
sub eax, 0x2ae
add rsp, 0x58
ret
Function at 0x180021610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0xa8]
sub eax, 0x1b16
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x32d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
xor eax, 0x1b16
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
add eax, 0x8a4
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x2ddb
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x2ddb
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x159e
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
add eax, 0x8a4
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x1b76
cmp dword [rsp + 0x2c], eax
jle 0x180021862
mov eax, dword [rsp + 0x20]
xor eax, 0x19b1
cmp dword [rsp + 0x34], eax
jg 0x180021731
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x88]
xor eax, 0x1663b7
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x20]
add eax, 0x2540
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x180021862
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 0x48]
add eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jb 0x180021862
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x18002176b
mov eax, dword [rsp + 0x24]
add eax, 4
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x5690
cmp dword [rsp + 0x24], eax
jae 0x180021862
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x1800217ae
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x90]
sub eax, 0x1b76
cmp dword [rsp + 0x28], eax
jae 0x18002185d
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x18]
mov eax, dword [rcx + rax + 0xb8]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rsp + 0x2c]
xor eax, 0x2d13
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x88]
add eax, dword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xb4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xb4], eax
jmp 0x1800217a3
jmp 0x180021760
mov eax, dword [rsp + 0x30]
add eax, 0x1f55
add rsp, 0x68
ret
Function at 0x140001270
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140049030]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.140013868
test rax, rax
je 0x1400014a4
mov rbx, rax
movzx eax, word [r14 + rax*2 - 2]
cmp eax, 0x5c
je 0x14000149c
cmp eax, 0x2f
je 0x14000149c
mov rax, rbx
add rax, 2
lea r15, [rbx + rbx + 4]
mov rcx, 0xffffffffffffffff
cmovns rcx, r15
call fcn.140013794
mov rdi, rax
xor r12d, r12d
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.1400155d0
lea r8, [rbx + 1]
mov rcx, rdi
mov rdx, r14
call fcn.14001399c
mov rcx, rdi
call fcn.1400139e4
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov qword [rcx], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400014a8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400014db
add ebx, ebx
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400014db
lea r9, [rsp + 0x34]
mov dword [r9], 4
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400014db
lea r14, [rsp + 0x30]
mov r15d, dword [r14]
mov rcx, r15
call fcn.140013794
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.1400155d0
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
mov edx, 2
mov r8, rbx
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400014db
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001405
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001417
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call fcn.140013994
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.14001399c
mov ebp, 1
cmp dword [rsp + 0x30], 0
je 0x140001473
add rsi, 0x48
xor r14d, r14d
lea rdi, str._.2x
mov r15, qword [sym.imp.USER32.dll_wsprintfW]
movzx r8d, byte [rbx + r14]
mov rcx, rsi
mov rdx, rdi
call r15
add rsi, 4
inc r14
mov eax, dword [rsp + 0x30]
cmp r14, rax
jb 0x140001455
mov rdi, rbx
mov rcx, rdi
call fcn.140013994
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140026460
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
dec rbx
jmp 0x1400012bc
xor ebp, ebp
jmp 0x14000147e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1400014db
mov dword [rsp + 0x20], 0xf0000008
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140001338
xor ebp, ebp
jmp 0x140001476