joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015b18
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400200d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14004d040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400560f4]
call fcn.140015b40
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140020137
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002013e
mov al, 1
jmp 0x14002028e
call fcn.140015325
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140015325
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400158fc
movzx eax, al
test eax, eax
je 0x14002018f
xor al, al
jmp 0x14002028e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x1400201f4
cmp dword [rbp + 0x154], 1
je 0x1400201ff
cmp dword [rbp + 0x154], 3
je 0x14002027d
jmp 0x14002028c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14002024f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14002024f
xor al, al
jmp 0x14002028e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002026a
mov dword [rbp + 0x154], 1
jmp 0x140020274
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14002028e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002028e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140045ab0]
call fcn.140015956
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001558c
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14003ad00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140015bae
movzx eax, al
test eax, eax
jne 0x14003ad20
mov ecx, 7
call fcn.14001596a
nop
mov byte [rsp + 0x20], 0
call fcn.1400159a6
mov byte [rsp + 0x21], al
cmp dword [0x14004d990], 1
jne 0x14003ad44
mov ecx, 7
call fcn.14001596a
nop
jmp 0x14003ad9c
cmp dword [0x14004d990], 0
jne 0x14003ad97
mov dword [0x14004d990], 1
lea rdx, [0x140044770]
lea rcx, [0x140044440]
call fcn.140015569
test eax, eax
je 0x14003ad78
mov eax, 0xff
jmp 0x14003aea1
lea rdx, [0x140044330]
lea rcx, [section..rdata]
call fcn.140015992
mov dword [0x14004d990], 2
jmp 0x14003ad9c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140015942
call fcn.14001580c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14003adf9
mov rcx, qword [rsp + 0x30]
call fcn.14001545b
movzx eax, al
test eax, eax
je 0x14003adf9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140057020]
nop
call fcn.1400158ac
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14003ae2d
mov rcx, qword [rsp + 0x38]
call fcn.14001545b
movzx eax, al
test eax, eax
je 0x14003ae2d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140015ae6
nop
call fcn.14003af50
mov dword [rsp + 0x28], eax
call fcn.1400157d0
movzx eax, al
test eax, eax
jne 0x14003ae4c
mov ecx, dword [rsp + 0x28]
call fcn.1400150d2
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003ae5b
call fcn.140015b04
nop
xor edx, edx
mov cl, 1
call fcn.140015406
mov eax, dword [rsp + 0x28]
jmp 0x14003aea1
add rsp, 0x68
ret
Function at 0x140011096
Capabilities:
Disable system features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140011bf0
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsDataCollection
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011d0b
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AllowTelemetry
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011cd4
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
je 0x140011cd2
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AllowTelemetry
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x140011d00
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AllowTelemetry
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b330]
call fcn.14001133e
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400110f0
Capabilities:
Disable system features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140011d90
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov dword [rbp + 0x24], 1
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011ea4
mov dword [rbp + 0x64], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.NoAutoUpdate
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011e6d
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
je 0x140011e6b
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NoAutoUpdate
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x140011e99
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NoAutoUpdate
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001afa0]
call fcn.14001133e
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011131
Capabilities:
Stop service

Disassembly:
jmp 0x140011830
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400118d8
mov r8d, 0x24
lea rdx, str.WSearch
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400118cd
lea r8, [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400118cd
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001b040]
call fcn.14001133e
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011163
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140011fe0
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov dword [rbp + 0x24], 1
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400120f4
mov dword [rbp + 0x64], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisablePagingExecutive
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400120bd
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
je 0x1400120bb
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisablePagingExecutive
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x1400120e9
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisablePagingExecutive
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPriorityControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400121cf
mov dword [rbp + 0xa4], 4
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Win32PrioritySeparation
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012198
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x84], eax
je 0x140012196
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Win32PrioritySeparation
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x1400121c4
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Win32PrioritySeparation
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ae00]
call fcn.14001133e
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400111b3
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140011a60
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov dword [rbp + 0x24], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesSRService
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011b74
mov dword [rbp + 0x64], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011b3d
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
je 0x140011b3b
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x140011b69
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b1a0]
call fcn.14001133e
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140013790
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ae0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b00
xor al, al
jmp 0x140014b81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b13
xor al, al
jmp 0x140014b81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b3d
xor al, al
jmp 0x140014b81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b51
xor al, al
jmp 0x140014b81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b63
xor al, al
jmp 0x140014b81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b7f
xor al, al
jmp 0x140014b81
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113f2
Capabilities:
Stop service

Disassembly:
jmp 0x140011940
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240d8]
call fcn.1400113a7
nop
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400119f4
mov r8d, 0x24
mov rdx, qword [rbp + 0x160]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400119e9
lea r8, [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400119e9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac00]
call fcn.14001133e
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x1400129c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113d4
movzx eax, al
test eax, eax
jne 0x1400129e0
mov ecx, 7
call fcn.140011348
nop
mov byte [rsp + 0x20], 0
call fcn.140011361
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012a04
mov ecx, 7
call fcn.140011348
nop
jmp 0x140012a5c
cmp dword [0x14001e868], 0
jne 0x140012a57
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111c7
test eax, eax
je 0x140012a38
mov eax, 0xff
jmp 0x140012b61
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011357
mov dword [0x14001e868], 2
jmp 0x140012a5c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011334
call fcn.1400112cb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012ab9
mov rcx, qword [rsp + 0x30]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x140012ab9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.1400112fd
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012aed
mov rcx, qword [rsp + 0x38]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x140012aed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001138e
nop
call fcn.140012c10
mov dword [rsp + 0x28], eax
call fcn.1400112a8
movzx eax, al
test eax, eax
jne 0x140012b0c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012b1b
call fcn.140011398
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x140012b61
add rsp, 0x68
ret
Function at 0x180055cc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180055cfa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180055cff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180055d48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18007c1e0]
cmp byte [rcx + rax], 0
je 0x180055d48
dec r8
sub rdx, 1
jne 0x180055d2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x18006f154
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.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18006f184
xor eax, eax
jmp 0x18006f247
mov rbp, rbx
cmp word [rax], si
je 0x18006f1a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006f190
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006f18c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18006d83c
movsxd r14, eax
test eax, eax
jne 0x18006f1e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006f17d
mov rcx, r14
call fcn.180067ccc
mov rdi, rax
test rax, rax
jne 0x18006f200
xor ecx, ecx
call fcn.180067c90
jmp 0x18006f1dc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18006d83c
test eax, eax
jne 0x18006f231
mov rcx, rdi
call fcn.180067c90
jmp 0x18006f23b
xor ecx, ecx
call fcn.180067c90
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
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 0x18007363c
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.180067930
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 0x1800736dd
cmp ebx, dword [rsp + 0x30]
je 0x1800736d6
test esi, esi
je 0x1800736d6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800736b1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800736be
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18007369b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800736c2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800736df
mov eax, 1
jmp 0x1800736df
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800778d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800778f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800778f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400137a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014af0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b10
xor al, al
jmp 0x140014b91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b23
xor al, al
jmp 0x140014b91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b4d
xor al, al
jmp 0x140014b91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b61
xor al, al
jmp 0x140014b91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b73
xor al, al
jmp 0x140014b91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b8f
xor al, al
jmp 0x140014b91
mov al, 1
add rsp, 0x38
ret