joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141419ca0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rdi, rdx
mov r14, rcx
xor bpl, bpl
xor esi, esi
call fcn.141412480
test al, al
je 0x141419d64
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.141412080
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.1413da690
mov word [rsp + 0x80], ax
movzx ecx, ax
sub ecx, 0x41
mov ebx, 1
shl ebx, cl
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141419d44
cmp eax, 0xffffffff
je 0x141419d52
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x141419d52
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x141419e63
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.141412710
nop
mov dword [rsp + 0x20], 7
lea rax, [0x14004c430]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.1413d9d50
test al, al
je 0x141419e2e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.1413d4670
mov r8d, eax
test eax, eax
jle 0x141419e15
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.1413d4670
test eax, eax
jle 0x141419e15
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x141419e36
lea rcx, [rsp + 0x88]
call fcn.14141a120
test al, al
je 0x141419e2e
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x141419e55
cmp eax, 0xffffffff
je 0x141419e63
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x141419e63
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
test bpl, bpl
je 0x141419e8c
mov dword [rdi + 0x10], esi
test sil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
movzx eax, bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x141419ff0
Capabilities:
Enumerate network shares

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov r15, rcx
xor r14d, r14d
mov dword [rax + 0x18], r14d
mov dword [rax - 0x48], r14d
mov dword [rax + 0x20], r14d
nop
mov rcx, r15
call fcn.1413db220
mov rcx, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x50]
mov edx, 1
call sub.NETAPI32.dll_NetShareEnum
mov ebp, eax
test eax, eax
je 0x14141a06f
cmp eax, 0xea
jne 0x14141a0e9
mov rbx, qword [rsp + 0x50]
mov edi, 1
cmp dword [rsp + 0xa0], edi
jb 0x14141a0e9
test rsi, rsi
je 0x14141a0da
cmp dword [rbx + 8], 0
jne 0x14141a0da
or r8d, 0xffffffff
mov rdx, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rsi
call fcn.1413c5cb0
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14141a0cc
cmp eax, 0xffffffff
je 0x14141a0da
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14141a0da
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
add rbx, 0x18
inc edi
cmp edi, dword [rsp + 0xa0]
jbe 0x14141a082
mov rcx, qword [rsp + 0x50]
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebp, 0xea
je 0x14141a020
test ebp, ebp
sete al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x141432c10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
cmp rdx, 0x20
jb 0x141432c97
mov qword [rsp + 0x10], rbx
lea r11, [r8 + 0x10]
mov qword [rsp], rdi
mov rbx, r10
sub rbx, r8
mov edi, 0x10
sub rdi, r8
nop
movdqu xmm1, xmmword [rbx + r11 - 0x10]
add rcx, 0x20
movdqu xmm2, xmmword [rbx + r11]
lea r11, [r11 + 0x20]
movdqa xmm0, xmm1
lea rax, [rdi + r11]
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movdqa xmm1, xmm2
psllw xmm1, 8
psrlw xmm2, 8
pxor xmm1, xmm2
movdqu xmmword [r11 - 0x30], xmm0
movdqu xmmword [r11 - 0x20], xmm1
cmp rax, rdx
jbe 0x141432c40
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
lea rax, [rcx + 0x10]
cmp rax, rdx
ja 0x141432cc1
movdqu xmm1, xmmword [rcx + r10]
movdqa xmm0, xmm1
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movdqu xmmword [rcx + r8], xmm0
mov rcx, rax
cmp rcx, rdx
jae 0x141432cf3
sub r10, r8
lea rax, [rcx + r8]
neg r8
cmp r9, 0x10
jae 0x141432cf3
movzx ecx, word [rax + r10]
add r9, 2
rol cx, 8
mov word [rax], cx
add rax, 2
lea rcx, [r8 + rax]
cmp rcx, rdx
jb 0x141432cd0
mov rax, rdx
add rsp, 8
ret
Function at 0x14143dde0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x1f8], 0
mov rdi, rdx
mov rbx, rcx
je 0x14143de1a
mov rcx, qword [rcx + 0x1f8]
mov qword [rsp + 0x60], rdx
test rcx, rcx
je 0x14143ded1
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rdi + 0x40]
movzx ecx, byte [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbx + 0x120]
test eax, eax
setne dil
cmp rcx, 0xffffffffffffffff
je 0x14143de86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x120], 0xffffffffffffffff
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x14143dea4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x160], 0xffffffffffffffff
mov rcx, qword [rbx + 0x198]
cmp rcx, 0xffffffffffffffff
je 0x14143dec2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x198], 0xffffffffffffffff
movzx eax, dil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.1414c1b04
int3
Function at 0x14143f4b0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r13d, r13d
mov dword [rsp + 0x68], 0x18
test dl, dl
mov qword [rsp + 0x70], r13
mov rsi, rcx
mov dword [rsp + 0x78], r13d
mov ecx, 0x100000
mov r15d, r13d
cmove r15d, ecx
movzx eax, dl
neg al
mov r14d, r13d
movzx ebp, dl
mov edi, 0x3e8
sbb r12d, r12d
and r12d, ecx
test dl, dl
setne r14b
nop dword [rax + rax]
call fcn.14146f470
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14146f2a0
mov ebx, dword [rsp + 0x40]
call fcn.1413f3ec0
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, [0x1400a0108]
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.141440e80
mov r9d, 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea edx, [r14 + 0x40000001]
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], r15d
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14143f5ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14143f5b7
add edi, 0xffffffff
jne 0x14143f520
lea rdx, [0x1400a0130]
mov ecx, eax
call fcn.1413c9c80
jmp 0x14143f6dd
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x78], 1
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x80]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14143f630
lea rcx, [0x1400a0158]
call fcn.1413c9e30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14143f6dd
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea edx, [rax + 1]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14143f6bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x14143f6bd
cmp eax, 0x3e5
je 0x14143f6af
lea rdx, [0x1400a0178]
mov ecx, eax
call fcn.1413c9c80
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14143f6dd
mov rcx, qword [rsp + 0x60]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bpl, bpl
je 0x14143f6d6
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x14143f6dd
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1414414a0
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 8]
movzx esi, dl
mov rbp, rcx
cmp byte [rdi + 0x84], dl
je 0x141441595
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], r14
mov byte [rdi + 0x84], dl
mov r14, qword [rax + 0x48]
test r14, r14
jne 0x1414414fc
test dl, dl
jne 0x141441590
cmp qword [rdi + 0x78], r14
je 0x141441590
mov rcx, rdi
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp fcn.1414415a0
mov qword [rsp + 0x60], rbx
call fcn.1414111f0
mov rbx, rax
call fcn.141405b60
cmp rbx, rax
mov rbx, qword [rsp + 0x60]
je 0x141441554
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140181050]
lea rdx, [0x1400a0690]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1413cc1f0
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbp
mov rcx, r14
test sil, sil
je 0x141441587
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x80], eax
mov rax, qword [r14]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0xa0]
mov rax, qword [r14]
call qword [rax + 0xa8]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1414415a0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
or rdx, 0xffffffffffffffff
mov rcx, qword [rcx + 0x78]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
test eax, eax
je 0x1414415c9
mov qword [rbx + 0x78], 0
add rsp, 0x20
pop rbx
ret
lea rcx, [0x1400a0788]
add rsp, 0x20
pop rbx
jmp fcn.1413c9e30
Function at 0x1414461f0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x141446226
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x141446200
mov eax, edx
ret

Function at 0x14146ef90
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov dword [rcx + 0x1384], 0xffffffff
lea r10, [rcx + 8]
mov r8d, 0x1571
mov rbx, rcx
mov dword [rcx + 4], r8d
mov r9d, 1
mov ecx, 0x26f
nop dword [rax]
mov eax, r8d
lea r10, [r10 + 4]
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, r9d
inc r9d
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x14146efc0
mov rcx, rbx
mov dword [rbx], 0x270
call fcn.14146f070
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14146f110
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x14146f16b
lea r8, [rcx + 8]
nop word [rax + 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 r9, 1
jne 0x14146f130
jmp 0x14146f177
cmp eax, 0x4e0
jb 0x14146f177
call fcn.14146f1c0
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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 eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x14146f1c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x14146f1d0
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x14146f220
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov dword [r10], r11d
ret
Function at 0x14146f2a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14146f33a
mov qword [rsp + 0x30], rbp
mov ebp, 1
mov qword [rsp + 0x38], r14
lea r14, [0x14154e640]
cmp rcx, r14
jne 0x14146f2f1
xor eax, eax
lock cmpxchg qword [0x14154e600], rbp
je 0x14146f2f1
lea rcx, [0x14154e600]
call fcn.1413fb9f0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14146f000
cmp rbx, r14
mov r14, qword [rsp + 0x38]
jne 0x14146f325
xor edx, edx
mov rax, rbp
lock cmpxchg qword [0x14154e600], rdx
je 0x14146f325
lea rcx, [0x14154e600]
call fcn.1413fbdd0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x14154e60c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14146f360

Function at 0x14146f360
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov rsi, r8
mov r14, rdx
sub rsi, rdx
sar rsi, 2
xor ebp, ebp
mov ebx, ebp
mov rax, qword [0x14154fac0]
test rax, rax
jne 0x14146f3a6
call fcn.1414990b0
nop
mov rax, qword [0x14154fac0]
bt rax, 0xc
jae 0x14146f3ec
mov rbx, r14
lea rcx, [r14 + rsi*4]
lea rax, [r14 + 8]
cmp rax, rcx
ja 0x14146f3d5
nop dword [rax]
rdrand rdx
mov qword [rbx], rdx
jae 0x14146f3e5
mov rbx, rax
add rax, 8
cmp rax, rcx
jbe 0x14146f3c0
cmp rbx, rcx
je 0x14146f3e5
rdrand eax
mov dword [rbx], eax
jb 0x14146f3e5
add rbx, 4
sub rbx, r14
sar rbx, 2
cmp rbx, rsi
je 0x14146f44f
mov rdi, rsi
sub rdi, rbx
shl rdi, 2
lea rcx, [r14 + rbx*4]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
test al, al
cmovne rbp, rdi
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rbx, rax
cmp rbx, rsi
je 0x14146f44f
lea rdi, [r14 + rbx*4]
sub rsi, rbx
lea rbx, [rdi + rsi*4]
cmp rdi, rbx
je 0x14146f44f
lea rcx, [rsp + 0x58]
call fcn.1414f2fb4
nop
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
add rdi, 4
cmp rdi, rbx
jne 0x14146f435
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x141476010
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 0xf]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x28]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1414760a6
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14146a3a0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141476096
cmp eax, edi
je 0x1414760b0
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1414760b0
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x1414760b0
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1414760d0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1414762af
sub r8d, 1
je 0x14147623b
cmp r8d, 1
jne 0x141476317
mov dword [rsp + 0x54], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x40
lea r9d, [r8 + 0x3f]
lea r8, [rsp + 0x60]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1414761d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x141476185
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x141476317
call fcn.1414e8384
jmp 0x141476317
mov dword [rsp + 0x20], 0xff
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x20]
cmp dword [rsp + 0x50], 0xff
cmovle rax, rcx
mov r8d, dword [rax]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.141418e30
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov edx, 0x1008
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141476168
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14146a3a0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14147620f
cmp eax, ebx
je 0x14147621e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14147621e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x141476325
call fcn.1414e8384
jmp 0x141476325
mov r9d, 0xd
lea r8, [rbp - 0x20]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141476317
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14146a3a0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14147629f
cmp eax, ebx
je 0x141476325
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x141476325
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x141476325
mov r9d, 9
lea r8, [rbp - 0x20]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141476317
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14146a3a0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x141476307
cmp eax, ebx
je 0x141476325
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x141476325
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x141476325
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1414c4ac0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1414768e0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov dword [rsp + 0x28], 0
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, 0x100c
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141476987
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1413c12d0
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.1413da590
lea edx, [rax + 1]
mov rcx, rdi
call fcn.14146a580
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141476977
cmp eax, ebx
je 0x141476994
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x141476994
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x141476994
mov edx, 1
mov rcx, rdi
call fcn.14146a4d0
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1414769b0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x47], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov dword [rbp - 0x59], 0
mov eax, 0x40
test r9d, r9d
cmovne eax, r9d
mov dword [rbp - 0x45], eax
cmp eax, 0x40
jle 0x141476a1f
movsxd rcx, eax
add rcx, rcx
call fcn.1414e9470
mov r8, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x141476a17
call fcn.1413ea4d0
mov r8, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
mov dword [rbp - 0x49], eax
jmp 0x141476a2e
lea r8, [rbp - 0x39]
mov qword [rbp - 0x41], r8
mov dword [rbp - 0x49], 0x40
mov r9d, eax
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x141476a4b
lea rax, [0x140036840]
mov qword [rbx], rax
jmp 0x141476ac9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x141476ab8
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, eax
test eax, eax
jne 0x141476a78
lea rax, [0x140036840]
mov qword [rbx], rax
jmp 0x141476ac9
mov dword [rbp + 0x7f], edx
lea rax, [rbp - 0x49]
lea rcx, [rbp + 0x7f]
cmp edx, dword [rbp - 0x49]
cmovge rax, rcx
mov r8d, dword [rax]
lea rcx, [rbp - 0x49]
call fcn.141418e30
mov r9d, dword [rbp - 0x45]
mov r8, qword [rbp - 0x41]
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x141476ab8
lea rax, [0x140036840]
mov qword [rbx], rax
jmp 0x141476ac9
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1413c12d0
nop
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
cmp rcx, rax
je 0x141476adb
call fcn.1414e8384
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret