joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0ef0
Capabilities:
Get file version info

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rdx, rdx
jne 0x1400d0f17
xor edx, edx
jmp 0x1400d0f1b
add rdx, 0xc
mov qword [rbp - 0x40], rdx
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x7c], rdx
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0x68]
call fcn.14000aea0
mov rdx, qword [rbp - 0x7c]
mov ecx, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov r9d, dword [rbp - 0x74]
call sub.VERSION.dll_GetFileVersionInfoExW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000aef0
xor eax, eax
mov qword [rbp - 0x40], rax
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 0x1400d2810
Capabilities:
Enumerate process modules

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 rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14022ab00
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.14000aea0
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000aef0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400d2918
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14022ab40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1407df6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d2955
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x1400d2938
Function at 0x1400d2d30
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14022ab00
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
lea rcx, [rbp - 0x70]
call fcn.14000aea0
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000aef0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400d2dc3
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14022ab40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1407df6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d2dfd
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x1400d2de3

Function at 0x1400d5a00
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1404a2ba8]
cmp qword [rcx - 8], 0
jne 0x1400d5a3e
mov rcx, rbx
call fcn.1400d5530
test eax, eax
je 0x1400d5a34
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.1400d6a40
add rsp, 0x20
pop rbx
jmp fcn.1400d6ac0
call fcn.1400010cb
jmp 0x1400d5a16
Function at 0x1400e87d0
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14022ab00
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000aea0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000aef0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400e8867
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14022ab40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1407df6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400e88a1
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x1400e8887

Function at 0x1400e88f0
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14022ab00
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000aea0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000aef0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400e8987
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14022ab40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1407df6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400e89c1
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x1400e89a7
Function at 0x1400e90f0
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 - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x48]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x7c], 0
lea rcx, [0x14049b2e8]
call fcn.14042f0f0
mov qword [rbp - 0x88], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
jne 0x1400e914e
xor r13d, r13d
jmp 0x1400e9152
lea r13, [rbx + 0xc]
mov qword [rbp - 0x50], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ebx, dword [rbp + 0x30]
mov dword [rsp + 0x20], ebx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov ebx, dword [rbp + 0x40]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
mov rcx, r13
mov qword [rbp - 0x9c], rcx
mov edx, esi
mov dword [rbp - 0x8c], edx
mov r8d, edi
mov dword [rbp - 0x90], r8d
mov r9d, r14d
mov dword [rbp - 0x94], r9d
lea rcx, [rbp - 0x78]
call fcn.14000aea0
mov rcx, qword [rbp - 0x9c]
mov edx, dword [rbp - 0x8c]
mov r8d, dword [rbp - 0x90]
mov r9d, dword [rbp - 0x94]
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.14000aef0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x7c], 1
mov rax, qword [rbp - 0x88]
mov qword [rax + 8], rbx
mov rbx, rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1407df6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400e923b
mov dword [rdi + 0xe8], esi
mov rax, rbx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x1400e921e

Function at 0x140190e70
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 - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.14000aea0
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.14000aef0
test ebx, ebx
jne 0x140190ee4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x140190f0c
lea rcx, [0x1404c0958]
call fcn.140009160
mov rbx, rax
mov rcx, rbx
call fcn.1401b9880
mov rcx, rbx
call fcn.1400096d0
int3
lea rcx, [0x1404c1208]
call fcn.140009160
mov rbx, rax
mov rcx, rbx
call fcn.1401bef50
mov rcx, rbx
call fcn.1400096d0
int3

Function at 0x140195c20
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140195c32
add rsp, 0x28
jmp fcn.140196380
lea rcx, [0x14048ef78]
call fcn.1401a48e0
int3
Function at 0x1401a6080
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 0x1401a62b9
lea r14, [0x14064bdc0]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x1401a60d6
mov edx, 0x55555556
mov eax, edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
jmp 0x1401a60d9
lea eax, [rbx - 4]
test eax, eax
jle 0x1401a6180
movsxd rdx, edi
lea rdx, [r10 + rdx*2]
movzx r15d, word [rdx]
movzx r13d, word [rdx + 2]
movzx r12d, word [rdx + 4]
movzx edx, word [rdx + 6]
mov r9d, r15d
or r9d, r13d
or r9d, r12d
or r9d, edx
test r9d, 0xffffff00
jne 0x1401a6144
movsxd r9, r15d
movsx r15, byte [r14 + r9]
shl r15d, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
or r15d, edx
movsxd rdx, r13d
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or r15d, edx
movsxd rdx, r12d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or r15d, edx
jmp 0x1401a614a
mov r15d, 0xffffffff
test r15d, r15d
jl 0x1401a629f
movsxd rdx, ebp
add rdx, r11
mov r9d, r15d
sar r9d, 0x10
mov byte [rdx], r9b
mov r9d, r15d
sar r9d, 8
mov byte [rdx + 1], r9b
mov byte [rdx + 2], r15b
add ebp, 3
add edi, 4
cmp edi, eax
jl 0x1401a60e1
lea edx, [rbx - 4]
cmp eax, edx
jne 0x1401a629f
cmp edi, ebx
je 0x1401a629f
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 0x1401a629f
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
jne 0x1401a6257
cmp r9d, 0x3d
jne 0x1401a621c
test eax, eax
jl 0x1401a629f
dec esi
cmp ebp, esi
jg 0x1401a629f
sar eax, 0x10
movsxd r9, ebp
mov byte [r11 + r9], al
inc ebp
jmp 0x1401a6298
movsxd r10, r9d
movsx r9, byte [r14 + r10]
shl r9d, 6
or r9d, eax
mov eax, r9d
test eax, eax
jl 0x1401a629f
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1401a629f
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 0x1401a6298
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or edx, eax
movsxd rax, r9d
movsx rax, byte [r14 + rax]
shl eax, 6
or eax, edx
jl 0x1401a629f
lea edx, [rsi - 3]
cmp ebp, edx
jg 0x1401a629f
movsxd rdx, ebp
add rdx, r11
mov r10d, eax
sar r10d, 0x10
mov byte [rdx], r10b
mov r10d, eax
sar r10d, 8
mov byte [rdx + 1], r10b
mov byte [rdx + 2], al
add ebp, 3
add edi, 4
cmp ebx, ecx
je 0x1401a62b9
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
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
Function at 0x1401bf600
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, edx
cmp r10d, r8d
jg 0x1401bf72a
mov rcx, qword [rcx + 8]
lea rax, [0x1404cfdc0]
cmp qword [rcx], rax
je 0x1401bf71b
lea rax, [0x1404cfd48]
cmp qword [rcx], rax
je 0x1401bf70c
sub r8d, r10d
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, rdx
shl rbx, 0x11
xor r9, rax
xor r11, rdx
lea rsi, [rdx + rdx*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor rdx, r9
xor rax, r11
xor r9, rbx
rol r11, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r9
mov qword [rcx + 0x20], r11
mov r9d, r8d
shr rsi, 0x20
mov r11d, esi
imul r11, r9
mov ebx, r11d
cmp ebx, r8d
jae 0x1401bf6fc
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp ebx, edx
jae 0x1401bf6fc
mov r11, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov rsi, rax
shl rsi, 0x11
xor r8, r11
xor rbx, rax
lea rdi, [rax + rax*4]
rol rdi, 7
lea rdi, [rdi + rdi*8]
xor rax, r8
xor r11, rbx
xor r8, rsi
rol rbx, 0x2d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], rbx
shr rdi, 0x20
mov r11d, edi
imul r11, r9
mov ebx, r11d
cmp ebx, edx
jb 0x1401bf6a4
shr r11, 0x20
lea eax, [r11 + r10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1402528c0
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140252940
call fcn.1401bf730
int3
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov edi, r8d
lea rbp, [rbx + 0x18]
mov rcx, rbp
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x140252965
call fcn.140252a60
movsxd rdi, edi
movsxd rcx, esi
sub rdi, rcx
cmp rdi, 0x7fffffff
jg 0x140252a0f
mov rcx, qword [rbx + 8]
lea rax, [0x1404c13d0]
cmp qword [rcx], rax
jne 0x140252a33
mov rbx, qword [rcx + 8]
lea rcx, [0x1404cfdc0]
cmp qword [rbx], rcx
je 0x1402529c9
lea rcx, [0x1404cfd48]
cmp qword [rbx], rcx
jne 0x140252a39
lea rcx, [rbx + 8]
call fcn.140252b80
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140650750]
jmp 0x1402529f3
lea rcx, [rbx + 0x18]
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x1402529db
call fcn.140252a60
lea rcx, [rbx + 0x18]
call fcn.140252b80
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140650750]
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.140009de0
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov rcx, rbp
call fcn.140252c00
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.140009e20
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.140005bf4
int3
mov rcx, rbx
call fcn.140252d40
int3
Function at 0x1401c0940
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rsi, rcx
mov rdi, r8
mov r8d, edx
mov ebx, r9d
test ebx, ebx
je 0x1401c0b5f
lea ebp, [rbx - 1]
test ebp, ebp
je 0x1401c0b06
xor r14d, r14d
movzx r15d, word [rdi]
sub r8d, ebp
mov r13d, r8d
cmp r13d, 8
jl 0x1401c0a7b
movsxd rcx, ebp
movzx ecx, word [rdi + rcx*2]
movsxd rbp, ebp
jmp 0x1401c09a3
dec rbp
movzx ecx, word [rdi + rbp*2]
cmp ecx, r15d
jne 0x1401c09ae
cmp rbp, 1
jg 0x1401c099c
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, ecx
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r13, r13d
lea r15, [r13 - 8]
jmp 0x1401c09db
mov r14, r15
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rcx, [r14 + rbp]
movups xmm1, xmmword [rsi + rcx*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
je 0x1401c0a64
pmovmskb r12d, xmm0
test r12d, r12d
je 0x1401c0a17
bsf ecx, r12d
jmp 0x1401c0a1c
mov ecx, 0x20
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x1401c0a5c
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.1401c01c0
test eax, eax
mov rax, qword [rsp + 0x28]
jne 0x1401c0a5c
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x1401c0a0c
jmp 0x1401c0a64
add eax, r14d
jmp 0x1401c0aeb
add r14, 8
cmp r14, r13
je 0x1401c0ac8
cmp r14, r15
jle 0x1401c09db
jmp 0x1401c09d8
add rdi, 2
test r13d, r13d
jle 0x1401c0ac8
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.140403b80
test eax, eax
jl 0x1401c0ac8
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x1401c0ac8
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.1401c01c0
test eax, eax
jne 0x1401c0ae8
dec r13d
inc r14
test r13d, r13d
jg 0x1401c0a84
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jb 0x1401c0b39
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140403b80
movsx rdx, dx
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140425560
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401c1680
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401c1744
mov rax, qword [rdx]
lea r9, [0x1404be6d0]
cmp rax, r9
jne 0x1401c1728
mov rbx, rdx
mov rdx, qword [rcx]
lea r9, [0x1404c1838]
cmp rdx, r9
je 0x1401c16fb
lea r9, [0x1404c17c8]
cmp rdx, r9
je 0x1401c16ec
lea rsi, [0x1404a30a8]
cmp qword [rsi - 8], 0
jne 0x1401c1736
mov r8, qword [rsi]
mov edx, dword [rbx + 8]
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401b9c20
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x1401c1810
lea rdi, [0x1404a30a8]
cmp qword [rdi - 8], 0
jne 0x1401c173d
mov r8, qword [rdi]
mov edx, dword [rbx + 8]
add edx, edx
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401b9b20
mov rcx, rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [rax + 0x28]
call fcn.14000146b
jmp 0x1401c16cf
call fcn.14000146b
jmp 0x1401c1709
lea rcx, [0x14048c010]
call fcn.1401a48e0
int3
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
test rbx, rbx
je 0x1401c188b
cmp byte [rcx + 8], 0
jne 0x1401c1852
lea rsi, [0x1404a30a8]
cmp qword [rsi - 8], 0
jne 0x1401c187d
mov r8, qword [rsi]
mov edx, dword [rbx + 8]
add edx, edx
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401b9b20
lea rdi, [0x1404a30a8]
cmp qword [rdi - 8], 0
jne 0x1401c1884
mov r8, qword [rdi]
mov edx, dword [rbx + 8]
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401b9c20
call fcn.14000146b
jmp 0x1401c1833
call fcn.14000146b
jmp 0x1401c1860
xor ecx, ecx
call fcn.1401c1f40
int3

Function at 0x14024a8e0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x14024a907
xor ecx, ecx
jmp 0x14024a90b
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x6c], edx
mov qword [rbp - 0x80], r8
mov dword [rbp - 0x70], r9d
lea rcx, [rbp - 0x68]
call fcn.14000aea0
mov rcx, qword [rbp - 0x78]
mov edx, dword [rbp - 0x6c]
mov r8, qword [rbp - 0x80]
mov r9d, dword [rbp - 0x70]
call sub.KERNEL32.dll_GetLocaleInfoEx
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000aef0
mov eax, ebx
xor ecx, ecx
mov qword [rbp - 0x40], rcx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret