joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b58f0
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]
mov rbx, rcx
mov dword [rbp - 0x40], 0x41
lea rsi, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor edx, edx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x50], rdx
mov rcx, rbx
mov qword [rbp - 0x58], rcx
mov r9, rsi
mov qword [rbp - 0x60], r9
xor r8d, r8d
mov dword [rbp - 0x48], r8d
lea rcx, [rbp - 0x88]
call fcn.140009510
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x48]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140009560
call sub.KERNEL32.dll_GetLastError
mov esi, eax
call fcn.140003fd4
mov dword [rax + 0xe0], esi
xor eax, eax
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400b5c30
Capabilities:
Write file on windows

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 rsi, qword [rdx]
mov edi, dword [rdx + 8]
test edi, edi
je 0x1400b5cf0
mov qword [rbp - 0x40], rsi
test r8b, r8b
je 0x1400b5d26
lea r14, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov qword [rbp - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov r8d, edi
mov dword [rbp - 0x54], r8d
mov r9, r14
mov qword [rbp - 0x6c], r9
lea rcx, [rbp - 0x98]
call fcn.140009510
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.KERNEL32.dll_WriteFile
mov edi, eax
lea rcx, [rbp - 0x98]
call fcn.140009560
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
call fcn.140003fd4
mov dword [rax + 0xe0], ebx
xor ebx, ebx
test edi, edi
setne bl
xor r8d, r8d
mov qword [rbp - 0x40], r8
test ebx, ebx
je 0x1400b5cf4
xor eax, eax
jmp 0x1400b5d12
call fcn.140003fd4
mov eax, dword [rax + 0xe0]
cmp eax, 0xe8
je 0x1400b5cf0
cmp eax, 0x6d
je 0x1400b5cf0
cmp eax, 0xe9
je 0x1400b5cf0
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor r8d, r8d
mov qword [rsp + 0x20], r8
mov r8d, edi
shr r8d, 1
lea r9, [rbp - 0x50]
mov rcx, rbx
mov rdx, rsi
call fcn.1400b5440
mov ebx, eax
jmp 0x1400b5ce5
Function at 0x1400bed00
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
xor r15d, r15d
cmp byte [rbp + 0x30], 0
setne r15b
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rsi
test r14, r14
je 0x1400bed7b
add r14, 0xc
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r13, r9
mov qword [rbp - 0x60], r8
mov r12, r8
test rcx, rcx
je 0x1400bed80
add rcx, 0xc
mov rax, rcx
jmp 0x1400bed82
xor r14d, r14d
jmp 0x1400bed5b
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
mov r8, r12
mov qword [rbp - 0x88], r8
mov r9, r13
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.140009510
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140009560
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140003fd4
mov dword [rax + 0xe0], esi
movzx eax, bl
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400bf5b0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov r14d, r9d
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov byte [rbp - 0x5c], 0
lea rcx, [0x1404e7808]
call fcn.14046b0b0
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
lea rcx, [0x1404e7808]
call fcn.14046b0b0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x7c], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x84], rdx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9d, r14d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0xb8]
call fcn.140009510
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8, qword [rbp - 0x8c]
mov r9d, dword [rbp - 0x74]
call sub.KERNEL32.dll_CreatePipe
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140009560
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x3c], 1
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x5c], 1
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x48]
mov byte [rbp - 0x60], 1
mov r8, qword [rbp - 0x70]
mov qword [r8 + 8], rcx
test ebx, ebx
setne bl
movzx ebx, bl
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.140009300
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
call fcn.140009300
nop
call fcn.140003fd4
mov dword [rax + 0xe0], esi
movzx eax, bl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c5720
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1404ede80]
cmp qword [rcx - 8], 0
jne 0x1400c575e
mov rcx, rbx
call fcn.1400c5320
test eax, eax
jne 0x1400c574c
add rsp, 0x20
pop rbx
jmp fcn.1400c6a60
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.1400c69e0
call fcn.14000115c
jmp 0x1400c5736
Function at 0x140189180
Capabilities:
Encode data using xor

Disassembly:
push rax
xor eax, eax
mov qword [rsp], rax
mov dword [rsp + 0x18], edx
mov rax, qword [rcx]
mov qword [rsp], rax
movsxd rdx, dword [rcx + 8]
lea r10, [rax + rdx]
cmp rdx, 4
jl 0x1401891f9
mov r9d, dword [rsp + 0x18]
lea ecx, [r8*8]
ror r9d, cl
cmp rdx, 0x10
jl 0x1401891da
movd xmm0, r9d
pshufd xmm0, xmm0, 0
movups xmm1, xmmword [rax]
pxor xmm1, xmm0
movups xmmword [rax], xmm1
add rax, 0x10
mov rcx, r10
sub rcx, rax
cmp rcx, 0x10
jge 0x1401891c0
mov rcx, r10
sub rcx, rax
cmp rcx, 4
jl 0x1401891f9
xor dword [rax], r9d
add rax, 4
mov rcx, r10
sub rcx, rax
cmp rcx, 4
jge 0x1401891e6
lea rcx, [rsp + 0x18]
cmp rax, r10
je 0x14018922e
nop dword [rax + rax]
nop dword [rax + rax]
mov rdx, rax
lea rax, [rdx + 1]
movsxd r9, r8d
movzx r9d, byte [rcx + r9]
xor byte [rdx], r9b
inc r8d
and r8d, 3
cmp rax, r10
jne 0x140189210
xor eax, eax
mov qword [rsp], rax
mov eax, r8d
add rsp, 8
ret

Function at 0x1401924a0
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.140009510
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.140009560
test ebx, ebx
jne 0x140192514
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x14019253b
lea rcx, [0x140512bc0]
call fcn.140009080
mov rbx, rax
mov rcx, rbx
call fcn.1401c83a0
mov rcx, rbx
call fcn.140009670
lea rcx, [0x140512180]
call fcn.140009080
mov rbx, rax
mov rcx, rbx
call fcn.1401c2540
mov rcx, rbx
call fcn.140009670
int3

Function at 0x140192b20
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 0x140192b3d
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.140273f80
mov ecx, eax
test ecx, ecx
jne 0x140192bca
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.140273e30
mov ecx, eax
lea rdx, [0x1404816e0]
call fcn.140236d80
mov rcx, rax
call fcn.140009670
int3
Function at 0x1401aad00
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 ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1401aae9a
lea r14, [0x14069f670]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x1401aaf08
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1401aadfb
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
jne 0x1401aaf5a
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
or r12d, eax
test r12d, r12d
jl 0x1401aaeee
movsxd rax, ebp
add rax, r11
mov edx, r12d
sar edx, 0x10
mov byte [rax], dl
mov edx, r12d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r12b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x1401aad65
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x1401aaeee
cmp edi, ebx
je 0x1401aaeee
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 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 0x1401aaeee
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
jne 0x1401aaf11
cmp r9d, 0x3d
jne 0x1401aaeb7
test eax, eax
jl 0x1401aaeee
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x1401aaeee
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x1401aaeee
mov dword [r8], edi
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
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x1401aaeee
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1401aaeee
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1401aae93
mov dword [r8], edi
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
lea r15d, [rbx - 4]
jmp 0x1401aad5c
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 0x1401aaeee
add esi, 0xfffffffd
cmp ebp, esi
jg 0x1401aaeee
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 0x1401aae93
mov r12d, 0xffffffff
jmp 0x1401aadc8
Function at 0x1401abbc0
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, [0x140690d00]
mov qword [rsp], rsi
cmp r8d, r9d
jge 0x1401abcdb
movzx edi, r11b
test edi, edi
jne 0x1401abdeb
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 0x1401abc12
mov r8d, r9d
movzx edi, r11b
test edi, edi
jne 0x1401abe18
cmp edx, 1
je 0x1401abd9a
cmp edx, 2
jne 0x1401abd87
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 0x1401abd78
cmp ebx, 0x4c
jne 0x1401abe10
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], SafeArrayGetElemsize
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 0x1401abc1a
test edx, edx
je 0x1401abcea
cmp ebx, 0x4c
jne 0x1401abcea
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], SafeArrayGetElemsize
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], 0xa
jmp 0x1401abcea
Function at 0x1401c0f90
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [rbx + 0x1c]
mov edi, esi
and edi, 3
cmp esi, 4
jb 0x1401c100c
mov eax, dword [rbx]
rol eax, 1
mov ecx, dword [rbx + 4]
rol ecx, 7
add eax, ecx
mov ecx, dword [rbx + 8]
rol ecx, 0xc
add eax, ecx
mov ecx, dword [rbx + 0xc]
rol ecx, 0x12
add eax, ecx
lea eax, [rax + rsi*4]
test edi, edi
je 0x1401c0fe2
imul ecx, dword [rbx + 0x10], 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edi, 1
ja 0x1401c1024
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x1404ee498]
cmp qword [rbp - 8], 0
jne 0x1401c104f
mov eax, dword [rbp]
add eax, 0x165667b1
jmp 0x1401c0fc4
imul ecx, dword [rbx + 0x14], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
cmp edi, 2
jbe 0x1401c0fe2
imul ecx, dword [rbx + 0x18], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
jmp 0x1401c0fe2
call fcn.1400014fc
jmp 0x1401c101a
Function at 0x1401d8020
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, [0x1404ee558]
cmp qword [rsi - 8], 0
jne 0x1401d824d
cmp byte [rsi], 0
jne 0x1401d825b
movzx r8d, word [rbp + 0x20]
mov rcx, rbx
mov rdx, qword [rbp + 0x18]
call fcn.1401d6c70
mov esi, eax
test esi, esi
je 0x1401d8226
cmp byte [rbx + 0x90], 0
je 0x1401d8226
movzx eax, word [rbp + 0x20]
add eax, 0xfffffff3
cmp eax, 8
ja case.default.0x1401d80ba
lea rcx, [0x1406a2ef0]
mov ecx, dword [rcx + rax*4]
lea rdx, [0x1401d8057]
add rcx, rdx
jmp rcx
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x18]
call fcn.1401d8660
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 0x1401d823f
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.140009510
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.140009560
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 0x1401d8246
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.140009510
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.140009560
xor ecx, ecx
mov qword [rbp - 0x58], rcx
movzx ecx, word [rbp - 0x50]
movzx edx, word [rbp + 0x20]
cmp ecx, edx
jne 0x1401d8226
mov rcx, qword [rbp + 0x18]
mov edx, 0x1f
call fcn.1401e2290
mov rcx, rax
call fcn.1401e2500
mov rbx, rax
mov rcx, qword [rbp + 0x18]
mov edx, 0x20
call fcn.1401e2290
mov rcx, rax
call fcn.1401e2500
mov rdi, rax
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov rcx, rbx
call fcn.1401d8290
mov rbx, qword [rbp + 0x10]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.1401d8290
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 0x1401d80ed
xor ecx, ecx
jmp 0x1401d8174
call fcn.1400015aa
cmp byte [rsi], 0
je 0x1401d8072
movzx r8d, word [rbp + 0x20]
mov rcx, rbx
mov rdx, qword [rbp + 0x18]
call fcn.1401d8390
mov ecx, eax
jmp 0x1401d8228
insb byte [rdi], dx
out 0xfb, eax
Function at 0x1401d8720
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, [0x1405687f8]
call fcn.140009080
mov r15, rax
mov rcx, qword [0x140850bf8]
mov rdx, qword [rcx + 8]
lea rcx, [r15 + 8]
call fcn.140009290
mov qword [rbp - 0x40], r15
test edi, edi
je 0x1401d886f
test edi, 0x80000000
jne 0x1401d886f
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rbx, rbx
je 0x1401d87a7
mov qword [rbp + 0x10], rbx
lea rcx, [rbx + 0xc]
jmp 0x1401d87ad
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.140009510
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.140009560
xor ecx, ecx
mov qword [rbp - 0x58], rcx
movzx ecx, word [rbp - 0x50]
movzx edx, r14w
cmp ecx, edx
jne 0x1401d885d
mov rcx, qword [rbp + 0x10]
mov edx, edi
call fcn.1401e2290
test rax, rax
je 0x1401d8857
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 0x1401d8863
lea r10d, [r8 + 1]
mov dword [rcx + 0x10], r10d
mov ecx, r8d
lea rcx, [rdx + rcx*8 + 0x10]
mov rdx, rax
call fcn.140009290
mov rbx, qword [rbp + 0x10]
jmp 0x1401d886f
mov rbx, qword [rbp + 0x10]
jmp 0x1401d886f
mov rbx, qword [rbp + 0x10]
jmp 0x1401d886f
mov rdx, rax
call fcn.1403d3220
mov rbx, qword [rbp + 0x10]
xor r9d, r9d
test rbx, rbx
je 0x1401d887d
add rbx, 0xc
jmp 0x1401d887f
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, [0x1401d7ec0]
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.140009510
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.140009560
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov rcx, qword [rbp - 0x40]
cmp dword [rcx + 0x10], 0
jne 0x1401d88f6
xor ecx, ecx
mov rbx, qword [rbp + 0x30]
mov qword [rbx], rcx
jmp 0x1401d8938
mov rbx, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1403d3c80
mov rdi, rax
cmp esi, 0x39
je 0x1401d8912
cmp esi, 4
jne 0x1401d8928
mov r9d, dword [rdi + 8]
mov rdx, rdi
lea rcx, [0x1404e7db8]
xor r8d, r8d
call fcn.14046bcc0
mov rcx, rbx
mov rdx, rdi
call fcn.140009300
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