joyce8/EMBER2024-capa huggingface dataset:
Function at 0x688af0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x006eca78]
cmp qword [rax + 0x2c8], 0
je 0x688cb6
test sil, sil
jne 0x688bd8
cmp dword [rbx + 0x130], 0
jne 0x688bc9
mov rcx, rbx
call fcn.0068d2e0
lea rcx, [0x006889c0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x688b8b
mov rax, qword [0x006eca78]
cmp byte [rax + 0x18b], 0
je 0x688b8b
mov rcx, qword [rbx + 0x198]
call fcn.004108f0
mov rdi, rax
test edi, edi
jl 0x688b8a
mov rax, qword [rbx + 0x198]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x688b6c
nop
mov rax, qword [rbx + 0x128]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x688bc8
mov rcx, qword [rbx + 0x128]
mov edx, edi
call fcn.005018c0
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x688b9c
nop
lea rax, [rbx + 0x130]
add dword [rax], 1
jmp 0x688cb6
cmp dword [rbx + 0x130], 0
jle 0x688cb6
lea rax, [rbx + 0x130]
sub dword [rax], 1
cmp dword [rbx + 0x130], 0
jne 0x688cb6
cmp qword [rbx + 0xa8], 0
je 0x688c4b
mov rax, qword [0x006eca78]
cmp byte [rax + 0x18b], 0
je 0x688c4b
mov rcx, qword [rbx + 0x198]
call fcn.004108f0
mov rdi, rax
test edi, edi
jl 0x688c4a
mov rax, qword [rbx + 0x198]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x688c29
nop
mov rax, qword [rbx + 0x128]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x688c88
mov rcx, qword [rbx + 0x128]
mov edx, edi
call fcn.005018c0
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x688c5c
nop
mov rax, qword [rbx + 0x128]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x198]
mov rdx, qword [0x00672988]
mov r8d, 1
xor r9, r9
call fcn.00410c80
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x689ec0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x150], 0
je 0x689f2e
cmp byte [rbx + 0x18b], 0
jne 0x689f2e
mov rcx, qword [rbx + 0x2c8]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.0040df50
mov rax, qword [rsi]
xor rcx, rcx
test rax, rax
je 0x689f19
mov ecx, dword [rax - 4]
test ecx, ecx
jne 0x689f3d
mov rcx, rsi
mov rdx, qword [rbx + 0x110]
call fcn.0040e2c0
jmp 0x689f3d
mov rcx, rsi
mov rdx, qword [rbx + 0x110]
call fcn.0040e2c0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x696430
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6964e6
mov rcx, qword [rbx + 0x10]
call fcn.005be1a0
mov rcx, qword [0x005d1238]
mov dl, 1
mov r8, rax
call fcn.005b4e40
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.005d8150
lea rax, [rsi + 0x4a8]
mov qword [rax + 8], rbx
lea rcx, [0x00695aa0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005be1a0
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xc0]
call fcn.005be1a0
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x696591
mov rcx, qword [rbx + 0x10]
call fcn.005be1a0
mov rcx, qword [0x005d1238]
mov dl, 1
mov r8, rax
call fcn.005b4e40
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.005d8150
lea rax, [rsi + 0x4a8]
mov qword [rax + 8], rbx
lea rcx, [0x00695b00]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005be1a0
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005be1a0
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x69662d
mov rcx, qword [rbx + 0x10]
call fcn.005be1a0
mov rcx, qword [0x005d21f8]
mov dl, 1
mov r8, rax
call fcn.005b4e40
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x478], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005be1a0
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005be1a0
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x140009ee0
Capabilities:
Get process heap flags

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call fcn.1400058c0
movzx eax, al
test eax, eax
je 0x140009f27
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x70
mov qword [rsp + 0x28], rax
jmp 0x140009f4a
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x140009fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call fcn.1400058c0
movzx eax, al
test eax, eax
je 0x14000a027
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x74
mov qword [rsp + 0x28], rax
jmp 0x14000a04a
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x14000aae0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x290]
add rcx, rax
mov rax, rcx
mov dx, 0x5c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000ab3e
mov rax, qword [rsp + 0x28]
inc rax
mov dx, 0x5c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000ab50
mov eax, 0x80004005
jmp 0x14000ac9b
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
lea rax, [rsp + 0x50]
lea rcx, [0x14007d3e8]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 0x101
rep stosb byte [rdi], al
mov byte [rsp + 0x20], 0x41
jmp 0x14000aba0
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x5a
jge 0x14000ac8a
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x20]
mov byte [rsp + rax + 0x50], cl
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x160], 0
mov r8d, 0x104
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x14000ac85
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000ac85
lea rdx, str.bq4NGsuZMyT8JusYC8MNz2DH2Ltw0fN0zCh6e160msXnKsO9PyfTY6eb2axBeuttJmC1ySbxOo5NL
lea rcx, [rsp + 0x30]
call fcn.140005410
nop
lea rdx, [rsp + 0x30]
lea rcx, str.Pi0
call fcn.140020750
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14000acb0
nop
lea rcx, [rsp + 0x30]
call fcn.1400056d0
nop
mov rax, qword [rsp + 0x28]
inc rax
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14000acb0
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call fcn.14000ad40
xor eax, eax
jmp 0x14000ac9b
jmp 0x14000ab95
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rsp + 0x21]
mov byte [rax], cl
mov eax, 0x80004005
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x14000b630
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1400559a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000b66e
xor eax, eax
jmp 0x14000b69a
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
jne 0x14000b695
mov rcx, qword [rsp + 0x28]
call fcn.14005598c
xor eax, eax
jmp 0x14000b69a
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x14000bd10
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0x101
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.1400559a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000bd38
xor eax, eax
jmp 0x14000bd5f
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14000bd5a
mov rcx, qword [rsp + 0x28]
call fcn.14005598c
xor eax, eax
jmp 0x14000bd5f
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x14000c0a0
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0x10
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.1400559a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000c0c8
xor eax, eax
jmp 0x14000c0ef
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14000c0ea
mov rcx, qword [rsp + 0x28]
call fcn.14005598c
xor eax, eax
jmp 0x14000c0ef
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x140015760
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x38
lea r8, str.GlobalMyUniqueProgramMutex
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400157a2
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_unable_to_create_mutex._n
mov rcx, rax
call fcn.14001b750
xor eax, eax
jmp 0x1400157c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400157be
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400157c3
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14001a5c0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes
Move file
Terminate process

Disassembly:
push rdi
sub rsp, 0x300
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14001a602
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_cant_get_file._n
mov rcx, rax
call fcn.14001b750
nop
jmp 0x14001a780
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14001a638
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_cant_get_temp_path._n
mov rcx, rax
call fcn.14001b750
nop
jmp 0x14001a780
lea rdx, str.Edge.exe
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001a692
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001a692
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_cant_delete_existing_file._n
mov rcx, rax
call fcn.14001b750
nop
jmp 0x14001a780
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x14001a6cb
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_cant_copy_file._n
mov rcx, rax
call fcn.14001b750
nop
jmp 0x14001a780
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001a761
mov ecx, 2
call fcn.140055ad8
lea rdx, str.Error:_cant_start_process._n
mov rcx, rax
call fcn.14001b750
nop
jmp 0x14001a780
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x300
pop rdi
ret
Function at 0x14001de50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x14001de84
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x14001de84
mov dword [rsp + 0x24], 1
jmp 0x14001de8c
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x14001ed70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x440
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x458]
mov rcx, qword [rsp + 0x450]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001ee42
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001ee36
mov rdx, qword [rsp + 0x468]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x14001ee36
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001ee44
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor eax, eax
add rsp, 0x440
pop rdi
ret
Function at 0x14001ee50
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x50], 0xe000
mov eax, dword [rsp + 0x50]
mov ecx, eax
call fcn.1400559a0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x98], 0
je 0x14001ee98
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
cmp qword [rsp + 0x60], 0
je 0x14001f032
mov eax, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.140006490
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x14001ef3c
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov eax, 1
jmp 0x14001f034
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xea
jne 0x14001f016
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1400559b0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14001f014
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.140006490
nop
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x14001f014
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov eax, 1
jmp 0x14001f034
jmp 0x14001f027
mov edx, dword [rsp + 0x58]
lea rcx, str.ERROR:__u_n
call fcn.14000b480
nop
mov rcx, qword [rsp + 0x60]
call fcn.14005598c
nop
xor eax, eax
add rsp, 0x78
ret
Function at 0x140025730
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14002575e
xor eax, eax
jmp 0x140025844
cmp qword [rcx + 0x68], 0
je 0x14002576f
call fcn.1400236c0
jmp 0x140025844
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140025786
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140025788
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400257ba
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140076be0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14002583e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400257f1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14002581a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14005d458
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14002583e
cmp rsi, rbx
ja 0x1400257f8
test rsi, rsi
je 0x14002583e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14005d458
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14003f53c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14002bbc6
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14002bba9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14002bb94

Function at 0x1400494b4
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14005c144
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140049506
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x140049506
sub ecx, 1
je 0x1400494ff
cmp ecx, 1
je 0x1400494f8
xor eax, eax
jmp 0x14004950b
mov eax, 3
jmp 0x14004950b
mov eax, 1
jmp 0x14004950b
mov eax, 2
add rsp, 0x28
ret

Function at 0x14004aa90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004aada
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004aada
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004aada
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004aada
cmp dword [rcx + 0x84], 0xe
jbe 0x14004aada
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004aadc
xor al, al
add rsp, 0x28
ret
Function at 0x14004ff70
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004ffdf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004ffdf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004ffdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004ffdf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004ffdf
cmp dword [rcx + 0x84], 0xe
jbe 0x14004ffdf
cmp dword [rcx + 0xf8], 0
je 0x14004ffdf
mov ecx, ebx
call fcn.140050090
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004fe6c
nop
cmp dword [rbp + 0x20], 0
je 0x14005002d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140050038
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004ff70

Function at 0x140050174
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004ffdf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004ffdf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004ffdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004ffdf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004ffdf
cmp dword [rcx + 0x84], 0xe
jbe 0x14004ffdf
cmp dword [rcx + 0xf8], 0
je 0x14004ffdf
mov ecx, ebx
call fcn.140050090
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004fe6c
nop
cmp dword [rbp + 0x20], 0
je 0x14005002d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140050038
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004ff70
Function at 0x14006b510
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400659b4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14006b5b1
cmp ebx, dword [rsp + 0x30]
je 0x14006b5aa
test esi, esi
je 0x14006b5aa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14006b585
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14006b592
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14006b56f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14006b596
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14006b5b3
mov eax, 1
jmp 0x14006b5b3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret