joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180017660
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180017693
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180016d60]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180019140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001919d
lea rbx, [0x180055de0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180019184
cmp r10, 2
jb 0x180019184
cmp byte [r9], r8b
jne 0x180019184
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180019160
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800191df
lea rbx, [0x180055de0]
cmp r8b, 0x23
jne 0x1800191c3
cmp byte [r9], r8b
jne 0x1800191c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800191b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180019320
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001933a
mov qword [r8], 0
lea rdx, [0x180055b40]
call fcn.1800191f0
mov rbx, rax
test rax, rax
jne 0x18001935a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180019431
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180019431
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180019431
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180019431
cmp rdi, 0xffffffffffffffff
je 0x180019431
mov rax, qword [0x180077ba8]
test rax, rax
je 0x1800193ce
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180019431
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001941e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180077ba8]
test rax, rax
je 0x180019413
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001943a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001942c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001943c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001b1d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180055de0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x180077ba8]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x18001b25d
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x18001b26c
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x18001b283
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18002c140
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18001fb10
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18001fb60
lea r11, [0x180055de0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001fb43
cmp byte [r8], r9b
jne 0x18001fb43
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001fb30
mov rcx, qword [0x180077ba8]
not eax
movsxd rdx, dword [rcx + 0x1c00]
mov r9, qword [rcx + 0x1c08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18001fbc1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18001fbb9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001fbbc
mov rdx, r8
test rdx, rdx
jne 0x18001fb90
cmp r9, r10
je 0x18001fbd0
cmp dword [r9], eax
jne 0x18001fbd0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180024f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x180077ba8]
lea r10, [0x180055de0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1c20]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1c54], edi
jne 0x180024fb5
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.18002c140
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180024fe9
inc r8d
test ecx, ecx
je 0x180024fd2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180024fd7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002d380
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18002ae60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3138], 0
lea rbx, [rcx + 0x3140]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18002af07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002aeba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002d150
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800197b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3138]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3148]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180077ba0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002af0f
mov rcx, rbx
call fcn.1800197b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18004fcc8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004fd2c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004fd1a
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004fd13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18004fce7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180077bc0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004fd3c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800783c0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18004fd72
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004fda8
mov eax, 0xa
jmp 0x18004fe34
test esi, esi
je 0x18004fdca
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004fdeb
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004fdeb
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004fde5
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004fdeb
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800501b8
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800501cf
cmp r8b, 0x90
je 0x1800501cf
cmp r8b, 0xcc
jne 0x1800501f1
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800501ed
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800501f1
add edx, r10d
cmp edx, r9d
jb 0x1800501dd
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180050558
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800505a2
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1800783b8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x1800505e0
cmp rbx, r14
jb 0x1800505db
cmp rbx, r12
jae 0x1800505db
cmp qword [rbx + 8], rsi
jne 0x180050737
mov rbx, qword [rbx]
jmp 0x1800505c2
mov r15, rdi
cmp rdi, r14
jb 0x180050664
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x18005065b
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005065b
cmp dword [rbp - 0x10], 0x10000
je 0x18005062b
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18005065b
jmp 0x1800505f7
test r15, r15
je 0x18005065b
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800506fc
cmp r15, r14
jae 0x1800505e8
test rbx, rbx
jne 0x1800506fc
cmp rdi, r12
ja 0x180050737
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180050737
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180050737
cmp dword [rbp - 0x10], 0x10000
je 0x1800506d2
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x18005068b
test rdi, rdi
je 0x180050737
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x18005065e
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180050708
mov rax, qword [0x1800783b8]
mov qword [rbx], rax
mov qword [0x1800783b8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1409f92c0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409f9447
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 0x1409f92f1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f92d7
add dl, dl
jne 0x1409f92fe
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f935e
xor eax, eax
add dl, dl
jne 0x1409f930d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409f9415
add dl, dl
jne 0x1409f931e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f932b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f9338
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f9345
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409f9352
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409f92e6
mov eax, 1
add dl, dl
jne 0x1409f936e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409f937b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f9363
sub eax, ebx
mov ebx, 1
jne 0x1409f93b4
mov ecx, 1
add dl, dl
jne 0x1409f9396
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409f93a3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f938b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f92e6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409f93d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409f93dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409f93c5
cmp eax, 0x7d00
jae 0x1409f9403
cmp eax, 0x500
jb 0x1409f93fe
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f92e6
cmp eax, 0x7f
ja 0x1409f9406
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409f92e6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409f943a
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 0x1409f92e6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180841058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808411df
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 0x180841089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18084106f
add dl, dl
jne 0x180841096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808410f6
xor eax, eax
add dl, dl
jne 0x1808410a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808411ad
add dl, dl
jne 0x1808410b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808410c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808410d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808410dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808410ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18084107e
mov eax, 1
add dl, dl
jne 0x180841106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180841113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808410fb
sub eax, ebx
mov ebx, 1
jne 0x18084114c
mov ecx, 1
add dl, dl
jne 0x18084112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18084113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180841123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180841168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180841175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18084115d
cmp eax, 0x7d00
jae 0x18084119b
cmp eax, 0x500
jb 0x180841196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084107e
cmp eax, 0x7f
ja 0x18084119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808411d2
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 0x18084107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400010c3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140039bf8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140039c85
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140039c85
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039c85
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140039c6c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140039c66
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140039c6e
add rdx, 0x28
jmp 0x140039c4b
xor edx, edx
test rdx, rdx
jne 0x140039c77
xor al, al
jmp 0x140039c8b
cmp dword [rdx + 0x24], 0
jge 0x140039c81
xor al, al
jmp 0x140039c8b
mov al, 1
jmp 0x140039c8b
xor al, al
jmp 0x140039c8b
add rsp, 0x18
ret

Function at 0x14000111d
Capabilities:
Terminate process

Disassembly:
jmp 0x140039400
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000114f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400393e8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011ea
test al, al
je 0x1400392b3
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011c7
mov bl, al
mov ecx, dword [0x140040828]
cmp ecx, 1
je 0x1400392be
test ecx, ecx
jne 0x1400391e9
mov dword [0x140040828], 1
lea rdx, [0x14003e660]
lea rcx, [0x14003e330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400391ca
mov eax, 0xff
jmp 0x1400392a3
lea rdx, [0x14003e220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140040828], 2
jmp 0x1400391f1
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011b3
call fcn.140001172
mov rbx, rax
cmp qword [rax], 0
je 0x140039224
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x140039224
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140044020]
call fcn.140001190
mov rbx, rax
cmp qword [rax], 0
je 0x140039246
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x140039246
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000114a
mov ebx, eax
call fcn.140001154
test al, al
je 0x1400392c8
test sil, sil
jne 0x14003927d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010b9
mov eax, ebx
jmp 0x1400392a3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011bd
nop
mov ecx, 7
call fcn.1400011bd
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001163
add rsp, 0x28
jmp 0x14003915c

Function at 0x140001154
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003a1a8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003a1f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003a1f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003a1f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003a1f2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003a1f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003a1f4
xor al, al
add rsp, 0x28
ret
Function at 0x140038e00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp ecx, 2
jge 0x140038e17
lea rcx, str.____Missing_PID..._Finding..._n
call fcn.1400010f0
jmp 0x140038e25
mov rcx, qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x140038e3d
lea rcx, str.____Process_not_found_n
call fcn.1400010f0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, eax
call fcn.1400010aa
xor eax, eax
add rsp, 0x28
ret

Function at 0x14003a1a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003a1a8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003a1f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003a1f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003a1f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003a1f2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003a1f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003a1f4
xor al, al
add rsp, 0x28
ret