joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c0e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ecx, 0x38
mov rbx, r8
mov rdi, rdx
call fcn.1400e1700
mov ecx, dword [rbx]
xor ebp, ebp
mov rsi, rax
vpxor xmm0, xmm0, xmm0
mov dword [rax + 0x10], ecx
movabs rcx, 0x100000001b3
vmovups xmmword [rax + 0x18], xmm0
mov qword [rax + 0x28], rbp
mov qword [rax + 0x30], rbp
vmovups ymm0, ymmword [rbx + 8]
vmovups ymmword [rax + 0x18], ymm0
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], bpl
movzx ebx, byte [rax + 0x10]
movabs rax, 0xcbf29ce484222325
mov r8, qword [0x1402fcf48]
xor rbx, rax
movzx eax, byte [rsi + 0x11]
imul rbx, rcx
xor rbx, rax
movzx eax, byte [rsi + 0x12]
imul rbx, rcx
xor rbx, rax
movzx eax, byte [rsi + 0x13]
imul rbx, rcx
xor rbx, rax
imul rbx, rcx
mov rcx, qword [0x1402fcf58]
mov rdx, rbx
and rdx, qword [0x1402fcf70]
add rdx, rdx
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, r8
je 0x14005c201
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rsi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14005c1be
nop word [rax + rax]
cmp rax, rdx
je 0x14005c1fe
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14005c1b0
mov qword [rdi], rax
mov byte [rdi + 8], bpl
test rsi, rsi
je 0x14005c1e3
lea rcx, [rsi + 0x18]
vzeroupper
call fcn.14005b610
mov edx, 0x38
mov rcx, rsi
call fcn.1400e16f8
mov rax, rdi
vzeroupper
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov r8, rax
mov rcx, qword [0x1402fcf50]
movabs rax, 0x492492492492492
cmp rcx, rax
je 0x14005c2fc
add rcx, 1
vxorps xmm0, xmm0, xmm0
js 0x14005c22c
vcvtsi2ss xmm0, xmm0, rcx
jmp 0x14005c241
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
mov rcx, qword [0x1402fcf78]
vxorps xmm1, xmm1, xmm1
test rcx, rcx
js 0x14005c258
vcvtsi2ss xmm1, xmm1, rcx
jmp 0x14005c26d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm1, xmm1, rax
vaddss xmm1, xmm1, xmm1
vdivss xmm1, xmm0, xmm1
vmovss xmm0, dword [0x1402fcf40]
vcomiss xmm0, xmm1
jae 0x14005c2db
vzeroupper
call fcn.14005bdf0
mov r8, qword [0x1402fcf58]
mov rax, rbx
and rax, qword [0x1402fcf70]
mov rdx, qword [0x1402fcf48]
add rax, rax
mov rcx, qword [r8 + rax*8 + 8]
cmp rcx, rdx
jne 0x14005c2b3
mov qword [rsp + 0x20], rdx
jmp 0x14005c2d6
mov rdx, qword [r8 + rax*8]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rcx + 0x10]
je 0x14005c2ce
nop
cmp rcx, rdx
je 0x14005c2f5
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x14005c2c0
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
vzeroupper
call fcn.14005bea0
mov qword [rdi], rax
mov byte [rdi + 8], 1
jmp 0x14005c1e3
mov qword [rsp + 0x20], rcx
jmp 0x14005c2d6
lea rcx, str.unordered_map_set_too_long
vzeroupper
call fcn.1400e2244
int3
Function at 0x14005f160
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate processes
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005f207
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005f207
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xebf871a5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005f202
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005f1e0
cmp r8d, 0xa0f735d5
je 0x14005f20c
test r9d, r9d
jne 0x14005f1c0
mov rax, qword [rax]
jmp 0x14005f190
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r10
lea ecx, [rdx + 2]
call rax
xor ebx, ebx
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005f23c
xor eax, eax
jmp 0x14005f2c2
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.140112bd0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005f2b7
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.1400f4018
test eax, eax
jne 0x14005f27f
mov ebx, dword [rsp + 0x28]
jmp 0x14005f2b7
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14005f2b7
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.1400f4018
test eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
cmove ebx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005f291
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140064a10
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], edx
lea rcx, [0x140064a60]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140064a4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x140064a4c
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x140064a4e
xor eax, eax
add rsp, 0x38
ret
Function at 0x140088b60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r14d, 0x14
mov r13d, 0xa
mov ebp, 0x20
mov rsi, qword [rax]
mov eax, dword [r14 + rsi]
test al, 1
jne 0x140088bf9
or eax, 1
mov edi, ebp
add rdi, rsi
mov dword [r14 + rsi], eax
call fcn.1400e2ba0
mov dword [rdi + 4], eax
lea edx, [r13 - 9]
lea r8, [rdi + 8]
mov dword [rdi + 0x1384], 0xffffffff
nop word [rax + rax]
mov ecx, eax
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
inc rdx
mov dword [r8 - 4], eax
cmp rdx, 0x270
jb 0x140088bd0
mov dword [rdi], 0x270
mov eax, dword [r14 + rsi]
xor ecx, ecx
mov edi, 0x13a8
test al, 2
jne 0x140088c1c
or eax, 2
mov qword [rsi + rdi], rcx
mov dword [r14 + rsi], eax
mov qword [rsi + rdi + 8], 0x3d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rcx
mov rdx, r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], cl
mov rcx, rbx
call fcn.140088dc0
lea rcx, [rsi + rdi]
mov eax, ebp
add rax, rsi
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], rax
lea rdi, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0x68], r12
nop word [rax + rax]
mov r9, qword [rcx + 8]
mov rdx, rax
mov r8, qword [rcx]
dec r13
call fcn.140088ed0
mov rsi, qword [rbx + 0x10]
mov rbp, qword [rbx + 0x18]
movzx r15d, byte [rax + rdi]
cmp rsi, rbp
jae 0x140088cb6
lea rax, [rsi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rbp, 0xf
jbe 0x140088ca8
mov rax, qword [rbx]
mov byte [rax + rsi], r15b
mov byte [rax + rsi + 1], 0
jmp 0x140088d86
mov rax, r14
sub rax, rsi
cmp rax, 1
jb 0x140088db7
lea r12, [rsi + 1]
mov rdi, r12
or rdi, 0xf
cmp rdi, r14
jbe 0x140088cdb
mov rdi, r14
jmp 0x140088cfc
mov rcx, rbp
mov rax, r14
shr rcx, 1
sub rax, rcx
cmp rbp, rax
jbe 0x140088cf1
mov rdi, r14
jmp 0x140088cfc
lea rax, [rcx + rbp]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
call fcn.14005bd90
mov qword [rbx + 0x10], r12
mov r14, rax
mov qword [rbx + 0x18], rdi
mov r8, rsi
mov rcx, rax
cmp rbp, 0xf
jbe 0x140088d60
mov rdi, qword [rbx]
mov rdx, rdi
call fcn.140112f90
lea rdx, [rbp + 1]
mov byte [r14 + rsi], r15b
mov byte [r14 + rsi + 1], 0
cmp rdx, 0x1000
jb 0x140088d56
mov rcx, qword [rdi - 8]
add rdx, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140088db1
mov rdi, rcx
mov rcx, rdi
call fcn.1400e16f8
jmp 0x140088d72
mov rdx, rbx
call fcn.140112f90
mov byte [r14 + rsi], r15b
mov byte [r14 + rsi + 1], 0
mov qword [rbx], r14
lea rdi, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movabs r14, 0x7fffffffffffffff
test r13, r13
je 0x140088d9a
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
jmp 0x140088c70
mov r12, qword [rsp + 0x68]
mov rax, rbx
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400f3f60
int3
call fcn.140058600
int3
Function at 0x1400891e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400895a0
mov r9, qword [rbx]
mov rdi, rax
shl rdi, 0x20
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140089251
lea r8, [r9 + 8]
nop
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140089210
mov ecx, dword [r9]
jmp 0x140089337
cmp ecx, 0x4e0
jb 0x140089337
lea r10, [r9 + 0x9c4]
mov ebx, 0xe3
mov r11d, dword [r10]
nop dword [rax]
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140089270
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400892c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
or rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140089390
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
call fcn.1400895a0
mov rdi, rax
add ebp, 0xffffffff
je 0x14008956f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r12
xor r12d, r12d
nop dword [rax]
mov r9, qword [rsi]
shl rdi, 0x20
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x140089434
lea rax, [r9 + 8]
mov r10d, ecx
nop dword [rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r10, 1
jne 0x1400893f0
mov ecx, dword [r9]
jmp 0x140089516
cmp ecx, 0x4e0
jb 0x140089516
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov ebx, dword [r10]
mov eax, ebx
mov r8, r10
mov ebx, dword [r10 + 4]
mov edx, eax
xor edx, ebx
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140089450
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov ebx, dword [r10]
nop dword [rax]
mov eax, ebx
mov r8, r10
mov ebx, dword [r10 + 4]
mov edx, eax
xor edx, ebx
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x1400894a0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov ecx, r12d
mov dword [r9], r12d
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
or rdi, rax
add ebp, 0xffffffff
jne 0x1400893d0
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rax, r15
mov rsi, qword [rsp + 0x58]
mul rdi
mov qword [r14], rax
mov rax, r14
mov qword [r14 + 8], rdx
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400895a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140089601
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400895c0
mov ecx, dword [r9]
jmp 0x1400896eb
cmp ecx, 0x4e0
jb 0x1400896eb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140089620
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140089670
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
add rsp, 8
ret
Function at 0x1400e1d30
Capabilities:
Parse pe header

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

Function at 0x1400e936c
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.14010c020
sub rsp, rax
mov rax, qword [0x14015e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f9564
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400e93bb
mov rax, rbp
jmp 0x1400e94c3
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 + 0x2fe440]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400f97f4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2fe440]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400e94bf
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 0x1400e94bf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400f97f4
test rax, rax
js 0x1400e94bf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400e94bf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400e94b1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400e94b1
cmp byte [rcx], 0xd
jne 0x1400e9497
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400e94a6
cmp byte [rcx + 1], 0xa
jne 0x1400e94a6
inc rcx
jmp 0x1400e94a6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x15e410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400e9479
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400e94c3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14010bf70
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 0x1400f42ec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400f4323
call fcn.1400f753c
mov dword [rax], 0x16
call fcn.1400f3f40
xor eax, eax
jmp 0x1400f43b1
mov rdx, r9
mov rcx, r8
call fcn.1400f4288
mov rbx, rax
test rax, rax
je 0x1400f43ae
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400f41b4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400f439b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f74b0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400f4382
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400f4391
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400fac5c
jmp 0x1400f43ae
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f43ab
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f4b2c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400f4928
Function at 0x1400f9f78
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, [0x1402fe440]
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 0x1400f9fcf
cmp word [rdx], r13w
jne 0x1400f9fcf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400f9fd4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400fa0f9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400fa11a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400fa00d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400fa034
cmp r9, r8
jae 0x1400fa044
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 0x1400f9fee
jmp 0x1400fa0f9
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 0x1400fa0ee
cmp dword [rsp + 0x80], esi
je 0x1400fa0ee
lea r8, [0x1402fe440]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400fa0c6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400fa096
mov word [rbx], r13w
jmp 0x1400fa0f6
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 0x1400fa0a3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400fa0f6
cmp word [rsp + 0x70], r13w
jne 0x1400fa0d3
cmp rbx, r14
je 0x1400fa090
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400f97fc
cmp word [rsp + 0x70], r13w
je 0x1400fa0f9
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, [0x1402fe440]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400fa0f3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400fa0f9
Function at 0x1400fe06c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400fe082
mov al, 1
jmp 0x1400fe0e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400fe093
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400fe0e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14010276c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400fe0e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400fe0e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400fe0e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400fe0e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140101744
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 0x140101774
xor eax, eax
jmp 0x140101837
mov rbp, rbx
cmp word [rax], si
je 0x140101799
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140101780
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14010177c
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.140101664
movsxd r14, eax
test eax, eax
jne 0x1401017d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14010176d
mov rcx, r14
call fcn.1400fcb08
mov rdi, rax
test rax, rax
jne 0x1401017f0
xor ecx, ecx
call fcn.1400fac5c
jmp 0x1401017cc
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.140101664
test eax, eax
jne 0x140101821
mov rcx, rdi
call fcn.1400fac5c
jmp 0x14010182b
xor ecx, ecx
call fcn.1400fac5c
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 0x140104e50
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.1400f9c18
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 0x140104ef1
cmp ebx, dword [rsp + 0x30]
je 0x140104eea
test esi, esi
je 0x140104eea
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140104ec5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140104ed2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140104eaf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140104ed6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140104ef3
mov eax, 1
jmp 0x140104ef3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret