joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000baf0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x140007137
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x140007137
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x140007137
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000baf0
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x14038bda8]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rax, qword [0x14038b258]
mov rbx, rdx
mov rdi, rcx
cmp rax, 0xffffffffffffffff
jne 0x14000bb4e
xor edx, edx
lea rcx, str.kernel32
mov r8d, 0x800
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov rcx, rax
lea rdx, str.QueueUserAPC2
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x14038b258], rax
test rax, rax
je 0x14000bbaa
mov rcx, rbx
call fcn.140007470
test al, al
jne 0x14000bbf8
mov dl, 1
mov rcx, rbx
call fcn.1400074e0
mov r9d, 0x10001
lea rcx, [0x14000b730]
mov r8, rbx
mov rdx, rdi
call qword [0x14038b258]
test eax, eax
jne 0x14000bbf8
xor edx, edx
mov rcx, rbx
call fcn.1400074e0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x14000bbf8
mov qword [0x14038b258], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x14000bbf8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x14000bbef
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000bbef
test eax, 0x18000000
jne 0x14000bbef
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [0x140394908]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140069bd0
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000be20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000be34
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000bee0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
test rax, rax
jne 0x14000bf09
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14000bf20
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000bf55
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000e290
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x14038bda8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [str.DOTNET_]
mov rbp, rcx
lea rcx, [rsp + 0x40]
xorps xmm1, xmm1
movzx r15d, r9b
movaps xmmword [rsp + 0x40], xmm0
mov r12, r8
movups xmmword [rsp + 0x50], xmm1
mov r14, rdx
sub rcx, 2
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [r11 - 0x78], xmm1
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x14000e300
xor edx, edx
nop dword [rax]
movzx eax, word [r14 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000e310
mov r8d, 9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.KERNEL32.DLL_GetEnvironmentVariableW
xor ebx, ebx
mov r10d, eax
lea ecx, [rax - 1]
cmp ecx, 7
jbe 0x14000e3f6
mov rax, qword [rbp]
test rax, rax
jne 0x14000e359
mov rcx, rbp
call fcn.14000e490
mov rax, qword [rbp]
cmp rax, 1
je 0x14000e46b
mov rbp, qword [rbp]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rdi
mov edi, ebx
nop dword [rax]
movsxd rsi, edi
mov rcx, r14
imul rdx, rsi, 0x78
add rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000e3a2
inc edi
cmp edi, 0xa
jl 0x14000e380
mov r10d, ebx
jmp 0x14000e3e1
xor r9b, r9b
mov r8d, ebx
mov rdx, rbx
nop dword [rax + rax]
imul rax, rsi, 0x3c
add rax, rdx
movzx ecx, word [rbp + rax*2 + 0x66]
mov word [rsp + rdx*2 + 0x20], cx
test cx, cx
je 0x14000e3d4
inc r8d
inc rdx
cmp r8d, 9
jb 0x14000e3b0
jmp 0x14000e3d7
mov r9b, 1
test r9b, r9b
mov r10d, ebx
cmovne r10d, r8d
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
test r10d, r10d
je 0x14000e46b
cmp r10d, 9
jae 0x14000e46b
mov r8d, ebx
test r10d, r10d
je 0x14000e463
lea r9, [rsp + 0x20]
nop dword [rax]
movzx edx, word [r9]
lea eax, [rdx - 0x30]
test r15b, r15b
je 0x14000e42d
cmp ax, 9
ja 0x14000e46b
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
jmp 0x14000e457
shl ebx, 4
cmp ax, 9
ja 0x14000e43b
add ebx, 0xffffffd0
jmp 0x14000e455
lea eax, [rdx - 0x61]
cmp ax, 5
ja 0x14000e449
add ebx, 0xffffffa9
jmp 0x14000e455
lea eax, [rdx - 0x41]
cmp ax, 5
ja 0x14000e46b
add ebx, 0xffffffc9
add ebx, edx
inc r8d
add r9, 2
cmp r8d, r10d
jb 0x14000e410
mov dword [r12], ebx
mov al, 1
jmp 0x14000e46d
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140069bd0
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x140012b60
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x14038bda8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140012c4f
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 0x140012c4f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140012c2a
xorps xmm0, xmm0
test rdx, rdx
js 0x140012bd1
cvtsi2ss xmm0, rdx
jmp 0x140012be9
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 [0x140300be8]
test rbx, rbx
js 0x140012c03
cvtsi2ss xmm0, rbx
jmp 0x140012c1b
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 0x140012c41
cmp rdx, rbx
jbe 0x140012c3b
mov qword [rdi], rax
jmp 0x140012c41
sub rbx, rdx
mov qword [rdi], rbx
test rsi, rsi
je 0x140012d18
jmp 0x140012d15
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 0x140012cf2
test r14, r14
je 0x140012ce1
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140012c8b
cvtsi2ss xmm0, rcx
jmp 0x140012ca0
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 [0x140300be8]
test rdx, rdx
js 0x140012cba
cvtsi2ss xmm0, rdx
jmp 0x140012cd2
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 0x140012ce9
mov qword [rdi], rdx
test rsi, rsi
je 0x140012d18
xor eax, eax
jmp 0x140012d15
test r14, r14
je 0x140012cfe
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rdi, rdi
je 0x140012d0b
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
test rsi, rsi
je 0x140012d18
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140069bd0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
Function at 0x140012d40
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0x1b0
mov rax, qword [0x14038bda8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x140012d66
mov byte [rcx], 0
mov rax, qword [0x14038b298]
cmp rax, 0xffffffffffffffff
jne 0x140012ef0
mov qword [rsp + 0x1c8], rbx
xor ebx, ebx
mov qword [rsp + 0x1d0], rbp
mov rbp, rax
mov qword [rsp + 0x1d8], rsi
mov qword [rsp + 0x1a8], r14
mov r14d, ebx
mov qword [rsp + 0x1a0], r15
mov r15d, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_IsProcessInJob]
test eax, eax
je 0x140012e73
cmp dword [rsp + 0x30], ebx
je 0x140012e73
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.DLL_QueryInformationJobObject]
test eax, eax
je 0x140012e73
mov eax, dword [rsp + 0x110]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x178]
bt eax, 8
cmovb rcx, qword [rsp + 0x170]
test al, 1
cmovne rsi, qword [rsp + 0x120]
cmp rdx, rbp
jne 0x140012e3c
cmp rcx, rbp
jne 0x140012e3c
cmp rsi, rbp
je 0x140012e73
cmp rdx, rcx
mov dword [rsp + 0x40], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x68]
cmp rsi, rbp
mov r14, qword [rsp + 0x50]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
mov rbp, qword [rsp + 0x1d0]
test r15, r15
jne 0x140012eb4
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x88]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
mov r15, qword [rsp + 0x1a0]
mov r14, qword [rsp + 0x1a8]
cmovae rbx, rsi
mov rsi, qword [rsp + 0x1d8]
mov qword [0x14038b298], rbx
mov rax, qword [0x14038b298]
mov rbx, qword [rsp + 0x1c8]
mov rcx, rax
test rax, rax
je 0x140012f02
test rdi, rdi
je 0x140012f34
mov byte [rdi], 1
jmp 0x140012f34
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140069bd0
add rsp, 0x1b0
pop rdi
ret
Function at 0x140013190
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x140395380], eax
mov eax, dword [rsp + 0x24]
mov dword [0x140395384], eax
mov eax, dword [rsp + 0x48]
mov dword [0x140395388], eax
mov dword [rsp + 0x60], ebx
mov byte [0x14039538d], bl
call fcn.140014320
test al, al
je 0x1400131fe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetNumaHighestNodeNumber]
test eax, eax
je 0x1400131fe
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400131fe
inc eax
mov byte [0x14039538d], 1
mov dword [0x140395410], eax
mov byte [0x14039538e], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x14001323b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x14001323b
movzx eax, word [rsp + 0x60]
jmp 0x140013242
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.140014210
test al, al
je 0x14001326b
call fcn.140012f70
test al, al
je 0x14001326b
cmp dword [0x140395414], edi
seta al
mov byte [0x14039538e], al
jmp 0x140013272
movzx eax, byte [0x14039538e]
test al, al
je 0x1400132c0
mov r9d, dword [0x140395418]
test r9, r9
je 0x140013343
lea r8, [0x140395390]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x140013290
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetProcessAffinityMask]
test eax, eax
je 0x140013343
mov r9, qword [rsp + 0x60]
lea r8, [0x140395390]
nop dword [rax]
test r9, rdi
je 0x140013311
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x140013336
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x1400132f0
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14006a2c4
Capabilities:
Parse pe header

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

Function at 0x140076320
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.140003a60
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.ncrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003ab0
test esi, esi
jne 0x140076394
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x1400763bb
lea rcx, [0x14028f428]
call fcn.140002ce0
mov rsi, rax
mov rcx, rsi
call fcn.1400ad300
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x14028e868]
call fcn.140002ce0
mov rsi, rax
mov rcx, rsi
call fcn.14009cea0
mov rcx, rsi
call fcn.140003bc0
int3

Function at 0x1400768b0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rsi, rcx
mov eax, dword [rsi + 0x40]
cmp eax, 0xffffffff
je 0x1400768cd
add rsp, 0x48
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rsi
mov r9d, 4
call fcn.140128b00
mov ecx, eax
test ecx, ecx
jne 0x140076945
xor eax, eax
test byte [rbp - 0x10], 0x30
jne 0x1400768fe
mov eax, 0x40000000
test byte [rbp - 0x10], 2
je 0x140076909
or eax, 0x80000000
test dword [rbp - 0x10], 0x800
je 0x140076917
or eax, 0x10000000
test byte [rbp - 0x10], 4
je 0x140076922
or eax, 0x8000000
test dword [rbp - 0x10], 0x1000
je 0x140076930
or eax, 0x4000000
test byte [rbp - 0x10], 8
je 0x14007693b
or eax, 0x20000000
mov dword [rsi + 0x40], eax
add rsp, 0x48
pop rsi
pop rbp
ret
call fcn.140128aa0
mov ecx, eax
lea rdx, [0x140358c48]
call fcn.1400f9420
mov rcx, rax
call fcn.140003bc0
int3
Function at 0x140089ab0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov esi, ecx
and esi, 0xfffffffc
mov edi, dword [rdx + 8]
xor ebx, ebx
xor ebp, ebp
test ecx, ecx
je 0x140089cd4
lea r14, [0x140289f10]
mov eax, esi
sar eax, 2
lea eax, [rax + rax*2]
cmp edi, eax
jl 0x140089af7
lea r15d, [rsi - 4]
jmp 0x140089b0e
mov edx, 0x55555556
mov eax, edx
imul edi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x140089bb4
movsxd rax, ebx
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r12d, word [rax + 2]
movzx r13d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r12d
or r9d, r13d
or r9d, eax
test r9d, 0xffffff00
je 0x140089b4c
mov r9d, 0xffffffff
jmp 0x140089b81
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r12d, 0xc
or eax, r12d
shl r13d, 6
mov r9d, eax
or r9d, r13d
test r9d, r9d
jl 0x140089cf1
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add ebx, 4
cmp ebx, r15d
jl 0x140089b17
lea eax, [rsi - 4]
cmp r15d, eax
jne 0x140089cf1
cmp ebx, esi
je 0x140089cf1
lea eax, [rsi - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rsi - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rsi - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rsi - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x140089cf1
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x140089c79
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x140089cf1
add edi, 0xfffffffd
cmp ebp, edi
jg 0x140089cf1
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x140089ccd
cmp r9d, 0x3d
je 0x140089cb6
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x140089cf1
lea edx, [rdi - 2]
cmp ebp, edx
jg 0x140089cf1
mov edx, eax
sar edx, 0x10
movsxd r9, ebp
mov byte [r11 + r9], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140089ccd
test eax, eax
jl 0x140089cf1
lea edx, [rdi - 1]
cmp ebp, edx
jg 0x140089cf1
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add ebx, 4
cmp esi, ecx
jne 0x140089cf1
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c1b80
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov rsi, rcx
mov edi, edx
call fcn.14000132c
cmp byte [rax], 0
je 0x1400c1b9e
xor eax, eax
add rsp, 0x28
pop rsi
pop rdi
ret
call fcn.1400010cb
cmp byte [rax], 0
jne 0x1400c1bb8
mov rcx, rsi
mov edx, edi
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400c2290
mov edx, edi
cmp byte [rsi + 0x1b8], 0
jne 0x1400c1bc9
or edx, 0x80000000
mov rcx, qword [rsi + 8]
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400c28b0

Function at 0x1400c1be0
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov rsi, rcx
mov edi, edx
call fcn.14000132c
cmp byte [rax], 0
je 0x1400c1bfe
xor eax, eax
add rsp, 0x28
pop rsi
pop rdi
ret
call fcn.1400010cb
cmp byte [rax], 0
jne 0x1400c1c23
movzx ecx, byte [rsi + 0x1b8]
test ecx, ecx
jne 0x1400c1c23
mov rcx, rsi
mov edx, edi
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400c2290
mov edx, edi
cmp byte [rsi + 0x1b8], 0
jne 0x1400c1c34
or edx, 0x80000000
mov rcx, qword [rsi + 8]
add rsp, 0x28
pop rsi
pop rdi
jmp fcn.1400c28b0

Function at 0x1400c27e0
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 [0x14038bda8]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rsi, [rsp + 0x20]
test rcx, rcx
je 0x1400c2820
add rcx, 0xc
jmp 0x1400c2822
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rsi
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.140003a60
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 edi, eax
lea rcx, [rbp + 8]
call fcn.140003ab0
xor ecx, ecx
mov qword [rbp + 0x50], rcx
test edi, edi
jle 0x1400c287a
mov rcx, rsi
call fcn.14007d960
jmp 0x1400c287c
xor eax, eax
lea rcx, [0x14038bda8]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400c2891
call fcn.140004ba0
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c28b0
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 0x1400c28e6
add rcx, 0xc
jmp 0x1400c28e8
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.140003a60
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.140003ab0
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