joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11010b0ce
Capabilities:
Encode data using xor

Disassembly:
mov qword [rbp - 0x30], rbx
mov ebx, dword [rdx + 0x24]
add rbx, rsi
mov qword [rbp - 0x48], rbx
mov rsi, qword [rbp - 0x30]
mov rdx, 0xf
mov esi, dword [rsi]
add rsi, qword [rbp - 0x10]
xor rbx, rbx
xor rcx, rcx
mov cl, byte [rsi]
sub ebx, ecx
xor ebx, 0x11d14000
ror ebx, 7
add ebx, ecx
ror ebx, 0x1e
add ebx, ecx
rol ebx, 8
xor ebx, ecx
xor ebx, 0x148de000
ror ebx, 9
sub ebx, ecx
add ebx, 0x2a808000
rol ebx, 0xe
inc rsi
sub rdx, 1
cmp rdx, 0
ja 0x11010b042
mov rsi, qword [rbp - 0x48]
mov esi, dword [rsi]
and rsi, 0xffff
add qword [rbp - 0x30], 4
add qword [rbp - 0x48], 2
cmp ebx, 0xd073893b
jne 0x11010b02e
imul rsi, rsi, 4
add rsi, qword [rbp - 0x20]
mov esi, dword [rsi]
add rsi, qword [rbp - 0x10]
mov qword [rbp - 0x40], rsi
call 0x11010b0ce
push rsp
mov cl, 0x76
adc byte [rdx + 0x2d47b14a], cl
jmp 0x11010b0c2
mov cl, byte [rdx - 0x4f]
sub eax, 0xaa2bf9eb
lodsd eax, dword [rsi]
push rcx
pop rdx
sub rdx, 0xb0be
mov qword [rbp - 0x18], rdx
sub rsp, 0x40
mov rdx, 0xc000
push 0x40
lea r9, [rbp - 0x10]
pop r8
mov rsi, qword [rbp - 0x40]
mov esi, dword [rbp - 0x40]
mov rcx, qword [rbp - 0x18]
add rcx, 0x9c3f0
call rsi
add rsp, 0x40
mov rcx, 0xc000
mov rsi, qword [rbp - 0x18]
add rsi, 0x9c3f0
push 0x143ba3c1
pop rax
mov ebx, dword [rsi]
sub ebx, ecx
xor ebx, eax
xor ebx, eax
sub ebx, 0x9ebd6000
mov dword [rsi], ebx
add rsi, 4
sub rcx, 4
cmp ecx, 0
ja 0x11010b123
mov rdx, qword [rbp - 0x18]
add rdx, 0x9c3f0
call rdx
lea r9d, [rdx - 1]
lea rcx, [r9 + r9*4]
lea rax, [r14 + rcx*4]
cmp r11d, dword [rax + r15 + 4]
jle 0x11010b16d
cmp r11d, dword [rax + r15 + 8]
jle 0x11010b175
mov edx, r9d
test r9d, r9d
jne 0x11010b153
test edx, edx
je 0x11010b187
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rbx, [r15 + rax*4]
add rbx, r14
xor edx, edx
test esi, esi
je 0x11010b20b
xor r9d, r9d
movsxd rcx, dword [rdi + 0x10]
add rcx, qword [rbp + 8]
add rcx, r9
test rbx, rbx
je 0x11010b1af
mov eax, dword [rbx + 4]
cmp dword [rcx], eax
jle 0x11010b1c9
mov eax, dword [rbx + 8]
cmp dword [rcx + 4], eax
jg 0x11010b1c9
cmp r12d, dword [rcx]
jl 0x11010b1c9
cmp r12d, dword [rcx + 4]
jg 0x11010b1c9
cmp dword [r8], 0xffffffff
jne 0x11010b1c3
mov dword [r8], edx
lea eax, [rdx + 1]
mov dword [r10], eax
inc edx
add r9, 0x14
cmp edx, esi
jb 0x11010b190
cmp dword [r8], 0xffffffff
je 0x11010b20b
mov eax, dword [r8]
lea rcx, [rax + rax*4]
movsxd rax, dword [rdi + 0x10]
lea rax, [rax + rcx*4]
add rax, qword [rbp + 8]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
and dword [r8], 0
and dword [r10], 0
xor eax, eax
jmp 0x11010b1ec
Function at 0x110119b50
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x110190928]
xor rax, rbp
mov qword [rbp + 0x68], rax
and dword [rbp], 0
mov eax, dword [rsp]
sub rsp, 0x10
lea r14, [rsp + 0x20]
mov eax, dword [r14]
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test rax, rax
je 0x110119c55
mov r15, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x110119bde
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea ecx, [rdi - 1]
add ecx, ebx
lea edx, [rdi - 1]
cmp ecx, ebx
jb 0x110119c55
mov eax, edx
not eax
and ecx, eax
je 0x110119bfb
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x110119c55
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovae eax, ecx
and rbx, r14
mov esi, eax
lea rax, [r15 + rdi]
sub rbx, rsi
cmp rbx, rax
jb 0x110119c55
mov r9d, 4
mov r8d, 0x1000
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
test rax, rax
je 0x110119c55
lea r9, [rbp + 4]
mov r8d, 0x104
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
je 0x110119c55
mov eax, 1
jmp 0x110119c57
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.1101304b0
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop rbp
ret
Function at 0x11011a9ec
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
mov esi, ecx
lea r8d, [rdi + 1]
call fcn.11011d438
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x11011aa74
xor edx, edx
lea r8d, [rdi + 2]
mov ecx, esi
call fcn.11011d438
cmp rax, 0xffffffffffffffff
je 0x11011aa74
mov rbx, rbp
sub rbx, rax
test rbx, rbx
jle 0x11011ab07
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r13d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8d, r13d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x11011aa9a
call sym.msvcrt.dll__errno
mov dword [rax], 0xc
call sym.msvcrt.dll__errno
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov edx, 0x8000
mov ecx, esi
call fcn.11011c590
mov r14d, eax
mov r8d, ebx
cmp rbx, r13
mov rdx, rbp
mov ecx, esi
cmovge r8d, r13d
call fcn.11011fc34
cmp eax, 0xffffffff
je 0x11011aace
cdqe
sub rbx, rax
test rbx, rbx
jle 0x11011aae7
jmp 0x11011aaa9
call sym.msvcrt.dll___doserrno
cmp dword [rax], 5
jne 0x11011aae3
call sym.msvcrt.dll__errno
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r14d
mov ecx, esi
call fcn.11011c590
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x11011ab5c
jns 0x11011ab66
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.11011d438
cmp rax, 0xffffffffffffffff
je 0x11011aa74
mov ecx, esi
call sym.msvcrt.dll__get_osfhandle
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetEndOfFile]
mov ecx, eax
neg ecx
sbb rdi, rdi
neg rdi
dec rdi
test eax, eax
jne 0x11011ab5c
call sym.msvcrt.dll__errno
mov dword [rax], 0xd
call sym.msvcrt.dll___doserrno
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x11011aa74
xor r8d, r8d
mov rdx, r15
mov ecx, esi
call fcn.11011d438
cmp rax, 0xffffffffffffffff
je 0x11011aa74
xor eax, eax
jmp 0x11011aa7b
Function at 0x110121390
Capabilities:
Encrypt data using chaskey
Hash data using murmur3
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov edx, 0xb18a46b0
mov ecx, 0x54a981c0
mov rsp, rbp
mov edi, 0xf5401631
mov ebx, 0xe0e7bf6e
sub rsp, 0x20
mov dword [rbp - 0x18], 0x9c168200
add dword [rbp - 0x20], 1
mov eax, dword [rbp - 0x20]
mov esi, 0x4c56fe24
jmp fcn.110107d34
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x20], 0x1084a8f
jmp 0x110105657

Function at 0x110127dc0
Capabilities:
Encrypt data using chaskey
Hash data using murmur3
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
add dword [rbp - 0x18], 0x4d69278f
xor ebx, dword [rbp - 0x18]
rol edi, 0x1d
add ecx, 0x923546c2
sub eax, 0xe55cdfc1
rol ecx, 0xc
add ebx, eax
add ebx, edi
add ebx, edx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x20], 0x1084a8f
jmp 0x110107ece

Function at 0x110127fb0
Capabilities:
Encrypt data using chaskey
Hash data using murmur3
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x20], 0x1084a8f
jmp fcn.110103fb1

Function at 0x11012a2c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov esi, edx
mov rbx, r9
mov rdx, rcx
mov edi, r8d
lea rcx, [rsp + 0x20]
call fcn.110101038
mov r9d, dword [rsp + 0x70]
mov r8, rbx
mov edx, edi
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
cmp byte [rsp + 0x38], 0
je 0x11012a309
mov rcx, qword [rsp + 0x30]
and dword [rcx + 0xc8], 0xfffffffd
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x11012b1c0
Capabilities:
Encrypt data using chaskey
Hash data using murmur3
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov rsp, rbp
mov edi, 0xf5401631
mov esi, 0x4c56fe24
mov edx, 0xb18a46b0
mov ecx, 0x54a981c0
sub rsp, 0x20
mov ebx, 0xe0e7bf6e
inc dword [rbp - 0x20]
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x18], 0x9c168200
jmp fcn.110107d34
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x20], 0x1084a8f
jmp 0x110103696
Function at 0x11012bc8c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x11012bd09
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x11012bd29
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1101304b0
add rsp, 0x540
pop rbx
ret

Function at 0x1101301a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rcx, qword [0x1101946f0]
call fcn.11013a900
mov rdi, rax
test r14, r14
jne 0x1101301f4
call sym.msvcrt.dll__errno
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call sym.msvcrt.dll__invalid_parameter
mov eax, ebx
jmp 0x1101302bd
and dword [r14], 0
test rax, rax
jne 0x110130292
xor r8d, r8d
lea rcx, str.CRYPTBASE.DLL
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1101301cc
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x11013026d
call sym.msvcrt.dll__errno
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call int.110107e70
and qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rbx], eax
xor edx, edx
xor ecx, ecx
call sym.msvcrt.dll__invalid_parameter
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call int.110107e70
jmp 0x1101302bd
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov rbx, rax
call fcn.11013a920
xchg qword [0x1101946f0], rbx
cmp rbx, rax
je 0x110130292
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov edx, 4
mov rcx, r14
mov rax, rdi
call qword [0x110177460]
test eax, eax
jne 0x1101302bb
call sym.msvcrt.dll__errno
mov dword [rax], 0xc
call sym.msvcrt.dll__errno
mov eax, dword [rax]
jmp 0x1101302bd
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1101306dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x110130728
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x110130720
cmp dword [rcx + 0x3c], edx
jl 0x110130720
cmp dword [rcx + 0x3c], 0x10000000
jae 0x110130720
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x110130728
mov rax, rdx
add rsp, 0x18
ret

Function at 0x11013091c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentStringsW]
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x110130952
jmp 0x11013098c
mov rcx, rax
add rax, 2
cmp word [rax], bx
jne 0x110130942
lea rax, [rcx + 4]
cmp word [rax], bx
jne 0x110130942
sub eax, edi
add eax, 2
movsxd rbp, eax
mov rcx, rbp
call fcn.110119f74
mov rsi, rax
test rax, rax
je 0x110130980
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call sym.msvcrt.dll_memcpy
mov rbx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_FreeEnvironmentStringsW]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1101309a8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x110130a86
mov rbx, rax
cmp word [rax], r14w
je 0x1101309fa
mov rcx, rbx
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x1101309df
lea rbx, [rcx + 4]
movzx eax, word [rbx]
test ax, ax
jne 0x1101309df
mov qword [rsp + 0x38], r14
sub rbx, rdi
mov qword [rsp + 0x30], r14
mov r8, rdi
sar rbx, 1
xor edx, edx
mov dword [rsp + 0x28], r14d
xor ecx, ecx
mov qword [rsp + 0x20], r14
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x110130a7d
mov rcx, rbp
call fcn.110119f74
mov rsi, rax
test rax, rax
je 0x110130a7d
mov qword [rsp + 0x38], r14
lea r9d, [rbx + 1]
mov qword [rsp + 0x30], r14
mov r8, rdi
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
test eax, eax
jne 0x110130a6f
mov rcx, rsi
call sym.msvcrt.dll_free
mov rsi, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_FreeEnvironmentStringsW]
mov rax, rsi
jmp 0x110130a88
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_FreeEnvironmentStringsW]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x110130de0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rsp + 0x130]
mov ebp, r9d
mov qword [rsp + 0x30], rcx
mov r14d, r8d
mov r12, rcx
cmp edx, 1
jne 0x110130f44
xor r15d, r15d
lea r9, [rsp + 0x40]
and dword [rsp + 0x28], r15d
lea rsi, [rsp + 0x40]
mov r8d, ebp
mov dword [rsp + 0x20], 0x80
mov edx, r14d
call fcn.11013454c
mov r13d, eax
test eax, eax
jne 0x110130ebc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x110130ee4
and dword [rsp + 0x28], r15d
xor r9d, r9d
and dword [rsp + 0x20], r15d
mov r8d, ebp
mov edx, r14d
mov rcx, r12
call fcn.11013454c
movsxd r12, eax
test eax, eax
je 0x110130ee4
lea r15d, [r13 + 1]
mov rcx, r12
mov edx, r15d
call fcn.110119eec
mov rsi, rax
test rax, rax
je 0x110130ee4
and dword [rsp + 0x28], r13d
mov r9, rax
mov rcx, qword [rsp + 0x30]
mov r8d, ebp
mov edx, r14d
mov dword [rsp + 0x20], r12d
call fcn.11013454c
mov r13d, eax
test eax, eax
je 0x110130edc
movsxd rbp, r13d
mov edx, 1
mov rcx, rbp
call fcn.110119eec
mov qword [rdi], rax
mov rcx, rax
test rax, rax
jne 0x110130f0a
test r15d, r15d
je 0x110130ee4
mov rcx, rsi
call sym.msvcrt.dll_free
or eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1101304b0
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [r13 - 1]
mov r8, rsi
movsxd r9, eax
mov rdx, rbp
call sym.msvcrt.dll_strncpy_s
test eax, eax
je 0x110130f35
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bc8c
test r15d, r15d
je 0x110130f93
mov rcx, rsi
call sym.msvcrt.dll_free
jmp 0x110130f93
mov r15d, 2
cmp edx, r15d
jne 0x110130fab
and qword [rdi], 0
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
je 0x110130f9a
mov rcx, rsi
mov edx, r15d
call fcn.110119eec
mov qword [rdi], rax
test rax, rax
je 0x110130f9a
mov r9d, esi
mov r8, rax
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x110130f9a
xor eax, eax
jmp 0x110130ee7
mov rcx, qword [rdi]
call sym.msvcrt.dll_free
and qword [rdi], 0
jmp 0x110130ee4
test edx, edx
jne 0x110130ee4
and dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
bts ebp, 0x1d
mov r9d, r15d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x110130ee4
mov al, byte [rsp + 0x30]
mov byte [rdi], al
jmp 0x110130f93
Function at 0x110133278
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, ecx
mov r9d, 0x78
and ecx, 0x3ff
mov rsi, r8
mov edi, edx
lea r8, [rsp + 0x20]
bts ecx, 0xa
lea edx, [r9 - 0x77]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoA]
test eax, eax
je 0x110133318
lea rcx, [rsp + 0x20]
call fcn.110133160
cmp ebx, eax
je 0x110133311
test edi, edi
je 0x110133311
mov r9, qword [rsi]
xor r8d, r8d
mov dl, byte [r9]
lea rcx, [r9 + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1101332f4
sub dl, 0x61
cmp dl, 0x19
ja 0x1101332fe
mov dl, byte [rcx]
inc r8d
inc rcx
jmp 0x1101332e5
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [r9 + rcx], 0
jne 0x110133302
cmp r8d, ecx
je 0x110133318
mov eax, 1
jmp 0x11013331a
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1101304b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x110133674
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r12, rdx
mov r15, rcx
call fcn.11013a920
xor esi, esi
mov rbx, rax
cmp qword [0x110194c70], rsi
jne 0x110133787
xor r8d, r8d
lea rcx, [0x11017beb8]
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x110133872
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x110133872
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov qword [0x110194c70], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov qword [0x110194c78], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov qword [0x110194c80], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194c90], rax
mov rcx, rax
test rax, rax
je 0x11013377e
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194c88], rax
jmp 0x11013378e
mov rax, qword [0x110194c88]
jmp 0x110133795
mov rax, qword [0x110194c88]
mov rcx, qword [0x110194c90]
cmp rax, rbx
je 0x110133807
cmp rcx, rbx
je 0x110133807
mov rcx, rax
call fcn.11013a900
mov rcx, qword [0x110194c90]
mov rdi, rax
call fcn.11013a900
mov r14, rax
test rdi, rdi
je 0x110133807
test rax, rax
je 0x110133807
mov rax, rdi
call qword [0x110177460]
test rax, rax
je 0x110133801
mov r9d, 0xc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
mov rax, r14
lea edx, [r9 - 0xb]
call qword [0x110177460]
test eax, eax
je 0x110133801
test byte [rsp + 0x40], 1
jne 0x110133807
bts ebp, 0x15
jmp 0x11013384d
mov rcx, qword [0x110194c78]
cmp rcx, rbx
je 0x11013384d
call fcn.11013a900
test rax, rax
je 0x11013384d
call qword [0x110177460]
mov rsi, rax
test rax, rax
je 0x11013384d
mov rcx, qword [0x110194c80]
cmp rcx, rbx
je 0x11013384d
call fcn.11013a900
test rax, rax
je 0x11013384d
mov rcx, rsi
call qword [0x110177460]
mov rsi, rax
mov rcx, qword [0x110194c70]
call fcn.11013a900
test rax, rax
je 0x110133872
mov r9d, ebp
mov r8, r12
mov rdx, r15
mov rcx, rsi
call qword [0x110177460]
jmp 0x110133874
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1101304b0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret