joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064810
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x50], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x58], rax
call fcn.140061110
mov rax, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r9, r14
mov rdi, qword [rsp + 0xc8]
mov r8, rsi
mov rbx, qword [rsp + 0xc0]
mov rdx, rdi
mov r15, qword [rsp + 0xe0]
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.140061230
vmovdqu32 zmm3, zmmword [rbx]
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
vpmaxsd zmm1, zmm3, zmmword [r9]
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [r9]
vmovdqu32 zmmword [r9], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r8]
mov r10, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r11, qword [rsp + 0x90]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r8]
vmovdqu32 zmmword [r8], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rdx], zmm0
vmovdqu32 zmm4, zmmword [r14]
vpmaxsd zmm0, zmm4, zmmword [rax]
vmovdqu32 zmmword [r14], zmm0
vpminsd zmm1, zmm4, zmmword [rax]
vmovdqu32 zmmword [rax], zmm1
vmovdqu32 zmm3, zmmword [r15]
vpmaxsd zmm1, zmm3, zmmword [r10]
vmovdqu32 zmmword [r15], zmm1
vpminsd zmm0, zmm3, zmmword [r10]
vmovdqu32 zmmword [r10], zmm0
vmovdqu32 zmm4, zmmword [r12]
vpmaxsd zmm0, zmm4, zmmword [r11]
vmovdqu32 zmmword [r12], zmm0
vpminsd zmm1, zmm4, zmmword [r11]
vmovdqu32 zmmword [r11], zmm1
vmovdqu32 zmm3, zmmword [r13]
vpmaxsd zmm1, zmm3, zmmword [rcx]
vmovdqu32 zmmword [r13], zmm1
vpminsd zmm0, zmm3, zmmword [rcx]
vmovdqu32 zmmword [rcx], zmm0
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], r9
mov r9, r10
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
vmovdqu32 zmm4, zmmword [rcx]
vpmaxsd zmm0, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rcx], zmm0
vpminsd zmm1, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rbx], zmm1
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x88]
mov r8, r11
vzeroupper
call fcn.140061350
mov rax, qword [rsp + 0xf8]
mov r9, r14
mov rcx, qword [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0xb8], rax
mov rdx, rdi
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r15
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.140061350
Function at 0x140070914
Capabilities:
Parse pe header

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

Function at 0x14007be80
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.1401f7160
nop
test rbx, rbx
je 0x14007bed6
add rbx, 0xc
mov rdx, rbx
jmp 0x14007bed8
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.1400070f0
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.140007140
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14007bf55
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1401f71a0
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 0x14007dfd0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov esi, dword [rbx + 8]
test esi, esi
je 0x14007e194
mov rdi, qword [rbx + 0x10]
call fcn.140155720
mov rcx, rax
cmp esi, 1
jbe 0x14007e194
mov r8, qword [rbx + 0x18]
lea rdx, [0x1403c9880]
call fcn.140158a00
mov rbx, rax
lea rcx, [0x1403e12f0]
cmp qword [rcx - 8], 0
jne 0x14007e18a
mov rcx, qword [0x1406ac150]
mov rcx, qword [rcx + 0x10]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rbx, rax
mov rcx, rdi
lea rdx, [0x140398248]
call fcn.14008fae0
cmp dword [rax + 8], 0
jbe 0x14007e194
mov rdi, qword [rax + 0x10]
cmp byte [rdi], dil
mov rcx, rdi
mov edx, 1
call fcn.14008f5d0
mov r8d, dword [rdi + 0xd0]
mov ecx, 0x1f0fff
xor edx, edx
call fcn.14007d970
mov rsi, rax
mov dword [rsp + 0x20], 0x40
mov edi, dword [rbx + 8]
mov r8d, edi
mov rcx, rsi
xor edx, edx
mov r9d, 0x3000
call fcn.14007dac0
mov r14, rax
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], r9
mov r9d, edi
mov rcx, rsi
mov rdx, r14
mov r8, rbx
call fcn.14007db80
lea rcx, [0x1403acfb0]
call fcn.14007ddb0
mov rcx, rax
lea rdx, [0x1403ad980]
call fcn.14007dc70
mov r9, rax
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x4c], r9
mov rcx, rsi
mov qword [rbp - 0x54], rcx
xor edx, edx
mov qword [rbp - 0x5c], rdx
xor r8d, r8d
mov dword [rbp - 0x44], r8d
lea rcx, [rbp - 0x88]
call fcn.1400070f0
mov r9, qword [rbp - 0x4c]
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x44]
call sub.KERNEL32.dll_CreateRemoteThread
mov rbx, rax
lea rcx, [rbp - 0x88]
call fcn.140007140
mov rcx, rbx
mov edx, 0x2710
call fcn.14007deb0
mov rcx, rbx
call fcn.14007df40
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
mov r9d, 0x8000
call fcn.14007da10
mov rcx, rsi
call fcn.14007df40
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140002830
jmp 0x14007e039
call fcn.14021ae50
int3

Function at 0x140090340
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1403e0a40]
cmp qword [rcx - 8], 0
jne 0x14009037e
mov rcx, rbx
call fcn.14008ff50
test eax, eax
jne 0x14009036c
add rsp, 0x20
pop rbx
jmp fcn.140091300
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.140091280
call fcn.1400010cb
jmp 0x140090356
Function at 0x14014eae0
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.1400070f0
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.140007140
test ebx, ebx
jne 0x14014eb54
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x14014eb7b
lea rcx, [0x1403fe760]
call fcn.140006c60
mov rbx, rax
mov rcx, rbx
call fcn.1401821b0
mov rcx, rbx
call fcn.140007bd0
lea rcx, [0x1403fde48]
call fcn.140006c60
mov rbx, rax
mov rcx, rbx
call fcn.14017c700
mov rcx, rbx
call fcn.140007bd0
int3

Function at 0x14014f100
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x14014f11d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.14021f4c0
mov ecx, eax
test ecx, ecx
jne 0x14014f1aa
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.14021f450
mov ecx, eax
lea rdx, [0x140394c38]
call fcn.1401e84a0
mov rcx, rax
call fcn.140007bd0
int3
Function at 0x140165de0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
push rax
xor eax, eax
mov qword [rsp], rax
mov r10, rdx
mov r11d, dword [rsp + 0x60]
mov edx, 0x55555556
mov eax, edx
imul r9d
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [rax + rax*2]
mov edx, r9d
sub edx, eax
sub r9d, edx
add r9d, r8d
xor eax, eax
xor ebx, ebx
lea rsi, [0x140555488]
mov qword [rsp], rsi
cmp r8d, r9d
jge 0x140165efb
movzx edi, r11b
test edi, edi
jne 0x14016600b
movsxd rbp, r8d
movzx r14d, byte [r10 + rbp]
and r14d, 0xfc
sar r14d, 2
movsxd r14, r14d
movzx r14d, byte [r14 + rsi]
movsxd r15, eax
mov word [rcx + r15*2], r14w
movzx ebp, byte [r10 + rbp]
and ebp, 3
shl ebp, 4
lea r14d, [r8 + 1]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xf0
sar r15d, 4
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 1]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0xf
shl ebp, 2
lea r14d, [r8 + 2]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xc0
sar r15d, 6
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 2]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0x3f
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r14d, [rax + 3]
movsxd r14, r14d
mov word [rcx + r14*2], bp
add eax, 4
add r8d, 3
cmp r8d, r9d
jl 0x140165e32
mov r8d, r9d
movzx edi, r11b
test edi, edi
jne 0x140166038
cmp edx, 1
je 0x140165fba
cmp edx, 2
jne 0x140165fa7
movsxd r9, r8d
movzx r11d, byte [r10 + r9]
and r11d, 0xfc
sar r11d, 2
movsxd rdx, r11d
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 3
shl edx, 4
inc r8d
movsxd r8, r8d
movzx r9d, byte [r10 + r8]
and r9d, 0xf0
sar r9d, 4
or edx, r9d
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
lea r9d, [rax + 1]
movsxd r9, r9d
mov word [rcx + r9*2], dx
movzx r10d, byte [r10 + r8]
and r10d, 0xf
shl r10d, 2
movsxd rdx, r10d
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 2]
movsxd r8, r8d
mov word [rcx + r8*2], dx
lea edx, [rax + 3]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
add eax, 4
xor ecx, ecx
mov qword [rsp], rcx
add rsp, 8
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 0xfc
sar edx, 2
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd r8, r8d
movzx r10d, byte [r10 + r8]
and r10d, 3
shl r10d, 4
movsxd rdx, r10d
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 1]
movsxd r8, r8d
mov word [rcx + r8*2], dx
lea edx, [rax + 2]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
jmp 0x140165f98
cmp ebx, 0x4c
jne 0x140166030
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], select
mov eax, ebx
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], 0xa
xor eax, eax
mov ebp, eax
mov eax, ebx
mov ebx, ebp
add ebx, 4
jmp 0x140165e3a
test edx, edx
je 0x140165f0a
cmp ebx, 0x4c
jne 0x140165f0a
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], send
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], 0xa
jmp 0x140165f0a
Function at 0x140191bc0
Capabilities:
Get geographical location

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 qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov rbx, rcx
lea rsi, [0x1403e10a0]
cmp qword [rsi - 8], 0
jne 0x140191ded
cmp byte [rsi], 0
jne 0x140191dfb
movzx r8d, word [rbp + 0x20]
mov rcx, rbx
mov rdx, qword [rbp + 0x18]
call fcn.140190810
mov esi, eax
test esi, esi
je 0x140191dc6
cmp byte [rbx + 0x90], 0
je 0x140191dc6
movzx eax, word [rbp + 0x20]
add eax, 0xfffffff3
cmp eax, 8
ja case.default.0x140191c5a
lea rcx, [0x140567170]
mov ecx, dword [rcx + rax*4]
lea rdx, [0x140191bf7]
add rcx, rdx
jmp rcx
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x18]
call fcn.140192200
mov rcx, qword [rbp + 0x18]
movzx edx, word [rbp + 0x20]
mov qword [rbp + 0x10], rbx
lea r8, [rbx + 0x88]
mov qword [rbp - 0x40], r8
test rcx, rcx
je 0x140191ddf
add rcx, 0xc
mov qword [rbp - 0x48], rcx
xor r9d, r9d
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], r8
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x5c], edx
xor r8d, r8d
mov qword [rbp - 0x70], r8
mov r9d, 0x20000030
mov dword [rbp - 0x60], r9d
lea rcx, [rbp - 0x98]
call fcn.1400070f0
mov rcx, qword [rbp - 0x68]
mov edx, dword [rbp - 0x5c]
mov r8, qword [rbp - 0x70]
mov r9d, dword [rbp - 0x60]
call sub.KERNEL32.dll_GetCalendarInfoEx
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140007140
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rcx
xor ecx, ecx
test ebx, ebx
setne cl
and esi, ecx
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov dword [rbp - 0x50], r8d
test rcx, rcx
je 0x140191de6
add rcx, 0xc
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x68], r8
mov edx, 0x20001009
mov dword [rbp - 0x60], edx
mov r9d, 4
mov dword [rbp - 0x5c], r9d
lea rcx, [rbp - 0x98]
call fcn.1400070f0
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x60]
mov r9d, dword [rbp - 0x5c]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0x98]
call fcn.140007140
xor ecx, ecx
mov qword [rbp - 0x58], rcx
movzx ecx, word [rbp - 0x50]
movzx edx, word [rbp + 0x20]
cmp ecx, edx
jne 0x140191dc6
mov rcx, qword [rbp + 0x18]
mov edx, 0x1f
call fcn.14019b0b0
mov rcx, rax
call fcn.14019b320
mov rbx, rax
mov rcx, qword [rbp + 0x18]
mov edx, 0x20
call fcn.14019b0b0
mov rcx, rax
call fcn.14019b320
mov rdi, rax
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov rcx, rbx
call fcn.140191e30
mov rbx, qword [rbp + 0x10]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.140191e30
mov ecx, esi
movzx eax, cl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor ecx, ecx
jmp 0x140191c8d
xor ecx, ecx
jmp 0x140191d14
call fcn.140001488
cmp byte [rsi], 0
je 0x140191c12
movzx r8d, word [rbp + 0x20]
mov rcx, rbx
mov rdx, qword [rbp + 0x18]
call fcn.140191f30
mov ecx, eax
jmp 0x140191dc8
insb byte [rdi], dx
out 0xfb, eax
Function at 0x1401922c0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov r14d, edx
mov esi, r8d
mov edi, r9d
lea rcx, [0x140438c60]
call fcn.140006c60
mov r15, rax
mov rcx, qword [0x1406acea0]
mov rdx, qword [rcx + 8]
lea rcx, [r15 + 8]
call fcn.140006e70
mov qword [rbp - 0x40], r15
test edi, edi
je 0x14019240f
test edi, 0x80000000
jne 0x14019240f
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rbx, rbx
je 0x140192347
mov qword [rbp + 0x10], rbx
lea rcx, [rbx + 0xc]
jmp 0x14019234d
xor ecx, ecx
mov qword [rbp + 0x10], rbx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x78], r8
mov edx, 0x20001009
mov dword [rbp - 0x64], edx
mov r9d, 4
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0xa8]
call fcn.1400070f0
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x78]
mov edx, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0xa8]
call fcn.140007140
xor ecx, ecx
mov qword [rbp - 0x58], rcx
movzx ecx, word [rbp - 0x50]
movzx edx, r14w
cmp ecx, edx
jne 0x1401923fd
mov rcx, qword [rbp + 0x10]
mov edx, edi
call fcn.14019b0b0
test rax, rax
je 0x1401923f7
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x40]
inc dword [rcx + 0x14]
mov rdx, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
mov r10d, dword [rdx + 8]
cmp r10d, r8d
jbe 0x140192403
lea r10d, [r8 + 1]
mov dword [rcx + 0x10], r10d
mov ecx, r8d
lea rcx, [rdx + rcx*8 + 0x10]
mov rdx, rax
call fcn.140006e70
mov rbx, qword [rbp + 0x10]
jmp 0x14019240f
mov rbx, qword [rbp + 0x10]
jmp 0x14019240f
mov rbx, qword [rbp + 0x10]
jmp 0x14019240f
mov rdx, rax
call fcn.14030cb30
mov rbx, qword [rbp + 0x10]
xor r9d, r9d
test rbx, rbx
je 0x14019241d
add rbx, 0xc
jmp 0x14019241f
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov rdx, rbx
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x48]
mov qword [rsp + 0x28], r8
mov qword [rbp - 0x78], rdx
movzx r8d, r14w
mov dword [rbp - 0x68], r8d
mov qword [rbp - 0x70], r9
lea rcx, [0x140191a60]
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.1400070f0
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.dll_EnumCalendarInfoExEx
lea rcx, [rbp - 0xa8]
call fcn.140007140
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov rcx, qword [rbp - 0x40]
cmp dword [rcx + 0x10], 0
jne 0x140192496
xor ecx, ecx
mov rbx, qword [rbp + 0x30]
mov qword [rbx], rcx
jmp 0x1401924d8
mov rbx, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14030d330
mov rdi, rax
cmp esi, 0x39
je 0x1401924b2
cmp esi, 4
jne 0x1401924c8
mov r9d, dword [rdi + 8]
mov rdx, rdi
lea rcx, [0x1403ddcb0]
xor r8d, r8d
call fcn.140385fe0
mov rcx, rbx
mov rdx, rdi
call fcn.140006ee0
mov ecx, 1
movzx eax, cl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140192640
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
mov rax, qword [0x1406af028]
mov qword [rbp + 0x48], rax
mov rsi, rcx
mov edi, edx
mov rbx, r8
lea r14, [0x1403e10a0]
cmp qword [r14 - 8], 0
jne 0x140192872
cmp byte [r14], 0
je 0x14019269d
movzx edx, dil
mov rcx, rsi
mov r8, rbx
call fcn.1401928a0
jmp 0x140192846
mov rcx, rsi
mov qword [rbp + 0xc0], rbx
mov rdx, rbx
call fcn.140190b30
mov r14d, eax
test dil, dil
je 0x140192843
xor ecx, ecx
mov dword [rbp + 0x60], ecx
test rsi, rsi
je 0x1401926d5
add rsi, 0xc
jmp 0x1401926d7
xor esi, esi
mov qword [rbp + 0x58], rsi
mov rcx, rsi
mov qword [rbp + 0x38], rcx
lea r8, [rbp + 0x60]
mov qword [rbp + 0x30], r8
mov edx, 0x20001009
mov dword [rbp + 0x44], edx
mov r9d, 4
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.1400070f0
mov rcx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x30]
mov edx, dword [rbp + 0x44]
mov r9d, dword [rbp + 0x40]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp + 8]
call fcn.140007140
xor eax, eax
mov qword [rbp + 0x58], rax
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x140192843
movzx r8d, ax
mov rbx, qword [rbp + 0xc0]
mov edi, dword [rbx + 8]
test edi, edi
je 0x140192888
movzx eax, word [rbx + 0x10]
cmp r8d, eax
je 0x140192843
mov edx, 1
cmp edi, 1
jle 0x140192772
mov ecx, edx
movzx ecx, word [rbx + rcx*2 + 0x10]
cmp ecx, r8d
je 0x140192782
inc edx
cmp edi, edx
jg 0x140192760
lea ecx, [r14 + 1]
cmp edi, r14d
cmovle ecx, r14d
mov r14d, ecx
jmp 0x140192793
mov word [rbx + 0x10], r8w
mov edx, edx
mov word [rbx + rdx*2 + 0x10], ax
jmp 0x140192843
mov eax, r14d
mov ecx, 2
mul rcx
jb 0x14019286d
mov rsi, rax
test rsi, rsi
je 0x1401927e3
mov rcx, rsi
add rcx, 0xf
and rcx, 0xfffffffffffffff0
add rsp, 0x20
neg rcx
add rcx, rsp
jb 0x1401927c5
xor ecx, ecx
test dword [rsp], esp
sub rsp, 0x1000
cmp rsp, rcx
jae 0x1401927c5
mov rsp, rcx
test dword [rsp], esp
sub rsp, 0x20
lea rsi, [rsp + 0x20]
test r14d, r14d
jl 0x14019287c
mov ecx, r14d
test r14d, r14d
je 0x140192888
mov word [rsi], r8w
dec ecx
cmp edi, ecx
jb 0x14019287c
lea rdx, [rbx + 0x10]
cmp r14d, 1
jb 0x14019287c
lea r8, [rsi + 2]
lea eax, [r14 - 1]
mov qword [rbp + 0x50], r8
cmp ecx, eax
ja 0x140192882
lea r8, [rcx + rcx]
mov rcx, qword [rbp + 0x50]
call fcn.140152a60
add rbx, 0x10
mov rcx, rbx
cmp r14d, edi
ja 0x140192882
mov r8d, r14d
add r8, r8
mov rdx, rsi
call fcn.140152a60
mov eax, r14d
lea rcx, [0x1406af028]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x14019285b
call fcn.1400074c0
nop
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14021ae20
call fcn.140001488
jmp 0x140192683
call fcn.140184960
int3
call fcn.140184990
int3
call fcn.14021ae50
int3