joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400456e0
Capabilities:
Encrypt data using des

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov dword [rsp + 0x2c], edx
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
lea rdx, str.91__
lea r10, [0x1400dcf70]
nop dword [rax]
movzx r11d, byte [rax + rdx]
dec r11d
mov esi, r11d
and esi, 7
sar r11d, 3
movsxd r11, r11d
movzx r11d, byte [rcx + r11]
test dword [r10 + rsi*4], r11d
setne byte [rsp + rax + 0x30]
inc rax
cmp rax, 0x38
jne 0x140045720
xor r11d, r11d
lea rsi, [0x1400dcf90]
mov edi, 0xffffffe5
mov ebx, 0x1c
movabs r14, 0xaaaaaaaaaaaaaaab
lea r15, [0x1400dcfa0]
jmp 0x1400457f3
mov eax, dword [rsp + 0xa0]
shl eax, 0x18
movzx ecx, byte [rsp + 0xa2]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [rsp + 0xa4]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsp + 0xa6]
or ecx, eax
mov dword [r8 + r11*8], ecx
movzx eax, byte [rsp + 0xa1]
shl eax, 0x18
movzx ecx, byte [rsp + 0xa3]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [rsp + 0xa5]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsp + 0xa7]
or ecx, eax
mov dword [r8 + r11*8 + 4], ecx
inc r11
cmp r11, 0x10
je 0x1400458cd
mov qword [rsp + 0xa0], 0
movzx eax, byte [r11 + rsi]
lea rcx, [rax + 1]
lea rdx, [rax + rdi]
xor r12d, r12d
nop
lea r13, [rax + r12]
cmp r12, 0x1c
mov ebp, 0x38
cmovb rbp, rbx
lea r9d, [rdx - 1]
cmp r13, rbp
cmovb r9, r13
movsxd r9, r9d
movzx r9d, byte [rsp + r9 + 0x30]
lea r13, [r12 + 1]
cmp r13, 0x1c
mov r13d, 0x38
cmovb r13, rbx
cmp rcx, r13
mov r13, rdx
cmovb r13, rcx
mov byte [rsp + r12 + 0x68], r9b
movsxd r9, r13d
movzx r9d, byte [rsp + r9 + 0x30]
mov byte [rsp + r12 + 0x69], r9b
add rcx, 2
add rdx, 2
add r12, 2
cmp r12, 0x38
jne 0x140045810
mov r12, r10
xor ecx, ecx
jmp 0x140045891
inc rcx
add r12, 4
cmp rcx, 0x30
je 0x140045780
mov rax, rcx
mul r14
movzx eax, byte [rcx + r15]
cmp byte [rsp + rax + 0x67], 0
je 0x140045880
add rdx, rdx
and rdx, 0xfffffffffffffff8
lea rax, [rdx + rdx*2]
neg rax
mov eax, dword [r12 + rax]
shr eax, 2
movzx edx, cl
imul edx, edx, 0xab
shr edx, 0xa
or byte [rsp + rdx + 0xa0], al
jmp 0x140045880
cmp dword [rsp + 0x2c], 1
jne 0x14004595e
movdqu xmm0, xmmword [r8 + 0x70]
pshufd xmm0, xmm0, 0x4e
movdqu xmm1, xmmword [r8]
movdqu xmm2, xmmword [r8 + 0x10]
movdqu xmm3, xmmword [r8 + 0x20]
movdqu xmm4, xmmword [r8 + 0x30]
movdqu xmmword [r8], xmm0
pshufd xmm0, xmm1, 0x4e
movdqu xmmword [r8 + 0x70], xmm0
movdqu xmm0, xmmword [r8 + 0x60]
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [r8 + 0x10], xmm0
pshufd xmm0, xmm2, 0x4e
movdqu xmmword [r8 + 0x60], xmm0
movdqu xmm0, xmmword [r8 + 0x50]
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [r8 + 0x20], xmm0
pshufd xmm0, xmm3, 0x4e
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmm0, xmmword [r8 + 0x40]
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [r8 + 0x30], xmm0
pshufd xmm0, xmm4, 0x4e
movdqu xmmword [r8 + 0x40], xmm0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a11a0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140046290
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, dword [rcx]
mov esi, dword [rdx]
xor r9d, r9d
lea r10, [0x1400dcfd0]
nop word [rax + rax]
mov r11d, esi
rol esi, 0x1c
xor esi, dword [r8 + r9]
mov edi, esi
and edi, 0x3f
mov ebx, esi
shr ebx, 6
and ebx, 0xfc
mov r14d, esi
shr r14d, 0xe
and r14d, 0xfc
shr esi, 0x16
and esi, 0xfc
mov r15d, dword [r8 + r9 + 4]
xor r15d, r11d
mov r12d, r15d
and r12d, 0x3f
mov r13d, r15d
shr r13d, 6
and r13d, 0xfc
mov ebp, r15d
shr ebp, 0xe
and ebp, 0xfc
shr r15d, 0x16
and r15d, 0xfc
xor eax, dword [r10 + rdi*4 + 0x600]
xor eax, dword [rbx + r10 + 0x400]
xor eax, dword [r14 + r10 + 0x200]
xor eax, dword [rsi + r10]
xor eax, dword [r10 + r12*4 + 0x700]
xor eax, dword [r13 + r10 + 0x500]
xor eax, dword [rbp + r10 + 0x300]
xor eax, dword [r15 + r10 + 0x100]
mov edi, eax
rol edi, 0x1c
xor edi, dword [r8 + r9 + 8]
mov esi, edi
and esi, 0x3f
mov esi, dword [r10 + rsi*4 + 0x600]
mov ebx, edi
shr ebx, 6
and ebx, 0xfc
mov r14d, edi
shr r14d, 0xe
and r14d, 0xfc
shr edi, 0x16
and edi, 0xfc
mov r15d, dword [r8 + r9 + 0xc]
xor r15d, eax
mov r12d, r15d
and r12d, 0x3f
mov r13d, r15d
shr r13d, 6
and r13d, 0xfc
mov ebp, r15d
shr ebp, 0xe
and ebp, 0xfc
shr r15d, 0x16
and r15d, 0xfc
xor esi, dword [rbx + r10 + 0x400]
xor esi, dword [r14 + r10 + 0x200]
xor esi, dword [rdi + r10]
xor esi, dword [r10 + r12*4 + 0x700]
xor esi, dword [r13 + r10 + 0x500]
xor esi, dword [rbp + r10 + 0x300]
xor esi, dword [r15 + r10 + 0x100]
xor esi, r11d
add r9, 0x10
cmp r9, 0x80
jne 0x1400462b0
mov dword [rcx], eax
mov dword [rdx], esi
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140046db0
Capabilities:
Generate random numbers via winapi

Disassembly:
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp fcn.140046850

Function at 0x140046dc0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r9, rdx
xor edx, edx
xor r8d, r8d
jmp fcn.140046850
Function at 0x140047ae0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140047b2e
mov rcx, qword [rsi]
mov edx, ebx
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x140047b35
mov rcx, qword [rsi]
xor esi, esi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140047b3a
mov esi, 0xffffff99
jmp 0x140047b3a
mov esi, 0xffffff98
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140070f70
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x140071043
mov rdi, rdx
test rdx, rdx
je 0x140071043
mov rsi, rcx
call fcn.140073290
test eax, eax
jne 0x140071043
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rsi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rsi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140071050
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x1400710ea
mov qword [rcx + 0xd8], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret
Function at 0x1400731b0
Capabilities:
Hash data using sha384

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x14007327b
mov rdi, rdx
test rdx, rdx
je 0x14007327b
mov rsi, rcx
call fcn.140073290
test eax, eax
jne 0x14007327b
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rsi], rax
movabs rax, 0x629a292a367cd507
mov qword [rsi + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rsi + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rsi + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rsi + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rsi + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rsi + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140073560
Capabilities:
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x1400735f6
mov qword [rcx + 0xd8], rdx
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret

Function at 0x140073600
Capabilities:
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x14007369a
mov qword [rcx + 0xd8], 0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret
Function at 0x1400795f0
Capabilities:
Hash data using sha512

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp qword [rcx + 0x78], 0
je 0x140079607
mov rcx, rsi
call fcn.1400796e0
mov ecx, 0x470
call fcn.140045640
mov qword [rsi + 0x78], rax
test rax, rax
je 0x1400796d3
mov r8d, 0x470
mov rcx, rax
xor edx, edx
call fcn.1400d1370
mov r8d, dword [rsi + 0x164c]
mov rdx, qword [rsi + 0xa8]
mov ecx, 0x1d0
add rcx, qword [rsi + 0x78]
call fcn.140074150
test eax, eax
jne 0x1400796d8
mov r8d, dword [rsi + 0x164c]
mov rdx, qword [rsi + 0xa8]
mov ecx, 0x168
add rcx, qword [rsi + 0x78]
call fcn.14006e540
test eax, eax
jne 0x1400796d8
mov r8d, dword [rsi + 0x164c]
mov rdx, qword [rsi + 0xa8]
mov ecx, 0x238
add rcx, qword [rsi + 0x78]
call fcn.14006fe30
test eax, eax
jne 0x1400796d8
mov r8d, dword [rsi + 0x164c]
mov rdx, qword [rsi + 0xa8]
mov ecx, 0x2b0
add rcx, qword [rsi + 0x78]
call fcn.140073560
test eax, eax
jne 0x1400796d8
mov r8d, dword [rsi + 0x164c]
mov ecx, 0x390
add rcx, qword [rsi + 0x78]
mov rdx, qword [rsi + 0xa8]
add rsp, 0x20
pop rsi
jmp fcn.140070a00
mov eax, 0xffffff83
add rsp, 0x20
pop rsi
ret
Function at 0x1400997d0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, 0xffffff53
test rcx, rcx
je 0x140099904
mov rsi, rdx
test rdx, rdx
je 0x140099904
mov ebp, r8d
mov rdi, rcx
lea rdx, [rsp + 0x20]
call fcn.1400a0960
movzx ecx, byte [rsp + 0x20]
add ecx, 0x15
cmp eax, 1
mov eax, reloc.WS2_32.dll_setsockopt
cmove eax, ecx
mov ebx, 0xfffffeb8
cmp ax, bp
ja 0x140099904
movzx ebp, byte [rsi]
mov eax, ebp
and al, 4
cmp al, 1
mov r14d, 2
sbb r14d, 0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400a0960
xor edx, edx
cmp eax, 1
jne 0x14009985f
mov edx, dword [rsp + 0x20]
movzx eax, byte [rdi + 0x314]
add al, 0xf9
mov ebx, 0xffffff52
cmp al, 1
ja 0x140099904
mov rcx, qword [rdi + 0x610]
test rcx, rcx
je 0x1400998bc
movzx edi, dl
movzx eax, byte [rsi]
shr eax, 1
and eax, 2
add eax, r14d
add eax, edi
lea r8, [rax + rsi]
inc r8
lea rdx, [rsp + 0x20]
call fcn.140041b30
mov ebx, eax
test eax, eax
jne 0x140099904
lea rax, [rsi + rdi]
inc rax
mov ecx, r14d
test bpl, 4
jne 0x1400998c3
xor edx, edx
jmp 0x1400998f0
mov ebx, 0xffffff40
jmp 0x140099904
mov edx, ecx
and edx, 2
xor r8d, r8d
nop dword [rax + rax]
movzx r9d, word [rsp + r8 + 0x20]
xor word [rax + r8], r9w
add r8, 2
cmp rdx, r8
jne 0x1400998d0
xor ebx, ebx
test rdx, rdx
jne 0x140099904
nop dword [rax + rax]
movzx r8d, byte [rsp + rdx + 0x20]
xor byte [rax + rdx], r8b
inc rdx
cmp rcx, rdx
jne 0x1400998f0
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a11a0
mov eax, ebx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140099970
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, byte [rcx + 0x314]
add al, 0xf9
mov esi, 0xffffff52
cmp al, 1
ja 0x140099a94
xor eax, eax
cmp dword [rsp + 0x70], 0
setne al
mov rcx, qword [rcx + rax*8 + 0x610]
test rcx, rcx
je 0x1400999fe
lea rax, [rsp + 0x20]
mov rsi, rdx
mov rdx, rax
mov edi, r8d
mov r8, r9
call fcn.140041b30
mov rcx, rsi
mov esi, eax
test eax, eax
jne 0x140099a94
mov edx, edi
mov r8d, edi
and r8d, 7
test cl, 7
cmovne r8d, edi
test r8d, r8d
je 0x140099a92
mov eax, r8d
cmp r8d, 8
jae 0x140099a08
xor edx, edx
jmp 0x140099a80
mov esi, 0xffffff40
jmp 0x140099a94
cmp r8d, 0x20
jae 0x140099a12
xor edx, edx
jmp 0x140099a56
mov edx, eax
and edx, 0xffffffe0
xor r8d, r8d
nop word [rax + rax]
movups xmm0, xmmword [rcx + r8]
movups xmm1, xmmword [rcx + r8 + 0x10]
xorps xmm0, xmmword [rsp + r8 + 0x20]
xorps xmm1, xmmword [rsp + r8 + 0x30]
movups xmmword [rcx + r8], xmm0
movups xmmword [rcx + r8 + 0x10], xmm1
add r8, 0x20
cmp rdx, r8
jne 0x140099a20
xor esi, esi
cmp rdx, rax
je 0x140099a94
test al, 0x18
je 0x140099a80
mov r8, rdx
mov edx, eax
and edx, 0xfffffff8
nop
mov r9, qword [rsp + r8 + 0x20]
xor qword [rcx + r8], r9
add r8, 8
cmp rdx, r8
jne 0x140099a60
xor esi, esi
cmp rdx, rax
je 0x140099a94
nop dword [rax]
movzx r8d, byte [rsp + rdx + 0x20]
xor byte [rcx + rdx], r8b
inc rdx
cmp rax, rdx
jne 0x140099a80
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a11a0
mov eax, esi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400a2760
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400a278e
xor eax, eax
jmp 0x1400a2874
cmp qword [rcx + 0x68], 0
je 0x1400a279f
call fcn.14000bd80
jmp 0x1400a2874
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400a27b6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400a27b8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400a27ea
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400d0cd0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400a286e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400a2821
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400a284a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400b222c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400a286e
cmp rsi, rbx
ja 0x1400a2828
test rsi, rsi
je 0x1400a286e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400b222c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400a6694
Capabilities:
Parse pe header

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

Function at 0x1400acab8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400acc00
Function at 0x1400acc00
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400acc00
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 0x1400acc6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400acc6f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400acc6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400acc6f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400acc6f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400acc6f
cmp dword [rcx + 0xf8], 0
je 0x1400acc6f
mov ecx, ebx
call fcn.1400acb38
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.1400acd94
nop
cmp dword [rbp + 0x20], 0
je 0x1400accbd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400acbcc
int3

Function at 0x1400b2784
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.1400a6630
sub rsp, rax
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400c1dfc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400b27d3
mov rax, rbp
jmp 0x1400b28db
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 + 0x107ef0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400c57ec
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x107ef0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400b28d7
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 0x1400b28d7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400c57ec
test rax, rax
js 0x1400b28d7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400b28d7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400b28c9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400b28c9
cmp byte [rcx], 0xd
jne 0x1400b28af
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400b28be
cmp byte [rcx + 1], 0xa
jne 0x1400b28be
inc rcx
jmp 0x1400b28be
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xff640]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400b2891
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400b28db
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a11a0
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 0x1400ba2c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ba2e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ba2e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400c47b0
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.1400bda6c
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 0x1400c4851
cmp ebx, dword [rsp + 0x30]
je 0x1400c484a
test esi, esi
je 0x1400c484a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c4825
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c4832
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c480f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c4836
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c4853
mov eax, 1
jmp 0x1400c4853
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c5a0c
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 0x1400c5a3c
xor eax, eax
jmp 0x1400c5aff
mov rbp, rbx
cmp word [rax], si
je 0x1400c5a61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c5a48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c5a44
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.1400bd92c
movsxd r14, eax
test eax, eax
jne 0x1400c5a9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c5a35
mov rcx, r14
call fcn.1400bd83c
mov rdi, rax
test rax, rax
jne 0x1400c5ab8
xor ecx, ecx
call fcn.1400bd800
jmp 0x1400c5a94
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.1400bd92c
test eax, eax
jne 0x1400c5ae9
mov rcx, rdi
call fcn.1400bd800
jmp 0x1400c5af3
xor ecx, ecx
call fcn.1400bd800
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 0x1400c82b4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400c82ca
mov al, 1
jmp 0x1400c832a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400c82db
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400c8328
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c5f64
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400c8328
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c8328
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c8328
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400c832a
xor al, al
add rsp, 0x20
pop rbx
ret