joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ddc0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x48]
test rcx, rcx
jne 0x14007ddf5
xor ecx, ecx
jmp 0x14007de01
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp - 0x40]
test rdx, rdx
jne 0x14007de0a
xor edx, edx
jmp 0x14007de16
add rdx, 0xc
mov qword [rbp - 0x48], rdx
mov rdx, qword [rbp - 0x48]
xor r10d, r10d
cmp byte [rbp + 0x30], 0
setne r10b
test rax, rax
jne 0x14007de2b
xor r11d, r11d
jmp 0x14007de37
add rax, 0xc
mov qword [rbp - 0x50], rax
mov r11, qword [rbp - 0x50]
mov dword [rsp + 0x20], r10d
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r11
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140004640
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.140004690
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14007f3a0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x30]
mov r10, qword [rbp + 0x40]
mov r11, qword [rbp + 0x50]
test rdx, rdx
je 0x14007f3eb
cmp dword [rdx + 8], 0
je 0x14007f3eb
add rdx, 0x10
mov qword [rbp - 0x40], rdx
mov rdx, qword [rbp - 0x40]
test rax, rax
je 0x14007f402
cmp dword [rax + 8], 0
je 0x14007f402
add rax, 0x10
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
test r10, r10
je 0x14007f41a
cmp dword [r10 + 8], 0
je 0x14007f41a
add r10, 0x10
mov qword [rbp - 0x50], r10
mov r10, qword [rbp - 0x50]
mov qword [rbp - 0x58], r11
mov esi, dword [rbp + 0x38]
mov edi, dword [rbp + 0x48]
mov ebx, dword [rbp + 0x58]
mov dword [rsp + 0x48], ebx
mov qword [rbp - 0x64], rcx
mov qword [rbp - 0x6c], rdx
mov dword [rbp - 0x5c], r8d
mov qword [rbp - 0x74], r9
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x40], r11
lea rcx, [rbp - 0xa0]
call fcn.140004640
mov rcx, qword [rbp - 0x64]
mov rdx, qword [rbp - 0x6c]
mov r8d, dword [rbp - 0x5c]
mov r9, qword [rbp - 0x74]
call sub.bcrypt.dll_BCryptDecrypt
mov esi, eax
lea rcx, [rbp - 0xa0]
call fcn.140004690
mov eax, esi
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400a4020
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x20
mov esi, ecx
cmp edx, 0xffffffff
jne 0x1400a403b
mov edi, 0xd5313557
jmp 0x1400a40eb
mov ecx, edx
call fcn.1400a3f20
mov rdi, rax
test rdi, rdi
je 0x1400a4108
mov ebx, dword [rdi + 8]
test ebx, ebx
je 0x1400a4108
lea edx, [rbx + 0x14]
lea rcx, [0x1402364c8]
call fcn.140004290
mov rbp, rax
mov r14d, dword [rbp + 8]
cmp r14d, 0x12
jl 0x1400a4170
lea rcx, [rbp + 0xc]
lea rdx, [0x140304628]
add rdx, 0xc
mov r8d, 0x24
call fcn.1400aeb60
lea r8d, [r14 - 0x12]
cmp ebx, r8d
jg 0x1400a418f
lea rcx, [rbp + 0x30]
lea rdx, [rdi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.1400aeb60
add ebx, 0x12
sub r14d, ebx
cmp r14d, 2
jl 0x1400a41ae
movsxd rcx, ebx
lea rcx, [rbp + rcx*2 + 0xc]
lea rdx, [0x140307478]
add rdx, 0xc
mov r8d, 4
call fcn.1400aeb60
mov rcx, rbp
call fcn.1400a3eb0
mov edi, eax
mov eax, edi
rol eax, 0xd
add eax, edi
mov edi, eax
xor edi, esi
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
lea rcx, [0x1402364c8]
mov edx, 0x14
call fcn.140004290
mov rbx, rax
mov edi, dword [rbx + 8]
cmp edi, 0x12
jl 0x1400a41cd
lea rcx, [rbx + 0xc]
lea rdx, [0x140304628]
add rdx, 0xc
mov r8d, 0x24
call fcn.1400aeb60
sub edi, 0x12
cmp edi, 2
jl 0x1400a41ec
lea rcx, [rbx + 0x30]
lea rdx, [0x140307478]
add rdx, 0xc
mov r8d, 4
call fcn.1400aeb60
mov rcx, rbx
jmp 0x1400a40e4
lea rcx, [0x140237fa0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400cd1c0
mov rcx, rsi
call fcn.140004cb0
lea rcx, [0x140237fa0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400cd1c0
mov rcx, rsi
call fcn.140004cb0
lea rcx, [0x140237fa0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400cd1c0
mov rcx, rsi
call fcn.140004cb0
lea rcx, [0x140237fa0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400cd1c0
mov rcx, rsi
call fcn.140004cb0
lea rcx, [0x140237fa0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400cd1c0
mov rcx, rsi
call fcn.140004cb0
int3

Function at 0x1400ad580
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.140004640
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 esi, eax
lea rcx, [rbp - 0x78]
call fcn.140004690
test esi, esi
jne 0x1400ad5f4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x1400ad61b
lea rcx, [0x140238db0]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400dacf0
mov rcx, rsi
call fcn.140004cb0
lea rcx, [0x140238598]
call fcn.1400041d0
mov rsi, rax
mov rcx, rsi
call fcn.1400ce5a0
mov rcx, rsi
call fcn.140004cb0
int3
Function at 0x1400adba0
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 0x1400adbbd
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.14015d120
mov ecx, eax
test ecx, ecx
jne 0x1400adc35
xor eax, eax
test byte [rbp - 0x10], 0x30
jne 0x1400adbee
mov eax, 0x40000000
test byte [rbp - 0x10], 2
je 0x1400adbf9
or eax, 0x80000000
test dword [rbp - 0x10], 0x800
je 0x1400adc07
or eax, 0x10000000
test byte [rbp - 0x10], 4
je 0x1400adc12
or eax, 0x8000000
test dword [rbp - 0x10], 0x1000
je 0x1400adc20
or eax, 0x4000000
test byte [rbp - 0x10], 8
je 0x1400adc2b
or eax, 0x20000000
mov dword [rsi + 0x40], eax
add rsp, 0x48
pop rsi
pop rbp
ret
call fcn.14015d0b0
mov ecx, eax
lea rdx, [0x1402f3008]
call fcn.140129480
mov rcx, rax
call fcn.140004cb0
int3

Function at 0x1400b7950
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x140315c00]
mov qword [rbp], rax
mov rsi, rcx
mov edi, dword [rsi + 8]
xor ebx, ebx
cmp edi, 0x40
jae 0x1400b79a3
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x1400b79cd
call fcn.140002938
mov rcx, qword [rax + 8]
lea edx, [rdi + 1]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
test rbx, rbx
jne 0x1400b79c5
xor r14d, r14d
xor r15d, r15d
jmp 0x1400b79cd
lea r14, [rbx + 0x10]
mov r15d, dword [rbx + 8]
lea rcx, [rsi + 0xc]
mov edx, dword [rsi + 8]
mov edx, edi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.1400fdac0
cmp edi, r15d
jae 0x1400b7abc
mov eax, edi
mov word [r14 + rax*2], 0
mov esi, 0x15051505
mov r12d, 0x15051505
xor eax, eax
test r15d, r15d
je 0x1400b7a19
mov rax, r14
mov qword [rbp + 0x28], rax
cmp edi, 2
jle 0x1400b7a54
add edi, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rax]
or edx, 0x200020
xor esi, edx
mov edx, r12d
rol edx, 5
add r12d, edx
mov edx, dword [rax + 4]
or edx, 0x200020
xor r12d, edx
add rax, 8
cmp edi, 2
jg 0x1400b7a22
test edi, edi
jle 0x1400b7a6e
mov edx, r12d
rol edx, 5
add edx, r12d
mov r12d, dword [rax]
or r12d, 0x200020
xor r12d, edx
xor eax, eax
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x1400b7a8e
call fcn.140002938
mov rcx, qword [rax + 8]
mov rdx, rbx
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
imul eax, r12d, 0x5d588b65
add eax, esi
lea rcx, [0x140315c00]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x1400b7aac
call fcn.140004a10
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.140159920
int3
Function at 0x1400bdab0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov edi, dword [rcx + 4]
call fcn.1401568d0
test rax, rax
jne 0x1400bdacb
xor ebx, ebx
jmp 0x1400bdaec
mov rcx, rax
mov edx, 2
xor r8d, r8d
call fcn.14016b730
mov edx, eax
and edx, 7
and eax, 0xffffff00
shr eax, 5
or edx, eax
mov ebx, edx
add ebx, 0x10
sub edi, ebx
xor eax, eax
xor edx, edx
mov ecx, edi
sar ecx, 0x1f
and ecx, 3
add ecx, edi
sar ecx, 2
test ecx, ecx
jle 0x1400bdb1a
mov r8d, edx
shl r8d, 2
movsxd r8, r8d
xor eax, dword [rsi + r8]
inc edx
cmp ecx, edx
jg 0x1400bdb06
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400e7210
Capabilities:
Hash data using sha1

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp qword [rsi], 0
jne 0x1400e723a
lea rcx, [0x140281808]
mov edx, 0x55
call fcn.1400042f0
mov rdx, rax
mov rcx, rsi
call fcn.140004510
xor eax, eax
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], eax
mov rax, qword [rsi]
cmp dword [rax + 8], 0x50
jbe 0x1400e72a8
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rsi]
cmp dword [rax + 8], 0x51
jbe 0x1400e72a8
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rsi]
cmp dword [rax + 8], 0x52
jbe 0x1400e72a8
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rsi]
cmp dword [rax + 8], 0x53
jbe 0x1400e72a8
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rsi]
cmp dword [rax + 8], 0x54
jbe 0x1400e72a8
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rsi
ret
call fcn.140159920
int3
Function at 0x1400e9f70
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 rsi, rcx
call fcn.14000120b
cmp byte [rax], 0
je 0x1400e9fca
mov r8d, dword [rbp + 0x20]
movzx r8d, r8w
mov rcx, rsi
mov rdx, qword [rbp + 0x18]
call fcn.1400ea2b0
jmp 0x1400ea199
mov r8d, dword [rbp + 0x20]
movzx r8d, r8w
mov rcx, rsi
mov rdx, qword [rbp + 0x18]
call fcn.1400e8c90
mov edi, eax
test edi, edi
je 0x1400ea197
cmp byte [rsi + 0x90], 0
je 0x1400ea197
mov ecx, dword [rbp + 0x20]
movzx eax, cx
add eax, 0xfffffff3
cmp eax, 8
ja 0x1400ea01b
mov edx, 0x1fd
bt edx, eax
jb 0x1400ea015
mov word [rbp + 0x20], 3
jmp 0x1400ea01b
mov word [rbp + 0x20], 2
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x18]
call fcn.1400ea580
mov rcx, qword [rbp + 0x18]
mov edx, dword [rbp + 0x20]
movzx edx, dx
mov qword [rbp + 0x10], rsi
lea r8, [rsi + 0x88]
test rcx, rcx
je 0x1400ea048
add rcx, 0xc
jmp 0x1400ea04a
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], r8
xor r9d, r9d
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x28], r9d
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x5c], edx
mov qword [rsp + 0x30], r8
xor r8d, r8d
mov qword [rbp - 0x70], r8
mov r9d, 0x20000030
mov dword [rbp - 0x60], r9d
lea rcx, [rbp - 0x98]
call fcn.140004640
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 esi, eax
lea rcx, [rbp - 0x98]
call fcn.140004690
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], rcx
xor ecx, ecx
test esi, esi
setne cl
and edi, ecx
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov dword [rbp - 0x50], r8d
test rcx, rcx
je 0x1400ea0db
add rcx, 0xc
jmp 0x1400ea0dd
xor ecx, ecx
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.140004640
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.140004690
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp - 0x50]
movzx ecx, cx
mov edx, dword [rbp + 0x20]
movzx edx, dx
cmp ecx, edx
jne 0x1400ea197
mov rcx, qword [rbp + 0x18]
mov edx, 0x1f
call fcn.1400f29b0
mov rcx, rax
call fcn.1400f2b90
mov rsi, rax
mov rcx, qword [rbp + 0x18]
mov edx, 0x20
call fcn.1400f29b0
mov rcx, rax
call fcn.1400f2b90
mov rbx, rax
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov rcx, rsi
call fcn.1400ea1b0
mov rsi, qword [rbp + 0x10]
lea rdx, [rsi + 0x20]
mov rcx, rbx
call fcn.1400ea1b0
mov eax, edi
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400ea640
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 rsi, rcx
mov r14d, edx
mov edi, r8d
mov ebx, r9d
lea rcx, [0x140254208]
call fcn.1400041d0
mov r15, rax
call fcn.1400027ff
mov rdx, qword [rax + 8]
lea rcx, [r15 + 8]
call fcn.1400044e0
mov qword [rbp - 0x40], r15
test ebx, ebx
je 0x1400ea793
test ebx, 0x80000000
jne 0x1400ea793
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rsi, rsi
je 0x1400ea6c5
mov qword [rbp + 0x10], rsi
lea rcx, [rsi + 0xc]
jmp 0x1400ea6cb
xor ecx, ecx
mov qword [rbp + 0x10], rsi
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.140004640
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.140004690
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp - 0x50]
movzx ecx, cx
movzx edx, r14w
cmp ecx, edx
jne 0x1400ea781
mov rcx, qword [rbp + 0x10]
mov edx, ebx
call fcn.1400f29b0
test rax, rax
je 0x1400ea77b
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 r9d, dword [rdx + 8]
cmp r9d, r8d
jbe 0x1400ea787
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rdx + rcx*8 + 0x10]
mov rdx, rax
call fcn.1400044e0
mov rsi, qword [rbp + 0x10]
jmp 0x1400ea793
mov rsi, qword [rbp + 0x10]
jmp 0x1400ea793
mov rsi, qword [rbp + 0x10]
jmp 0x1400ea793
mov rdx, rax
call fcn.1401aad10
mov rsi, qword [rbp + 0x10]
lea rdx, [rbp - 0x48]
test rsi, rsi
je 0x1400ea7a2
add rsi, 0xc
jmp 0x1400ea7a4
xor esi, esi
mov qword [rbp - 0x60], rsi
movzx r8d, r14w
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rdx
mov rdx, rsi
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x68], r8d
mov qword [rbp - 0x70], r9
lea rcx, [0x1400e9e10]
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.140004640
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.140004690
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x60], rcx
mov rcx, qword [rbp - 0x40]
cmp dword [rcx + 0x10], 0
jne 0x1400ea81e
xor ecx, ecx
mov rsi, qword [rbp + 0x30]
mov qword [rsi], rcx
jmp 0x1400ea85e
mov rsi, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
call fcn.1401ab320
mov rbx, rax
cmp edi, 0x39
je 0x1400ea838
cmp edi, 4
jne 0x1400ea84e
mov r9d, dword [rbx + 8]
mov rdx, rbx
lea rcx, [0x14021e788]
xor r8d, r8d
call fcn.1401bfbb0
mov rcx, rsi
mov rdx, rbx
call fcn.140004510
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 0x1400ea9c0
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 + 0x48], rax
mov rax, qword [0x140315c00]
mov qword [rbp + 0x40], rax
mov rdi, rcx
mov ebx, edx
mov rsi, r8
call fcn.14000120b
cmp byte [rax], 0
je 0x1400eaa0b
movzx edx, bl
mov rcx, rdi
mov r8, rsi
call fcn.1400eac00
jmp 0x1400eabb3
mov rcx, rdi
mov qword [rbp + 0xb0], rsi
mov rdx, rsi
call fcn.1400e8ef0
mov r14d, eax
test bl, bl
je 0x1400eabb0
xor ecx, ecx
mov dword [rbp + 0x50], ecx
test rdi, rdi
je 0x1400eaa38
add rdi, 0xc
jmp 0x1400eaa3a
xor edi, edi
mov qword [rbp + 0x48], rdi
mov rcx, rdi
mov qword [rbp + 0x30], rcx
lea r8, [rbp + 0x50]
mov qword [rbp + 0x28], r8
mov edx, 0x20001009
mov dword [rbp + 0x3c], edx
mov r9d, 4
mov dword [rbp + 0x38], r9d
lea rcx, [rbp]
call fcn.140004640
mov rcx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x28]
mov edx, dword [rbp + 0x3c]
mov r9d, dword [rbp + 0x38]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp]
call fcn.140004690
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400eabb0
movzx r9d, ax
mov rsi, qword [rbp + 0xb0]
mov edi, dword [rsi + 8]
test edi, edi
je 0x1400eabeb
movzx ebx, word [rsi + 0x10]
cmp r9d, ebx
je 0x1400eabb0
mov r15d, 1
cmp edi, 1
jle 0x1400eaadd
mov eax, r15d
movzx eax, word [rsi + rax*2 + 0x10]
cmp eax, r9d
je 0x1400eaae4
inc r15d
cmp edi, r15d
jg 0x1400eaac8
cmp edi, r14d
jg 0x1400eaaf9
jmp 0x1400eaafc
mov word [rsi + 0x10], r9w
mov eax, r15d
mov word [rsi + rax*2 + 0x10], bx
mov eax, r14d
jmp 0x1400eabb3
inc r14d
mov eax, r14d
mov r8d, 2
mul r8
jb 0x1400eabda
mov r15, rax
test r15, r15
je 0x1400eab53
mov rcx, r15
add rcx, 0xf
and rcx, 0xfffffffffffffff0
add rsp, 0x20
neg rcx
add rcx, rsp
jb 0x1400eab2f
xor ecx, ecx
test dword [rsp], esp
mov r8, rsp
sub r8, 0x1000
mov rsp, r8
cmp rsp, rcx
jae 0x1400eab2f
mov rsp, rcx
test dword [rsp], esp
sub rsp, 0x20
lea r15, [rsp + 0x20]
test r14d, r14d
jl 0x1400eabdf
mov r8d, r14d
test r14d, r14d
je 0x1400eabeb
mov word [r15], r9w
dec r8d
cmp edi, r8d
jb 0x1400eabdf
lea rdx, [rsi + 0x10]
cmp r14d, 1
jb 0x1400eabdf
lea rcx, [r15 + 2]
lea eax, [r14 - 1]
cmp r8d, eax
ja 0x1400eabe5
mov r8d, r8d
add r8, r8
call fcn.1400aeb60
add rsi, 0x10
mov rcx, rsi
cmp r14d, edi
ja 0x1400eabe5
mov r8d, r14d
add r8, r8
mov rdx, r15
call fcn.1400aeb60
mov eax, r14d
lea rcx, [0x140315c00]
mov rcx, qword [rcx]
cmp qword [rbp + 0x40], rcx
je 0x1400eabc8
call fcn.140004a10
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1401598f0
call fcn.1400dd1e0
int3
call fcn.1400dd210
int3
call fcn.140159920
int3
Function at 0x1400eac00
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 qword [rbp + 0x20], r8
mov rdi, rcx
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
lea rcx, [0x14025e500]
call fcn.1400041d0
mov r14, rax
call fcn.1400029c5
mov rdx, qword [rax + 8]
lea rcx, [r14 + 8]
call fcn.1400044e0
mov qword [rbp - 0x48], r14
test bl, bl
je 0x1400ead21
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rdi, rdi
je 0x1400eac7d
mov qword [rbp + 0x10], rdi
lea rcx, [rdi + 0xc]
jmp 0x1400eac83
xor ecx, ecx
mov qword [rbp + 0x10], rdi
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.140004640
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.140004690
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov edx, dword [rbp - 0x50]
test edx, edx
je 0x1400ead12
mov dword [rbp - 0x40], edx
mov rcx, qword [rbp - 0x48]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
mov r9d, dword [rax + 8]
cmp r9d, r8d
jbe 0x1400ead18
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
mov dword [rax + rcx*4 + 0x10], edx
mov rdi, qword [rbp + 0x10]
jmp 0x1400ead21
mov rdi, qword [rbp + 0x10]
jmp 0x1400ead21
call fcn.140193930
mov rdi, qword [rbp + 0x10]
lea r9, [rbp - 0x48]
test rdi, rdi
je 0x1400ead30
add rdi, 0xc
jmp 0x1400ead32
xor edi, edi
mov qword [rbp - 0x60], rdi
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], r9
mov r9, rcx
mov qword [rbp - 0x78], r9
mov qword [rbp - 0x70], rdx
lea rcx, [0x1400e9ee0]
mov qword [rbp - 0x80], rcx
mov r8d, 0xffffffff
mov dword [rbp - 0x68], r8d
lea rcx, [rbp - 0xa8]
call fcn.140004640
mov r9, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
mov r8d, dword [rbp - 0x68]
call sub.KERNEL32.dll_EnumCalendarInfoExEx
lea rcx, [rbp - 0xa8]
call fcn.140004690
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp + 0x20]
mov edx, dword [rsi + 8]
jmp 0x1400eadd2
mov rcx, qword [rbp - 0x48]
cmp eax, r8d
jae 0x1400eae05
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 8]
jae 0x1400eae0b
mov ecx, eax
movzx ecx, word [r8 + rcx*4 + 0x10]
cmp eax, edx
jae 0x1400eae0b
mov r8d, eax
mov word [rsi + r8*2 + 0x10], cx
inc eax
mov ecx, edx
mov r8, qword [rbp - 0x48]
mov r8d, dword [r8 + 0x10]
mov r9d, r8d
cmp ecx, r9d
jle 0x1400eade6
jmp 0x1400eade9
mov r9d, ecx
cmp eax, r9d
jl 0x1400eada8
mov eax, r8d
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400dd2b0
int3
call fcn.140159920
int3