joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057fd0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1400e11e8]
mov ecx, dword [0x1400d8694]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140058030
lea rsi, [0x1400e11e0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140076ac0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400e11e8]
call fcn.1400758c0
cmp dword [0x1400e11e8], 0xffffffff
jne 0x14005800c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140078bd0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140075768
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1400e1230]
mov ecx, dword [0x1400d8694]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400580f0
lea r8, [0x1400e1200]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140058160
mov qword [0x1400e11e0], rsi
lea rcx, [0x1400e11e8]
call fcn.140075958
jmp 0x14005800c
lea rcx, [0x1400e1230]
call fcn.1400758c0
cmp dword [0x1400e1230], 0xffffffff
jne 0x1400580c1
xorps xmm0, xmm0
movups xmmword [0x1400e1220], xmm0
movups xmmword [0x1400e1210], xmm0
movups xmmword [0x1400e1200], xmm0
lea rcx, [0x1400e1200]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400e1230]
call fcn.140075958
jmp 0x1400580c1
Function at 0x140058840
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140058967
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005889a
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
jmp 0x14005889d
xor r10d, r10d
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140058934
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x140058936
xor eax, eax
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140058998
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
jmp 0x14005899c
mov dl, byte [r8 + 0x19]
test dl, dl
je 0x1400589a3
pop rdi
pop rsi
ret
cmp byte [r8 + 0x1a], 0
je 0x1400589a0
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400589a0
cmp ecx, 0x666f736f
jne 0x1400589a0
cmp edx, 0x76482074
jne 0x1400589a0
mov byte [r8 + 0x19], 1
jmp 0x1400589a0
Function at 0x14005b270
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov esi, ecx
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x14005b3ac
cmp dword [0x1400e1278], esi
jg 0x14005b3ac
mov rdi, rdx
mov dword [rsp + 0x2c], esi
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
movsxd rsi, eax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r14, rax
mov qword [rsp + 0x30], rsi
lea rbp, [rdi + rsi]
xor esi, esi
lea r15, [rsp + 0x3c]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
mov r12, rdi
cmp r12, rbp
jae 0x14005b329
mov dword [rsp + 0x3c], 0
mov r8d, ebp
sub r8d, r12d
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rdx, r12
mov r9, r15
call r13
test eax, eax
sete dl
mov ecx, dword [rsp + 0x3c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x14005b322
mov rdx, rcx
add r12, rdx
cmp al, 1
jne 0x14005b2e3
test ebx, ebx
mov esi, dword [rsp + 0x2c]
je 0x14005b3ac
mov rax, qword [rsp + 0x30]
cmp byte [rax + rdi - 1], 0xa
je 0x14005b3ac
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
lea r15, [0x1400b3c2b]
lea r12, [0x1400b3c2c]
xor ebp, ebp
lea rbx, [rsp + 0x3c]
mov r14, r15
cmp r14, r12
jae 0x14005b3ac
mov dword [rsp + 0x3c], 0
mov r8d, r15d
sub r8d, r14d
inc r8d
mov qword [rsp + 0x20], rbp
mov rcx, rdi
mov rdx, r14
mov r9, rbx
call r13
test eax, eax
sete dl
mov ecx, dword [rsp + 0x3c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x14005b3a5
mov rdx, rcx
add r14, rdx
cmp al, 1
jne 0x14005b363
cmp esi, 3
je 0x14005b3d0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140076ac0
nop
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
Function at 0x14005dd30
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
movaps xmmword [rsp + 0x550], xmm6
mov rsi, rcx
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x548], rax
lea rax, [0x1400b3808]
mov qword [rcx], rax
lea r14, [rcx + 0x10]
lea rdi, [rcx + 0x18]
lea rbx, [rsp + 0x120]
mov rcx, rdi
mov rdx, rbx
call fcn.14001a4e0
movzx r12d, byte [rbx + 0x17]
test r12b, r12b
jns 0x14005dd97
mov r12, qword [rsp + 0x128]
jns 0x14005dda6
mov rcx, qword [rsp + 0x120]
call fcn.1400757a4
mov rax, qword [rsi + 0x10]
movsxd rcx, dword [rax + 4]
add rcx, r14
lea rbx, [rsp + 0x120]
mov rdx, rbx
call fcn.14001fe80
lea rdx, [0x1400da7f8]
mov rcx, rbx
call fcn.14003e4c0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1400e9008]
mov ebp, eax
mov rcx, rbx
call fcn.140022130
mov rcx, r14
mov edx, ebp
call fcn.140019e00
mov rcx, r14
call fcn.140018d20
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x90]
mov qword [r14 + 0x10], r13
movaps xmm6, xmmword [0x1400b3900]
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.14001a4e0
movzx eax, byte [r14 + 0x17]
mov r8, rax
test al, al
jns 0x14005de41
mov r8, qword [rsp + 0x98]
mov rcx, qword [rsi + 0x118]
sub r8, rcx
jb 0x14005e733
int3

Function at 0x140061190
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140061204
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140061204
cmp dword [rsp + 0x38], 4
jne 0x140061204
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140076ac0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140061220
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.140076a60
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140078bd0
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400613ec
mov eax, dword [rsp + 0x4c]
cmp eax, 2
je 0x1400612e1
mov edi, 0x3f4
cmp eax, 1
jne 0x1400613ec
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14008fc70
mov rdi, rax
movzx r9d, byte [rsi + 0x17]
test r9b, r9b
js 0x140061350
mov r14, rsi
cmp rdi, 0xa
ja 0x140061349
jmp 0x140061369
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140078bd0
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x1400613ec
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008fc70
mov rdi, rax
movzx r9d, byte [rsi + 0x17]
test r9b, r9b
js 0x140061377
mov r14, rsi
cmp rdi, 0xa
jbe 0x1400613bc
mov edx, 0xa
jmp 0x140061391
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rsi + 0x10]
dec rdx
cmp rdx, rdi
jb 0x14006138d
mov r14, qword [rsi]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x850]
jmp 0x1400613c5
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rsi + 0x10]
dec rdx
cmp rdx, rdi
jae 0x1400613b9
mov r9, qword [rsi + 8]
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140044ab0
jmp 0x1400613ea
mov r14, qword [rsi]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140078520
cmp byte [rsi + 0x17], 0
js 0x1400613df
cmp rdi, 0xb
jae 0x14006140b
mov byte [rsi + 0x17], dil
jmp 0x1400613e3
mov qword [rsi + 8], rdi
mov word [r14 + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140076ac0
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s_____min_cap
mov r8d, 0x6c7
call fcn.14001c910
int3

Function at 0x140061440
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14006147c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140061486
add rdi, rbx
sub rsi, rbx
jne 0x14006145a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140062eb0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400b3840]
mov qword [rcx], rax
add rcx, 8
call fcn.14005b9a0
lea rcx, [rsi + 0x10]
call fcn.14005b9a0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14005b9a0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1400b963c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.14006ce10
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140018a40
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x1400b9640], edx
je 0x140063065
cmp rax, 0x40
mov eax, 0x3e8
jmp 0x140063076
test dword [0x1400b9644], edx
je 0x1400630cf
cmp rax, 0x40
mov eax, 0x100
cmovb rcx, rax
call fcn.14006b730
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14006309d
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1400e9008]
call fcn.14006ac50
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14006ade0
mov qword [0x1400e2ed8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x1400b9648], edx
je 0x1400630e2
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x1400630eb
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.14006b7e0
jmp 0x14006307f
Function at 0x1400739f0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140073870
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1400e1150]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140073a4e
jnp 0x140073ab4
ucomisd xmm0, xmm6
jne 0x140073a80
jp 0x140073a80
xor eax, eax
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140076ac0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400b73b0]
subpd xmm1, xmmword [0x1400b73c0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400b7570]
cvttsd2si rax, xmm2
jmp 0x140073a58
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1400e1160]
mov ecx, dword [0x1400d8694]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073bc9
mov eax, dword [0x1400e1170]
mov ecx, dword [0x1400d8694]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073c03
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1400e1168]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400b7568]
ucomisd xmm2, xmm1
ja 0x140073a4e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1400e1158]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1400b73b0]
subpd xmm0, xmmword [0x1400b73c0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1400e1150], xmm0
jmp 0x140073a4e
lea rcx, [0x1400e1160]
call fcn.1400758c0
cmp dword [0x1400e1160], 0xffffffff
jne 0x140073afd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400e1158], rdx
lea rcx, [0x1400e1160]
call fcn.140075958
jmp 0x140073afd
lea rcx, [0x1400e1170]
call fcn.1400758c0
cmp dword [0x1400e1170], 0xffffffff
jne 0x140073b22
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1400e1168], rax
lea rcx, [0x1400e1170]
call fcn.140075958
jmp 0x140073b22
Function at 0x140075e4c
Capabilities:
Parse pe header

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

Function at 0x1400762e0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140076358
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140076358
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140076358
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14007634c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14007636a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14007633a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14007635a

Function at 0x140084dc8
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 0x140084dff
call fcn.140087ca4
mov dword [rax], 0x16
call fcn.140096194
xor eax, eax
jmp 0x140084e8d
mov rdx, r9
mov rcx, r8
call fcn.140084eb0
mov rbx, rax
test rax, rax
je 0x140084e8a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140084f20]
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 0x140084e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140087ce4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140084e5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140084e6d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140073750
jmp 0x140084e8a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140084e87
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 0x140084ff4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008513c
Function at 0x140089434
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, [0x1400d94f0]
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 0x14008948b
cmp word [rdx], r13w
jne 0x14008948b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140089490
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400895b5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400895d6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400894c9
mov rdx, r9
mov word [rbx], cx
jmp 0x1400894f0
cmp r9, r8
jae 0x140089500
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 0x1400894aa
jmp 0x1400895b5
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 0x1400895aa
cmp dword [rsp + 0x80], esi
je 0x1400895aa
lea r8, [0x1400d94f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140089582
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140089552
mov word [rbx], r13w
jmp 0x1400895b2
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 0x14008955f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400895b2
cmp word [rsp + 0x70], r13w
jne 0x14008958f
cmp rbx, r14
je 0x14008954c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140097a44
cmp word [rsp + 0x70], r13w
je 0x1400895b5
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, [0x1400d94f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400895af
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400895b5
Function at 0x140090280
Capabilities:
Parse pe header

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

Function at 0x14009a5f8
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.140093e24
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 0x14009a699
cmp ebx, dword [rsp + 0x30]
je 0x14009a692
test esi, esi
je 0x14009a692
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14009a66d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14009a67a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14009a657
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14009a67e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14009a69b
mov eax, 1
jmp 0x14009a69b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret