joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400178e0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rdi, rcx
test rcx, rcx
je 0x140017906
mov byte [rcx], 0
xor ebx, ebx
mov rbp, 0xffffffffffffffff
mov r15d, ebx
mov dword [rsp + 0x1a0], ebx
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x1a0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x1400179e7
cmp dword [rsp + 0x1a0], ebx
je 0x1400179e7
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0xf0]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x1400179e7
mov eax, dword [rsp + 0x100]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x168]
bt eax, 8
cmovb rcx, qword [rsp + 0x160]
test al, 1
cmovne rsi, qword [rsp + 0x110]
cmp rdx, rbp
jne 0x1400179b0
cmp rcx, rbp
jne 0x1400179b0
cmp rsi, rbp
je 0x1400179e7
cmp rdx, rcx
mov dword [rsp + 0x30], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x38]
mov r15, qword [rsp + 0x58]
cmp rsi, rbp
mov r14, qword [rsp + 0x40]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
test r15, r15
jne 0x140017a17
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0x78]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
cmovae rbx, rsi
test rbx, rbx
je 0x140017a37
test rdi, rdi
je 0x140017a32
mov byte [rdi], 1
mov rax, rbx
jmp 0x140017a69
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0xd8], rax
cmovb rax, qword [rsp + 0xd8]
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140017a90
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0xb0
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140017b75
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140017b75
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140017b50
xorps xmm0, xmm0
test rdx, rdx
js 0x140017af7
cvtsi2ss xmm0, rdx
jmp 0x140017b0f
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1400bb6f8]
test rbx, rbx
js 0x140017b29
cvtsi2ss xmm0, rbx
jmp 0x140017b41
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rdi, rdi
je 0x140017b67
cmp rdx, rbx
jbe 0x140017b61
mov qword [rdi], rax
jmp 0x140017b67
sub rbx, rdx
mov qword [rdi], rbx
test rsi, rsi
je 0x140017c3e
jmp 0x140017c3b
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140017c18
test r14, r14
je 0x140017c07
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140017bb1
cvtsi2ss xmm0, rcx
jmp 0x140017bc6
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1400bb6f8]
test rdx, rdx
js 0x140017be0
cvtsi2ss xmm0, rdx
jmp 0x140017bf8
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rdi, rdi
je 0x140017c0f
mov qword [rdi], rdx
test rsi, rsi
je 0x140017c3e
xor eax, eax
jmp 0x140017c3b
test r14, r14
je 0x140017c24
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rdi, rdi
je 0x140017c31
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
test rsi, rsi
je 0x140017c3e
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140105598
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140150b00
nop
test rbx, rbx
je 0x1401055ee
add rbx, 0xc
mov rdx, rbx
jmp 0x1401055f0
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.14000a530
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14010566d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140150b40
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140107af8
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a530
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001b1c
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140107c68
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a530
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001b1c
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140109904
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov edi, r8d
mov rsi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140150b00
nop
mov qword [rbp - 0x50], rsi
lea r14, [rbx + 0x10]
xor ecx, ecx
test rbx, rbx
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rbx
mov qword [rbp - 0x64], rcx
mov rdx, r14
mov qword [rbp - 0x6c], rdx
mov r8d, edi
mov dword [rbp - 0x5c], r8d
mov r9, rsi
mov qword [rbp - 0x74], r9
lea rcx, [rbp - 0xa0]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x64]
mov rdx, qword [rbp - 0x6c]
mov r8d, dword [rbp - 0x5c]
mov r9, qword [rbp - 0x74]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.14000a530
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1401099f6
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140150b40
call fcn.140001b1c
mov dword [rax + 8], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140109ec8
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
xor eax, eax
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a530
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140001b1c
mov dword [rax + 8], esi
movzx eax, bl
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14010e918
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.14000a4e0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000a530
test ebx, ebx
jne 0x14010e98c
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x14010e9b3
lea rcx, [0x1401d65c8]
call fcn.140005110
mov rbx, rax
mov rcx, rbx
call fcn.14012269c
mov rcx, rbx
call fcn.140008c10
lea rcx, [0x1401d5ef0]
call fcn.140005110
mov rbx, rax
mov rcx, rbx
call fcn.14011e078
mov rcx, rbx
call fcn.140008c10
int3

Function at 0x140116820
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x1400e5178]
mov qword [rbp], rax
mov rbx, rcx
mov esi, dword [rbx + 8]
xor edi, edi
cmp esi, 0x40
jae 0x140116873
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x1401168b2
lea rcx, [0x1401d04f8]
cmp qword [rcx - 8], 0
jne 0x1401169b1
mov rcx, qword [0x1400e4a38]
mov rcx, qword [rcx + 8]
lea edx, [rsi + 1]
cmp dword [rcx], ecx
call fcn.140188900
mov rdi, rax
test rdi, rdi
jne 0x1401168aa
xor r14d, r14d
xor r15d, r15d
jmp 0x1401168b2
lea r14, [rdi + 0x10]
mov r15d, dword [rdi + 8]
lea rcx, [rbx + 0xc]
mov edx, dword [rbx + 8]
mov edx, esi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.140132d90
cmp esi, r15d
jae 0x1401169c2
mov ecx, esi
mov word [r14 + rcx*2], 0
mov ebx, 0x15051505
mov r13d, 0x15051505
xor ecx, ecx
test r15d, r15d
cmovne rcx, r14
mov qword [rbp + 0x28], rcx
cmp esi, 2
jle 0x140116938
add esi, 0xfffffffc
mov edx, ebx
rol edx, 5
add ebx, edx
mov edx, dword [rcx]
or edx, 0x200020
xor ebx, edx
mov edx, r13d
rol edx, 5
add r13d, edx
mov edx, dword [rcx + 4]
or edx, 0x200020
xor r13d, edx
add rcx, 8
cmp esi, 2
jg 0x140116906
test esi, esi
jle 0x140116952
mov edx, r13d
rol edx, 5
add edx, r13d
mov r13d, dword [rcx]
or r13d, 0x200020
xor r13d, edx
xor ecx, ecx
mov qword [rbp + 0x28], rcx
test rdi, rdi
je 0x140116983
lea rcx, [0x1401d04f8]
cmp qword [rcx - 8], 0
jne 0x1401169bb
mov rcx, qword [0x1400e4a38]
mov rcx, qword [rcx + 8]
mov rdx, rdi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.140188b40
imul eax, r13d, 0x5d588b65
add eax, ebx
lea rcx, [0x1400e5178]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x1401169a1
call fcn.140004e40
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140001a24
jmp 0x140116885
call fcn.140001a24
jmp 0x14011696b
call fcn.140124164
int3
Function at 0x14011a460
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.14015d8d0
xor ecx, ecx
xor edx, edx
mov r8d, eax
sar r8d, 0x1f
and r8d, 3
add eax, r8d
sar eax, 2
test eax, eax
jle 0x14011a49b
lea r8d, [rdx*4]
movsxd r8, r8d
xor ecx, dword [rbx + r8]
inc edx
cmp eax, edx
jg 0x14011a486
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140125a38
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x140125a62
lea rcx, [0x1402093a8]
mov edx, 0x55
call fcn.140005230
mov rdx, rax
mov rcx, rbx
call fcn.140008910
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x140125ad0
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x140125ad0
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x140125ad0
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x140125ad0
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x140125ad0
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.140124164
int3

Function at 0x14012cb98
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
lea rdi, [0x1401d0408]
cmp qword [rdi - 8], 0
jne 0x14012cc0e
cmp byte [rdi], 0
je 0x14012cbc3
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x1401d0250]
cmp qword [rbp - 8], 0
jne 0x14012cc15
cmp byte [rbp], 0
jne 0x14012cbe9
mov rcx, rbx
mov edx, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp 0x14012d540
mov edx, esi
mov ecx, edx
or ecx, 0x80000000
cmp byte [rbx + 0x1b8], 0
cmove edx, ecx
mov rcx, qword [rbx + 8]
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.14012dc10
call fcn.14000120a
jmp 0x14012cbb3
call fcn.1400010cb
jmp 0x14012cbd1
sub rsp, 0x28
cmp edx, 0x1009
jne 0x14012d553
xor eax, eax
add rsp, 0x28
ret
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov rcx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
call fcn.140161ae0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14012cc1c
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
lea rdi, [0x1401d0408]
cmp qword [rdi - 8], 0
jne 0x14012cc9d
cmp byte [rdi], 0
je 0x14012cc47
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x1401d0250]
cmp qword [rbp - 8], 0
jne 0x14012cca4
cmp byte [rbp], 0
jne 0x14012cc78
movzx ecx, byte [rbx + 0x1b8]
test ecx, ecx
jne 0x14012cc78
mov rcx, rbx
mov edx, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp 0x14012d540
mov edx, esi
mov ecx, edx
or ecx, 0x80000000
cmp byte [rbx + 0x1b8], 0
cmove edx, ecx
mov rcx, qword [rbx + 8]
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.14012dc10
call fcn.14000120a
jmp 0x14012cc37
call fcn.1400010cb
jmp 0x14012cc55
Function at 0x14012db4c
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x50], rax
mov rax, qword [0x1400e5178]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rbx, [rsp + 0x20]
test rcx, rcx
je 0x14012db8c
add rcx, 0xc
jmp 0x14012db8e
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rbx
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.14000a4e0
mov rcx, qword [rbp + 0x38]
mov edx, dword [rbp + 0x44]
mov r8, qword [rbp + 0x30]
mov r9d, dword [rbp + 0x40]
call sub.KERNEL32.dll_GetLocaleInfoEx
mov esi, eax
lea rcx, [rbp + 8]
call fcn.14000a530
xor ecx, ecx
mov qword [rbp + 0x50], rcx
test esi, esi
jle 0x14012dbe6
mov rcx, rbx
call fcn.140113dec
jmp 0x14012dbe8
xor eax, eax
lea rcx, [0x1400e5178]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x14012dbfd
call fcn.140004e40
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14012dc10
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
or edx, 0x20000000
xor r8d, r8d
mov dword [rbp - 0x40], r8d
test rcx, rcx
je 0x14012dc46
add rcx, 0xc
jmp 0x14012dc48
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], rcx
lea r8, [rbp - 0x40]
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x4c], edx
mov r9d, 4
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.14000a4e0
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov edx, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0x88]
call fcn.14000a530
xor eax, eax
mov qword [rbp - 0x48], rax
mov eax, dword [rbp - 0x40]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14012f1c4
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x1401d0408]
cmp qword [rbx - 8], 0
jne 0x14012f22e
cmp byte [rbx], 0
jne 0x14012f203
xor ecx, ecx
mov edx, 0x5c
call fcn.14012db4c
test rax, rax
jne 0x14012f228
lea rcx, [0x1401beef8]
mov edx, 0x5c
add rsp, 0x20
pop rbx
jmp fcn.14012db4c
lea rcx, [0x1401d0248]
cmp qword [rcx - 8], 0
jne 0x14012f235
mov rcx, qword [0x1400e4650]
mov rcx, qword [rcx + 0x18]
cmp dword [rcx], ecx
add rsp, 0x20
pop rbx
jmp fcn.14012ea20
add rsp, 0x20
pop rbx
ret
call fcn.14000120a
jmp 0x14012f1d7
call fcn.1400013c4
jmp 0x14012f211
Function at 0x140137a00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movsd xmm6, qword [0x14008adb0]
movaps xmm7, xmm6
call fcn.140137c44
call fcn.1401371ac
test eax, eax
jge 0x140137a52
mov dword [0x1400e5b90], 0xffff
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
lea rbx, [0x1401d0330]
cmp qword [rbx - 8], 0
jne 0x140137c12
movabs rdx, 0x431bde82d7b634db
mov rax, rdx
imul qword [rbx]
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 0x12
lea rsi, [rdx + rcx + 1]
xor edi, edi
mov ebx, 8
add ebx, ebx
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x38]
xor r14d, r14d
cmp dword [0x1400ed360], 0
jne 0x140137c1c
test ebx, ebx
jle 0x140137abd
call fcn.1401371ac
inc r14d
cmp r14d, ebx
jl 0x140137ab0
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rsp + 0x30]
sub rcx, rbp
mov rbp, rcx
cmp dword [0x1400ed360], 0
jne 0x140137c26
cmp rbp, rsi
jl 0x140137a8b
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm7, xmm0
jp 0x140137aff
je 0x140137b0d
ucomisd xmm7, xmm7
jp 0x140137b17
ucomisd xmm0, xmm7
ja 0x140137b17
jmp 0x140137b1a
movq rcx, xmm7
test rcx, rcx
jge 0x140137b0b
movaps xmm0, xmm7
movaps xmm7, xmm0
mov ecx, ebx
sar ecx, 0x1f
and ecx, 3
add ecx, ebx
mov ebx, ecx
sar ebx, 2
add ebx, ebx
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x28]
xor r15d, r15d
cmp dword [0x1400ed360], 0
jne 0x140137c30
test ebx, ebx
jle 0x140137b5e
call fcn.140137c44
inc r15d
cmp r15d, ebx
jl 0x140137b51
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x20]
sub rax, rbp
mov rbp, rax
cmp dword [0x1400ed360], 0
jne 0x140137c3a
cmp rbp, rsi
jl 0x140137b2c
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm6, xmm0
jp 0x140137ba0
je 0x140137bae
ucomisd xmm6, xmm6
jp 0x140137bb8
ucomisd xmm0, xmm6
ja 0x140137bb8
jmp 0x140137bbb
movq rax, xmm6
test rax, rax
jge 0x140137bac
movaps xmm0, xmm6
movaps xmm6, xmm0
inc edi
cmp edi, 0xa
jl 0x140137a86
movaps xmm0, xmm7
mulsd xmm0, qword [case.0x140124ab7.96]
divsd xmm0, xmm6
cvttsd2si eax, xmm0
mov ecx, 0x1388
cmp eax, 0x1388
cmovg eax, ecx
mov dword [0x1400e5b90], eax
xor eax, eax
cmp dword [0x1400e5b90], 5
setle al
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
call fcn.14000115c
jmp 0x140137a64
call fcn.140009430
jmp 0x140137aac
call fcn.140009430
jmp 0x140137adf
call fcn.140009430
jmp 0x140137b4d
call fcn.140009430
jmp 0x140137b80