joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024740
Capabilities:
Compute adler32 checksum

Disassembly:
sub rsp, 0x68
mov r11, r8
mov r10, rdx
mov eax, ecx
test r8, r8
jne 0x14002475e
mov eax, 1
vzeroupper
add rsp, 0x68
ret
test r9, r9
je 0x14002499f
mov qword [rsp + 0x70], rbx
mov ebx, ecx
mov qword [rsp + 0x60], rdi
mov edi, 0x15b0
vmovaps xmmword [rsp + 0x50], xmm6
vmovaps xmmword [rsp + 0x40], xmm7
vmovdqu ymm7, ymmword [0x140056400]
vmovaps xmmword [rsp + 0x30], xmm8
vmovdqu ymm8, ymmword [0x1400563e0]
vmovaps xmmword [rsp + 0x20], xmm9
vmovdqu ymm9, ymmword [0x1400563c0]
movzx r8d, cx
mov ecx, dword [rsp + 0x90]
shr ebx, 0x10
cmp r9, 0x10
jb 0x1400248ef
cmp r9, 0x20
jb 0x1400248c3
vpxor xmm6, xmm6, xmm6
nop
cmp r9, rdi
mov rax, r9
vmovd xmm2, r8d
cmova rax, rdi
and rax, 0xffffffffffffffe0
sub r9, rax
vmovd xmm3, ebx
vmovdqu ymm5, ymm2
vmovdqu ymm4, ymm6
cmp rax, 0x20
jb 0x14002483a
shr rax, 5
nop dword [rax]
vmovdqu ymm0, ymmword [r11]
add r11, 0x20
vpsadbw ymm1, ymm0, ymm6
test ecx, ecx
je 0x14002481a
vmovdqu ymmword [r10], ymm0
add r10, 0x20
vpaddd ymm2, ymm1, ymm2
vpmaddubsw ymm0, ymm0, ymm7
vpmaddwd ymm1, ymm0, ymm8
vpaddd ymm4, ymm4, ymm5
vpaddd ymm3, ymm1, ymm3
vmovdqu ymm5, ymm2
sub rax, 1
jne 0x140024800
vpermd ymm1, ymm9, ymm2
vpunpckhqdq xmm0, xmm1, xmm1
vpaddd xmm2, xmm0, xmm1
vpshufd xmm1, xmm2, 1
vpaddd xmm0, xmm1, xmm2
vmovd r8d, xmm0
vpslld ymm0, ymm4, 5
vpaddd ymm2, ymm0, ymm3
vextracti128 xmm1, ymm2, 1
vpaddd xmm1, xmm1, xmm2
vpunpckhqdq xmm0, xmm1, xmm1
vpaddd xmm2, xmm0, xmm1
mov eax, 0x80078071
mul r8d
vpshufd xmm1, xmm2, 1
shr edx, 0xf
imul eax, edx, 0xfff1
vpaddd xmm0, xmm1, xmm2
vmovd ebx, xmm0
sub r8d, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ebx, eax
cmp r9, 0x20
jae 0x1400247d0
mov eax, ebx
shl eax, 0x10
or eax, r8d
test r9, r9
jne 0x1400247b6
jmp 0x14002497d
test ecx, ecx
mov ecx, eax
je 0x1400248dc
mov r8, r11
mov rdx, r10
vzeroupper
call fcn.1400244b0
jmp 0x14002497d
mov r8, r9
mov rdx, r11
vzeroupper
call fcn.1400239d0
jmp 0x14002497d
test ecx, ecx
je 0x14002492e
test r9, r9
je 0x140024918
sub r11, r10
nop dword [rax + rax]
movzx eax, byte [r11 + r10]
mov byte [r10], al
lea r10, [r10 + 1]
add r8d, eax
add ebx, r8d
sub r9, 1
jne 0x140024900
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul ecx, edx, 0xfff1
sub r8d, ecx
jmp 0x140024968
test r9, r9
je 0x140024954
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
add r8d, eax
add ebx, r8d
sub r9, 1
jne 0x140024940
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xfff1
sub r8d, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xf
add eax, ebx
shl eax, 0x10
or eax, r8d
vmovaps xmm8, xmmword [rsp + 0x30]
vmovaps xmm7, xmmword [rsp + 0x40]
vmovaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
vmovaps xmm9, xmmword [rsp + 0x20]
vzeroupper
add rsp, 0x68
ret
Function at 0x140031b2c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140031b42
mov al, 1
jmp 0x140031ba2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140031b53
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140031ba0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003ade0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140031ba0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140031ba0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140031ba0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140031ba2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400333c4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14003e660
sub rsp, rax
mov rax, qword [0x140299ac0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140030600
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140033413
mov rax, rbp
jmp 0x14003351b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x29a810]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140034310
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x29a810]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140033517
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140033517
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140034310
test rax, rax
js 0x140033517
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140033517
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140033509
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140033509
cmp byte [rcx], 0xd
jne 0x1400334ef
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400334fe
cmp byte [rcx + 1], 0xa
jne 0x1400334fe
inc rcx
jmp 0x1400334fe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x299430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400334d1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14003351b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003dac0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400336b0
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, [0x14029a810]
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 0x140033707
cmp word [rdx], r13w
jne 0x140033707
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14003370c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140033831
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140033852
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140033745
mov rdx, r9
mov word [rbx], cx
jmp 0x14003376c
cmp r9, r8
jae 0x14003377c
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 0x140033726
jmp 0x140033831
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 0x140033826
cmp dword [rsp + 0x80], esi
je 0x140033826
lea r8, [0x14029a810]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400337fe
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400337ce
mov word [rbx], r13w
jmp 0x14003382e
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 0x1400337db
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14003382e
cmp word [rsp + 0x70], r13w
jne 0x14003380b
cmp rbx, r14
je 0x1400337c8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140034318
cmp word [rsp + 0x70], r13w
je 0x140033831
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, [0x14029a810]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14003382b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140033831
Function at 0x14003816c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002d00c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14003820d
cmp ebx, dword [rsp + 0x30]
je 0x140038206
test esi, esi
je 0x140038206
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400381e1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400381ee
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400381cb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400381f2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003820f
mov eax, 1
jmp 0x14003820f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003871c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003878b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003878b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003878b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003878b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003878b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003878b
cmp dword [rcx + 0xf8], 0
je 0x14003878b
mov ecx, ebx
call fcn.14003883c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140038618
nop
cmp dword [rbp + 0x20], 0
je 0x1400387d9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400387e4
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14003871c

Function at 0x140038920
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003871c

Function at 0x14003e584
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400446da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400446df
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140044728
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14006ed50]
cmp byte [rcx + rax], 0
je 0x140044728
dec r8
sub rdx, 1
jne 0x14004470e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140046dcc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140046dfc
xor eax, eax
jmp 0x140046ebf
mov rbp, rbx
cmp word [rax], si
je 0x140046e21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140046e08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140046e04
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140038538
movsxd r14, eax
test eax, eax
jne 0x140046e5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140046df5
mov rcx, r14
call fcn.14002f154
mov rdi, rax
test rax, rax
jne 0x140046e78
xor ecx, ecx
call fcn.14002cb64
jmp 0x140046e54
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140038538
test eax, eax
jne 0x140046ea9
mov rcx, rdi
call fcn.14002cb64
jmp 0x140046eb3
xor ecx, ecx
call fcn.14002cb64
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140048f84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140034318
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140034318
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400490d4
cmp rax, 0xffffffffffffffff
je 0x1400490d4
xor edi, edi
test rbp, rbp
jle 0x14004907f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002caec
mov rbx, rax
test rax, rax
jne 0x14004900c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140049075
mov edx, 0x8000
mov ecx, r14d
call fcn.140045aac
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140032838
cmp eax, 0xffffffff
je 0x140049055
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004901c
mov edx, r15d
mov ecx, r14d
call fcn.140045aac
jmp 0x140049075
cmp byte [rsi + 0x38], dil
je 0x14004906c
cmp dword [rsi + 0x34], 5
jne 0x14004906c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140049075
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002cb64
jmp 0x1400490e8
jns 0x1400490e8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140034318
cmp rax, 0xffffffffffffffff
jne 0x1400490a0
cmp byte [rsi + 0x30], dil
je 0x1400490e8
mov edi, dword [rsi + 0x2c]
jmp 0x1400490e8
mov ecx, r14d
call fcn.14003ade0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400490e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400490e8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400490e1
mov eax, dword [rsi + 0x2c]
jmp 0x1400490e6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140034318
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400491c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400491e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400491e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400010cc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400010fa
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x14000114f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
lea ecx, [r9 - 1]
mov eax, ecx
lea r8, [r9 - 1]
and eax, edi
and ecx, ebx
add eax, ecx
not r8
dec rax
and r8, rbx
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add eax, ecx
je 0x14000114f
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x140001141
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x140001160
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x140001248
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x140001248
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
mov r10d, dword [r9 + rdi + 0xc]
add rcx, rax
movzx r11d, word [r8 + 6]
xor r9d, r9d
test r11d, r11d
je 0x1400011e7
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x1400011db
mov edx, dword [rcx + 8]
lea eax, [rdx + r8]
cmp r10d, eax
jb 0x140001220
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400011c6
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov edx, dword [rsp + 0x40]
test rbx, rbx
je 0x140001248
cmp dword [0x140004610], 0
jne 0x140001229
mov dword [0x140004610], 1
test eax, eax
js 0x140001214
mov ecx, 0x19
int 0x29
mov rcx, rbx
mov edi, edx
call fcn.1400010cc
jmp 0x14000122b
mov eax, dword [rcx + 0x24]
lea rbx, [rdi + r8]
jmp 0x1400011f1
mov edi, edx
mov r9, rsi
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000124e
lea ecx, [rax + 0x19]
int 0x29
jmp 0x14000124e
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140001844
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140001c90
add rsp, 0x28
jmp 0x140001844
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x1400045f8], rbx
je 0x14000188e
cmp rax, rbx
jne 0x1400018a3
mov edi, 1
mov eax, dword [0x140004600]
cmp eax, 1
jne 0x1400018b0
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14000191d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001877
mov eax, dword [0x140004600]
test eax, eax
jne 0x140001913
mov dword [0x140004600], 1
lea r14, [0x1400032c0]
lea rbx, [0x1400032a8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x140001905
test eax, eax
jne 0x140001909
cmp qword [rbx], 0
je 0x1400018fa
mov rax, qword [rbx]
mov rcx, qword [0x140003288]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400018db
test eax, eax
je 0x14000191d
mov eax, 0xff
jmp 0x140001a72
mov dword [0x140004024], 1
mov eax, dword [0x140004600]
cmp eax, 1
jne 0x140001945
lea rdx, [0x1400032a0]
lea rcx, [0x140003290]
call sub.msvcrt.dll__initterm
mov dword [0x140004600], 2
test edi, edi
jne 0x140001952
xor eax, eax
xchg qword [0x1400045f8], rax
cmp qword [0x140004608], 0
je 0x140001986
lea rcx, [0x140004608]
call fcn.140001c10
test eax, eax
je 0x140001986
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004608]
mov r9, qword [0x140003288]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
mov cl, byte [rbx]
cmp cl, 0x20
ja 0x140001a11
test cl, cl
je 0x1400019a8
test edi, edi
jne 0x140001a11
dec cl
cmp cl, 0x1f
ja 0x1400019bb
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x1400019a8
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call section..text
mov dword [0x140004020], eax
cmp dword [0x140004040], 0
jne 0x1400019fa
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004024], 0
jne 0x140001a0f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004020]
jmp 0x140001a72
cmp cl, 0x22
jne 0x140001a23
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x140001a38
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001999
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x140001b20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b6c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001b64
cmp dword [rcx + 0x3c], edx
jl 0x140001b64
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001b64
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001b6c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140003d00
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 0x140003d5d
lea rbx, [0x140105880]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003d44
cmp r10, 2
jb 0x140003d44
cmp byte [r9], r8b
jne 0x140003d44
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 0x140003d20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003d9f
lea rbx, [0x140105880]
cmp r8b, 0x23
jne 0x140003d83
cmp byte [r9], r8b
jne 0x140003d83
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 0x140003d70
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003ea0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003ed5
mov r8d, 0x81d
lea rdx, str.G:_Internal__CPP_INTERNAL_LATESTIMGUI_STRANGE11IMGUI_STRANGEimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140003ee0
mov qword [rsi], r14
lea rdx, [0x140105058]
mov rcx, rbx
call fcn.140003db0
mov rbx, rax
test rax, rax
jne 0x140003f08
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004034
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 0x140004034
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004034
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004034
cmp rdi, 0xffffffffffffffff
je 0x140004034
mov rcx, rdi
call fcn.140008d00
mov rbp, rax
test rax, rax
je 0x140004034
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 0x140004021
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14017b950]
test r8, r8
je 0x140004016
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000400b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000403d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000402f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000403f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret