joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140432c20
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.14036dfa0
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 0x140432c9f
cmp eax, 0xea
jne 0x140432d19
mov rbx, qword [rsp + 0x50]
mov edi, 1
cmp dword [rsp + 0xa0], edi
jb 0x140432d19
test rsi, rsi
je 0x140432d0a
cmp dword [rbx + 8], 0
jne 0x140432d0a
or r8d, 0xffffffff
mov rdx, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rsi
call fcn.1402d73d0
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140432cfc
cmp eax, 0xffffffff
je 0x140432d0a
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140432d0a
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
add rbx, 0x18
inc edi
cmp edi, dword [rsp + 0xa0]
jbe 0x140432cb2
mov rcx, qword [rsp + 0x50]
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebp, 0xea
je 0x140432c50
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 0x1404381f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
cmp rdx, 0x20
jb 0x140438277
mov qword [rsp + 0x10], rbx
lea r11, [r8 + 0x10]
mov qword [rsp], rdi
mov rbx, r10
sub rbx, r8
mov edi, select
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 0x140438220
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
lea rax, [rcx + 0x10]
cmp rax, rdx
ja 0x1404382a1
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 0x1404382d3
sub r10, r8
lea rax, [rcx + r8]
neg r8
cmp r9, 0x10
jae 0x1404382d3
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 0x1404382b0
mov rax, rdx
add rsp, 8
ret
Function at 0x1404409c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor edi, edi
mov rcx, qword [rcx]
mov rbx, rdx
test rcx, rcx
jne 0x1404409e9
mov dword [rdx], edi
mov rax, rdx
mov byte [rdx + 4], dil
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x68], rbp
lea r9, [rsp + 0x78]
mov rbp, qword [r8 + 8]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140440a68
cmp dword [rsp + 0x78], 4
jne 0x140440a68
mov rcx, qword [rsi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbp, qword [rsp + 0x68]
test eax, eax
mov eax, dword [rsp + 0x60]
sete cl
mov dword [rbx], eax
mov byte [rbx + 4], cl
mov rax, rbx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov dword [rbx], edi
mov byte [rbx + 4], dil
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140440a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
lea rbp, [0x1400495e0]
mov qword [rax - 0x28], rbp
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140440ac4
mov qword [rdx], rbp
jmp 0x140440c3f
mov rsi, qword [r8 + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140440c3c
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x140440c3c
mov edx, dword [rsp + 0x98]
cmp edx, 2
jbe 0x140440c3c
shr edx, 1
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140363730
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax], 1
ja 0x140440b33
cmp qword [rax + 0x10], 0x18
je 0x140440b4a
mov edx, dword [rax + 4]
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14036a620
mov rax, qword [rsp + 0x38]
mov r8, qword [rax + 0x10]
add r8, rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or ebx, 0xffffffff
test eax, eax
jne 0x140440bac
mov word [rsp + 0x80], r14w
lea r8d, [rbx + 2]
movzx edx, r14w
lea rcx, [rsp + 0x38]
call fcn.140367330
test al, al
je 0x140440be9
lea edx, [rbx + 2]
lea rcx, [rsp + 0x38]
call fcn.1403666f0
jmp 0x140440be9
mov rcx, qword [rsp + 0x38]
cmp rcx, rbp
je 0x140440be9
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbp
mov eax, dword [rcx]
test eax, eax
je 0x140440bdb
cmp eax, 0xffffffff
je 0x140440be9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140440be9
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rax, qword [rsp + 0x38]
mov qword [rdi], rax
mov rcx, rbp
mov qword [rsp + 0x38], rcx
mov eax, dword [0x1400495e0]
test eax, eax
je 0x140440c1c
cmp eax, 0xffffffff
je 0x140440c2b
mov eax, ebx
lock xadd dword [0x1400495e0], eax
cmp eax, 1
jne 0x140440c2b
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov eax, dword [0x1400495e0]
test eax, eax
je 0x140440c5e
cmp eax, 0xffffffff
je 0x140440c70
jmp 0x140440c51
mov qword [rdi], rbp
mov eax, dword [0x1400495e0]
test eax, eax
je 0x140440c5e
cmp eax, 0xffffffff
je 0x140440c70
or ebx, 0xffffffff
lock xadd dword [0x1400495e0], ebx
cmp ebx, 1
jne 0x140440c70
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, rbp
call fcn.140379300
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140440fb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x1e0], 0
mov rdi, rdx
mov rbx, rcx
je 0x140440fea
mov rcx, qword [rcx + 0x1e0]
mov qword [rsp + 0x60], rdx
test rcx, rcx
je 0x1404410a1
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + select]
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 + 0x108]
test eax, eax
setne dil
cmp rcx, 0xffffffffffffffff
je 0x140441056
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x108], 0xffffffffffffffff
mov rcx, qword [rbx + 0x148]
cmp rcx, 0xffffffffffffffff
je 0x140441074
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x148], 0xffffffffffffffff
mov rcx, qword [rbx + 0x180]
cmp rcx, 0xffffffffffffffff
je 0x140441092
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x180], 0xffffffffffffffff
movzx eax, dil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.1404de820
int3
Function at 0x140442660
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 [0x14057c500]
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.140426000
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140425e70
mov ebx, dword [rsp + 0x40]
call fcn.140388940
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, [0x1400a9410]
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.140444030
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 0x14044277a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140442767
add edi, 0xffffffff
jne 0x1404426d0
lea rdx, [0x1400a9438]
mov ecx, eax
call fcn.14035c910
jmp 0x14044288d
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 0x1404427e0
lea rcx, [0x1400a9460]
call fcn.14035cac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14044288d
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 0x14044286d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x14044286d
cmp eax, 0x3e5
je 0x14044285f
lea rdx, [0x1400a9480]
mov ecx, eax
call fcn.14035c910
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 0x14044288d
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 0x140442886
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x14044288d
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1404e17d0
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 0x1404633d0
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r15, rcx
lea rax, [0x1400afd28]
mov qword [rcx], rax
or r14d, 0xffffffff
cmp byte [rcx + 0x98], 0
je 0x14046351f
mov rdx, qword [rcx + 0x90]
cmp dword [rdx + 4], 0
je 0x14046351f
mov rbx, qword [rdx + 0x10]
add rbx, rdx
mov rcx, rbx
call fcn.140464e00
nop
test rax, rax
je 0x14046351f
cmp byte [rbx + 0x18], 0
jne 0x14046351f
mov rcx, rbx
call fcn.140464e00
nop
test rax, rax
je 0x14046351f
lea rax, [0x1400495e0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14036dfa0
nop
mov rbx, rax
mov rcx, r15
call fcn.140466b00
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov ebx, eax
test eax, eax
je 0x1404634ef
mov rdx, qword [r15 + 0x90]
mov rcx, qword [rdx + 0x10]
add rcx, rdx
lea rdx, [rsp + 0x80]
call fcn.1404729e0
nop
mov rcx, rax
call fcn.14036dfa0
nop
mov r8, rax
lea rdx, [0x1400afe20]
mov ecx, ebx
call fcn.14035c910
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1404634e0
cmp eax, r14d
je 0x1404634ef
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404634ef
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140463510
cmp eax, 0xffffffff
je 0x14046351f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14046351f
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
xor r12d, r12d
mov esi, r12d
lea rbx, [r15 + 0x90]
mov rax, qword [rbx]
cmp dword [rax + 4], r12d
jle 0x1404635a4
mov ebp, r12d
mov rax, qword [rbx]
cmp dword [rax], 1
jbe 0x140463575
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x140463564
lea r9d, [rdx + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.140379150
nop
mov qword [rbx], rax
jmp 0x140463575
mov dword [rsp + 0x70], r12d
mov r8d, r12d
mov rcx, rbx
call fcn.140465c30
nop
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
add rdi, rbp
add rdi, rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140463592
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rdi + 8], r12
inc esi
add rbp, 0x20
mov rax, qword [rbx]
cmp esi, dword [rax + 4]
jl 0x140463538
mov rax, qword [rbx]
mov ecx, dword [rax]
test ecx, ecx
je 0x1404635bd
cmp ecx, 0xffffffff
je 0x1404635c9
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x1404635c9
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140464c90
nop
mov rcx, r15
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1403b7950
Function at 0x14047f690
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x14057c500]
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 0x14047f726
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rbx
call fcn.1403b1210
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14047f716
cmp eax, edi
je 0x14047f730
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14047f730
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x14047f730
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14047f7d0
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 [0x14057c500]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x14047f9af
sub r8d, 1
je 0x14047f93b
cmp r8d, 1
jne 0x14047fa17
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 0x14047f8d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14047f885
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14047fa17
call fcn.1405050f4
jmp 0x14047fa17
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.140431490
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 0x14047f868
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rdi
call fcn.1403b1210
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14047f90f
cmp eax, ebx
je 0x14047f91e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14047f91e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14047fa25
call fcn.1405050f4
jmp 0x14047fa25
mov r9d, reloc.WS2_32.dll_listen
lea r8, [rbp - 0x20]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14047fa17
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rdi
call fcn.1403b1210
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14047f99f
cmp eax, ebx
je 0x14047fa25
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14047fa25
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x14047fa25
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 0x14047fa17
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rdi
call fcn.1403b1210
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14047fa07
cmp eax, ebx
je 0x14047fa25
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14047fa25
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x14047fa25
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14047ffe0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x14057c500]
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 0x140480087
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1402d3550
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.14036d1d0
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1403b1460
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140480077
cmp eax, ebx
je 0x140480094
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140480094
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x140480094
mov edx, 1
mov rcx, rdi
call fcn.1403b1340
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1404800b0
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 0x14048011f
movsxd rcx, eax
add rcx, rcx
call fcn.140507b2c
mov r8, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x140480117
call fcn.14037e4c0
mov r8, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
mov dword [rbp - 0x49], eax
jmp 0x14048012e
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 0x14048014b
lea rax, [0x1400495e0]
mov qword [rbx], rax
jmp 0x1404801c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1404801b8
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 0x140480178
lea rax, [0x1400495e0]
mov qword [rbx], rax
jmp 0x1404801c9
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.140431490
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 0x1404801b8
lea rax, [0x1400495e0]
mov qword [rbx], rax
jmp 0x1404801c9
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1402d3550
nop
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
cmp rcx, rax
je 0x1404801db
call fcn.1405050f4
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
Function at 0x140480830
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rdx
mov dword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xb]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14048091b
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d3550
nop
mov dword [rsp + 0x30], 1
lea rax, [0x1400dd118]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140364270
test al, al
je 0x1404808ef
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.1403b1340
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1404808df
cmp eax, ebx
je 0x140480925
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140480925
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x140480925
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14048090d
cmp eax, 0xffffffff
je 0x14048091b
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14048091b
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
xor edx, edx
mov rcx, rdi
call fcn.1403b1340
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140480c90
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x14057c500]
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 + 0x29]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140480d26
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1402d3550
nop
mov rdx, rax
mov rcx, rbx
call fcn.1403b1210
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140480d16
cmp eax, edi
je 0x140480d30
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140480d30
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
jmp 0x140480d30
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret