joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015d34
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, [0x140028700]
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 0x140015d8b
cmp word [rdx], r13w
jne 0x140015d8b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140015d90
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140015eb5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140015ed6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140015dc9
mov rdx, r9
mov word [rbx], cx
jmp 0x140015df0
cmp r9, r8
jae 0x140015e00
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 0x140015daa
jmp 0x140015eb5
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 0x140015eaa
cmp dword [rsp + 0x80], esi
je 0x140015eaa
lea r8, [0x140028700]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140015e82
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140015e52
mov word [rbx], r13w
jmp 0x140015eb2
mov ecx, 0xd
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 0x140015e5f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140015eb2
cmp word [rsp + 0x70], r13w
jne 0x140015e8f
cmp rbx, r14
je 0x140015e4c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140015c90
cmp word [rsp + 0x70], r13w
je 0x140015eb5
mov ecx, 0xd
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, [0x140028700]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140015eaf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140015eb5
Function at 0x1400185f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018618
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140018618
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002cc0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002cf2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002cf2
nop word cs:[rax + rax]
jmp 0x180002cf0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002dc8
mov rsi, r10
test r8b, r8b
je 0x180002de0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002d60
test r9b, r9b
je 0x180002df0
sub rsi, rcx
je 0x180002dc4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002dc0
test ebp, ebp
jne 0x180002dc0
add rbx, 1
cmp rsi, rbx
jne 0x180002d80
jmp 0x180002dc4
test ebp, ebp
jne 0x180002d4c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002de0
jmp 0x180002df0
Function at 0x180002630
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002662
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002662
nop word cs:[rax + rax]
jmp 0x180002660
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
mov edx, dword [0x180020a9c]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020aa0], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x180002758
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x180002740
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800026d0
test r9b, r9b
je 0x180002750
sub rsi, rcx
je 0x180002752
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x18000272d
test dx, dx
je 0x180002752
add rbx, 1
cmp rsi, rbx
jne 0x1800026f0
jmp 0x180002752
mov r14, qword [r14]
cmp r14, r10
jne 0x1800026c7
jmp 0x18000275a
jmp 0x180002740
jmp 0x180002750
mov rax, qword [r14 + 0x30]
jmp 0x18000275a
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0xa294f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xa294fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa2950d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa294f5
lea eax, [rcx + 1]
jmp 0xa2951b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa2952e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa29514
sub eax, 3
jb 0xa2954e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa2959d
sar eax, 1
movsxd rbp, eax
jb 0xa29584
jmp 0xa2955c
add ebx, ebx
jne 0xa2955a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa29584
inc ecx
add ebx, ebx
jne 0xa2956a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa29584
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa2957d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa2956c
add ecx, 2
jmp 0xa29589
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a294b2
jmp 0xa294fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2000
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa295ed
cmp rsi, rcx
jae 0xa295f5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa295d4
cmp al, 0x8f
ja 0xa295d4
cmp byte [rsi - 2], 0xf
je 0xa295da
sub al, 0xe8
cmp al, 1
ja 0xa295be
cmp rsi, rcx
jae 0xa295f5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa295c4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa295f5
lodsb al, byte [rsi]
jmp 0xa295d4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x627000]
mov eax, dword [rdi]
or eax, eax
je 0xa29652
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x629084]
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 0xa29602
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 0xa2964c
mov qword [rbx], rax
add rbx, 8
jmp 0xa29622
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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
mov byte [fcn.00a296d5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00a296d5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa296c5
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x180002880
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800028b2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800028b2
nop word cs:[rax + rax]
jmp 0x1800028b0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002988
mov rsi, r10
test r8b, r8b
je 0x1800029a0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002920
test r9b, r9b
je 0x1800029b0
sub rsi, rcx
je 0x180002984
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002980
test ebp, ebp
jne 0x180002980
add rbx, 1
cmp rsi, rbx
jne 0x180002940
jmp 0x180002984
test ebp, ebp
jne 0x18000290c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800029a0
jmp 0x1800029b0
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14005b2b0]
mov dword [rax], 1
mov rax, qword [0x14005b2c0]
mov dword [rax], 1
mov rax, qword [0x14005b2d0]
mov dword [rax], 1
mov rax, qword [0x14005b260]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400210c0
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.14003e780
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140037990
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140021119
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14003d460
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14004ebe0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14004ebe0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14003e132
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140063388]
test eax, eax
je 0x14003e1ca
lea rax, [0x140063360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140063390]
mov qword [rbp - 8], rax
jmp 0x14003e1ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14003e1a2
cmp qword [rbp - 0x10], 0
je 0x14003e1a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14003e168
lea rax, [0x140063360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003e1cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14003e2d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14003e2f8
mov eax, 0
jmp 0x14003e346
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14003e321
mov eax, 0
jmp 0x14003e346
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14003e341
mov eax, 0
jmp 0x14003e346
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14003e34c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14003e3ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14003e3c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14003e3c1
mov rax, qword [rbp - 8]
jmp 0x14003e3df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14003e394
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002720
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r9b
or r9b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r14b
or r14b, al
lea rax, [rcx - 1]
mov r15, r10
test r8b, r8b
je 0x180002850
mov r15, qword [r15]
cmp r15, r10
je 0x180002872
mov rdi, rax
test r9b, r9b
je 0x180002860
nop word cs:[rax + rax]
nop
cmp byte [rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1800027d0
test r14b, r14b
je 0x180002870
sub rdi, rcx
je 0x180002838
mov r12, qword [r15 + 0x60]
xor edx, edx
nop
movzx esi, word [r12 + rdx*2]
lea ebx, [rsi - 0x41]
lea ebp, [rsi + 0x20]
cmp bx, 0x1a
cmovae ebp, esi
movsx ebx, byte [rcx + rdx]
lea r13d, [rbx - 0x41]
lea r11d, [rbx + 0x20]
cmp r13b, 0x1a
cmovae r11d, ebx
sub ebp, r11d
test esi, esi
je 0x180002830
test ebp, ebp
jne 0x180002830
add rdx, 1
cmp rdi, rdx
jne 0x1800027f0
jmp 0x180002838
test ebp, ebp
jne 0x1800027a4
mov rax, qword [r15 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002850
jmp 0x180002860
jmp 0x180002870
xor eax, eax
jmp 0x18000283c
Function at 0x18000fe60
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x180121650]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, dword [rsp + 0x20]
lea ebp, [r8 + 0x2df]
mov esi, r8d
mov rdi, rdx
mov r14, rcx
cmp r8d, ebp
jae 0x18001006e
nop
mov eax, esi
sub eax, 0x98
je 0x18000ffbc
sub eax, 0x83
je 0x18000ffae
sub eax, 0x10
je 0x18000ff8a
sub eax, 0x83
je 0x18001006e
cmp eax, 0x10
jne 0x180010060
test r14, r14
je 0x180010060
movzx eax, byte [rdi + 3]
mov byte [r14], al
movzx eax, byte [rdi + 2]
mov byte [r14 + 1], al
mov eax, dword [rdi]
shr eax, 8
mov byte [r14 + 2], al
movzx eax, byte [rdi]
mov byte [r14 + 3], al
movzx eax, byte [rdi + 7]
mov byte [r14 + 4], al
movzx eax, byte [rdi + 6]
mov byte [r14 + 5], al
mov eax, dword [rdi + 4]
shr eax, 8
mov byte [r14 + 6], al
movzx eax, byte [rdi + 4]
mov byte [r14 + 7], al
movzx eax, byte [rdi + 0xb]
mov byte [r14 + 8], al
movzx eax, byte [rdi + 0xa]
mov byte [r14 + 9], al
mov eax, dword [rdi + 8]
shr eax, 8
mov byte [r14 + 0xa], al
movzx eax, byte [rdi + 8]
mov byte [r14 + 0xb], al
movzx eax, byte [rdi + 0xf]
mov byte [r14 + 0xc], al
movzx eax, byte [rdi + 0xe]
mov byte [r14 + 0xd], al
mov eax, dword [rdi + 0xc]
shr eax, 8
mov byte [r14 + 0xe], al
movzx eax, byte [rdi + 0xc]
mov byte [r14 + 0xf], al
movzx eax, byte [rdi + 0x13]
mov byte [r14 + 0x10], al
movzx eax, byte [rdi + 0x12]
mov byte [r14 + 0x11], al
mov eax, dword [rdi + 0x10]
shr eax, 8
mov byte [r14 + 0x12], al
movzx eax, byte [rdi + 0x10]
mov byte [r14 + 0x13], al
jmp 0x180010060
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 8
mov r8, rdi
lea rdx, [rsp + 0x28]
mov ecx, 0xda
call fcn.180081260
jmp 0x180010060
xor ebx, ebx
cmp qword [rdi], 0xffffffffffffffe7
seta bl
jmp 0x180010060
mov ecx, dword [rdi + 0x18]
lea r9, [rsp + 0x20]
mov eax, ecx
mov byte [rsp + 0x2b], cl
shr eax, 0x18
lea rdx, [0x180106574]
mov byte [rsp + 0x28], al
mov r8, rdi
mov eax, ecx
mov dword [rsp + 0x20], 1
shr eax, 0x10
mov byte [rsp + 0x29], al
mov eax, ecx
mov ecx, dword [rdi + 0x14]
shr eax, 8
mov byte [rsp + 0x2a], al
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x2f], cl
mov ecx, 0xda
mov byte [rsp + 0x2e], al
call fcn.180081260
mov eax, dword [rdi + 0x14]
and eax, 0x1f8
cmp eax, 0x1c0
je 0x180010060
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov r8, rdi
lea rdx, [0x180106578]
mov ecx, 0xda
call fcn.180081260
mov eax, dword [rdi + 0x14]
and eax, 0x1f8
cmp eax, 0x1c0
jne 0x180010030
add esi, 0x93
cmp esi, ebp
jb 0x18000fea0
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800fd9d0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180013a90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov ebp, dword [rsp + 0xa8]
mov r13, r9
imul r12d, ebp, 0x21b
mov r15, r8
mov rsi, rdx
mov ebx, ebp
cmp ebp, r12d
ja 0x180013bf9
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x48]
cmp ebx, 0x141c
ja 0x180013c1c
je 0x180013bec
mov eax, ebx
sub eax, 0x42
je 0x180013bac
sub eax, 0xb5
je 0x180013b76
cmp eax, 0x1c
jne 0x180013c6b
mov rcx, qword [rsp + 0x80]
mov rdx, qword [r14]
mov qword [rsp + 0x30], r13
mov rcx, qword [rcx]
mov rax, rcx
shr rax, 7
add rax, rcx
cmp rdx, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
jb 0x180013c7e
mov qword [rsp + 0x48], rcx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x48]
mov rdx, r15
mov dword [rsp + 0xa8], 1
mov ecx, 0x3b
call fcn.1800ec140
jmp 0x180013bfe
cmp dword [rsi], 0
lea rcx, str.shortcutScopeInChrome
jne 0x180013b89
lea rcx, str.wxRibbonToolBar::GetToolClientData
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
xor r8d, r8d
mov edx, 0x119
xor ecx, ecx
call fcn.18000c100
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
jmp 0x180013c6b
mov eax, dword [r14 + 8]
lea r8, [rsi + 8]
mov dword [rsp + 0xa8], eax
xor r9d, r9d
mov rax, qword [r14]
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x28], 0x11d
mov qword [rsp + 0x20], rax
call fcn.180018b10
mov rdi, rax
jmp 0x180013c6b
test rdi, rdi
jne 0x180013c6b
mov dword [rsp + 0x40], 0xfffffffa
mov rax, qword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp ebx, 0x27f6
je 0x180013c5d
cmp ebx, 0x3bd0
je 0x180013bf9
cmp ebx, 0x4b42
jne 0x180013c6b
mov dword [rsp + 0x28], 0xdf
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.1800cd5b0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [rdi + 0x10]
mov dword [r15], eax
mov dword [rsp + 0x40], 0
imul eax, ebp, 0x4d
add ebx, eax
cmp ebx, r12d
jbe 0x180013ae0
jmp 0x180013bf9
mov qword [rsp + 0x40], rcx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x48], rdx
lea r8, [rsp + 0x40]
mov rdx, r15
mov dword [rsp + 0xa8], 0
mov ecx, 0x3b
call fcn.1800ec140
jmp 0x180013bfe