joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064700
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x1400ccea8]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.14006f5d0
test rax, rax
je 0x140064754
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x1400647e9
mov ecx, 2
call fcn.14006f360
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140065f10
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400647d5
test ebx, ebx
jne 0x1400647d5
lea ecx, [rax + 2]
call fcn.14006f360
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140064810
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x1400ccea8]
call fcn.14006f5d0
test rax, rax
je 0x140064845
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.14006f360
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140065f10
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400648ce
test ebx, ebx
jne 0x1400648ce
lea ecx, [rax + 2]
call fcn.14006f360
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x140072420
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14007245e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140072440
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140072645
mov ecx, 3
call fcn.14007cef0
cmp eax, 1
je 0x1400725fc
mov ecx, 3
call fcn.14007cef0
test eax, eax
jne 0x140072495
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x1400725fc
cmp edi, 0xfc
je 0x140072645
mov qword [rsp + 0x50], rbp
lea rbp, [0x1400ccf70]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.14006ec80
test eax, eax
je 0x1400724d9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140064570
lea rdx, [0x1400ccf89]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x1400cd08d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140072529
lea r8, str._program_name_unknown_
lea rcx, [0x1400ccf89]
mov edx, 0x2fb
call fcn.14006ec80
test eax, eax
je 0x140072529
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140064570
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400ccf89]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140072578
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1400cd284]
lea r9d, [rax + 3]
lea r8, [0x1400aaf28]
sub rdx, rcx
call fcn.14007cf90
test eax, eax
je 0x140072578
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140064570
lea r8, [0x1400aaf24]
mov edx, 0x314
mov rcx, rbp
call fcn.14007ce30
test eax, eax
je 0x1400725a4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140064570
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14007ce30
test eax, eax
je 0x1400725d4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140064570
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14007c520
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140072645
cmp rax, 0xffffffffffffffff
je 0x140072645
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140072690
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14007cef0
cmp eax, 1
je 0x1400726c2
mov ecx, 3
call fcn.14007cef0
test eax, eax
jne 0x140072776
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140072776
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1400726ee
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1400726d8
jmp 0x140072762
cmp edi, 0x17
jae 0x140072762
mov ecx, 3
call fcn.14007cef0
cmp eax, 1
je 0x140072719
mov ecx, 3
call fcn.14007cef0
test eax, eax
jne 0x140072762
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140072762
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140072762
cmp rax, 0xffffffffffffffff
je 0x140072762
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140072420
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140072f30
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x1400cd398]
test eax, eax
jne 0x140072f83
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140072f63
mov dword [0x1400cd398], 1
jmp 0x140072f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140072f7d
mov dword [0x1400cd398], 2
jmp 0x140073079
mov eax, dword [0x1400cd398]
cmp eax, 1
jne 0x140073070
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400730c3
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140072fc5
add rbx, 2
cmp word [rbx], 0
jne 0x140072fb1
add rbx, 2
cmp word [rbx], 0
jne 0x140072fb1
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x140073063
mov rcx, rbp
call fcn.1400736e0
test rax, rax
mov rsi, rax
je 0x140073063
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14007303d
mov rcx, rsi
call fcn.14006ee50
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140073049
cmp eax, 2
je 0x140073079
test eax, eax
jne 0x1400730c3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x1400730c3
cmp byte [rax], 0
je 0x1400730a2
nop
add rax, 1
cmp byte [rax], 0
jne 0x140073090
add rax, 1
cmp byte [rax], 0
jne 0x140073090
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1400736e0
test rax, rax
mov rdi, rax
jne 0x1400730d5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140065520
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14007bdd7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400cb0f0]
jne 0x140068bfa
rol rcx, 0x10
test cx, 0xffff
jne 0x140068bf6
repz ret
ror rcx, 0x10
jmp 0x14007bd30
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400cd710]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400cd808]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14007bdb5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400cd710]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14007bdd7
mov rax, qword [rsp + 0x88]
mov qword [0x1400cd808], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400cd7a8], rax
mov rax, qword [0x1400cd808]
mov qword [0x1400cd680], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400cd790], rax
mov dword [0x1400cd670], 0xc0000409
mov dword [0x1400cd674], 1
mov rax, qword [0x1400cb0f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400cb0f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400cd708], eax
mov ecx, 1
call fcn.14006f360
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400ab998]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400cd708], 0
jne 0x14007be5e
mov ecx, 1
call fcn.14006f360
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14007c520
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.14006f4e0
xor ebx, ebx
cmp qword [0x1400cdbf0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14007c64c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14007c75f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007c75f
mov rcx, rax
call fcn.14006f410
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400cdbf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14006f410
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400cdbf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14006f410
lea rcx, [rsp + 0x98]
mov qword [0x1400cdc00], rax
call fcn.140069130
test eax, eax
je 0x14007c5ff
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140064570
cmp dword [rsp + 0x98], 2
jne 0x14007c64c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14006f410
test rax, rax
mov qword [0x1400cdc10], rax
je 0x14007c64c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14006f410
mov qword [0x1400cdc08], rax
mov rcx, qword [0x1400cdc08]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14007c6f8
cmp qword [0x1400cdc10], rbp
je 0x14007c6f8
call fcn.14006f5d0
mov rcx, qword [0x1400cdc10]
mov rsi, rax
call fcn.14006f5d0
test rsi, rsi
mov r12, rax
je 0x14007c6f8
test rax, rax
je 0x14007c6f8
call rsi
test rax, rax
je 0x14007c6c3
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14007c6c3
test byte [rsp + 0x40], 1
jne 0x14007c6f8
lea rcx, [rsp + 0x30]
call fcn.140069220
test eax, eax
je 0x14007c6e5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140064570
cmp dword [rsp + 0x30], 4
jb 0x14007c6f2
bts edi, 0x15
jmp 0x14007c736
bts edi, 0x12
jmp 0x14007c736
mov rcx, qword [0x1400cdbf8]
cmp rcx, rbp
je 0x14007c736
call fcn.14006f5d0
test rax, rax
je 0x14007c736
call rax
test rax, rax
mov rbx, rax
je 0x14007c736
mov rcx, qword [0x1400cdc00]
cmp rcx, rbp
je 0x14007c736
call fcn.14006f5d0
test rax, rax
je 0x14007c736
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400cdbf0]
call fcn.14006f5d0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14007c75f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14007c761
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007ec10
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.14007de70
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x14007edb4
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.14007de70
cmp rax, 0xffffffffffffffff
je 0x14007edb4
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x14007ed33
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x14007ecb9
call fcn.14006a0a0
mov dword [rax], 0xc
call fcn.14006a0a0
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.14006d760
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.14007d460
cmp eax, 0xffffffff
je 0x14007ecf5
cdqe
sub rbx, rax
test rbx, rbx
jg 0x14007ecd0
jmp 0x14007ed0e
call fcn.14006a0d0
cmp dword [rax], 5
jne 0x14007ed0a
call fcn.14006a0a0
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.14006d760
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x14007ed8c
test rbx, rbx
jns 0x14007ed96
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.14007de70
cmp rax, 0xffffffffffffffff
je 0x14007ec9a
mov ecx, esi
call fcn.14006aca0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x14007ed96
call fcn.14006a0a0
mov dword [rax], 0xd
call fcn.14006a0d0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x14007ec9a
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.14007de70
cmp rax, 0xffffffffffffffff
je 0x14007ec9a
xor eax, eax
jmp 0x14007eca1
call fcn.14006a0a0
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x1400979e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0xb0
mov rax, qword [0x1400cb0f0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov esi, ecx
mov r9d, 0x78
and ecx, 0x3ff
mov rbp, r8
mov ebx, edx
lea edx, [r9 - 0x77]
lea r8, [rsp + 0x20]
bts ecx, 0xa
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x140097ac9
movzx ecx, byte [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0xc8], rdi
test cl, cl
lea r8, [rsp + 0x20]
mov edi, edx
je 0x140097a7a
nop
lea eax, [rcx - 0x61]
add r8, 1
cmp al, 5
ja 0x140097a60
add cl, 0xd9
jmp 0x140097a6a
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x140097a6a
add cl, 0xf9
movsx eax, cl
mov cl, byte [r8]
add edi, edi
test cl, cl
lea edi, [rax + rdi*8 - 0x30]
jne 0x140097a50
cmp esi, edi
je 0x140097abc
test ebx, ebx
je 0x140097abc
mov rdi, qword [rbp]
movzx eax, byte [rdi]
lea rcx, [rdi + 1]
nop
cmp al, 0x41
jl 0x140097a98
cmp al, 0x5a
jle 0x140097a9e
sub al, 0x61
cmp al, 0x19
ja 0x140097aa9
mov al, byte [rcx]
add edx, 1
add rcx, 1
jmp 0x140097a90
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
cmp edx, ecx
je 0x140097ac1
mov eax, 1
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140068be0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x1400984c0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400cb0f0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140098507
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140068be0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14006ec20
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140068be0
add rsp, 0x38
ret

Function at 0x140098a80
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1400cb0f0]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x1400cdcb0]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x140098b01
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140098ae4
mov dword [0x1400cdcb0], 1
jmp 0x140098b06
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140098afb
mov dword [0x1400cdcb0], 2
jmp 0x140098b2b
mov eax, dword [0x1400cdcb0]
cmp eax, 1
jne 0x140098b1e
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x140098c32
cmp eax, 2
je 0x140098b2b
test eax, eax
jne 0x140098c30
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x140098b3a
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
movsxd r12, eax
je 0x140098c30
jle 0x140098c30
xor edx, edx
mov rax, 0xffffffffffffffe0
mov rcx, r12
div r12
cmp rax, 1
jb 0x140098c30
add rcx, 0x10
cmp rcx, 0x400
ja 0x140098bb8
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140098b96
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14009f120
sub rsp, rax
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x140098c30
mov dword [rbx], 0xcccc
jmp 0x140098bcb
call fcn.14006ed80
test rax, rax
mov rbx, rax
je 0x140098bcf
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x140098c30
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x140098c1a
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
mov r8, rbx
test eax, eax
lea edx, [r9 + 2]
mov ecx, esi
jne 0x140098c09
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x140098c12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x140098c2c
call fcn.14006ee50
mov eax, edi
jmp 0x140098c32
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.140068be0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140098d90
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1400cb0f0]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x1400cdcb4]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x140098e48
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140098df4
mov dword [0x1400cdcb4], 1
jmp 0x140098e56
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140098e42
mov dword [0x1400cdcb4], 2
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.140068be0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [0x1400cdcb4]
cmp eax, 2
je 0x140098e09
test eax, eax
je 0x140098e09
cmp eax, 1
jne 0x140098e7e
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x140098e65
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
movsxd r12, eax
jne 0x140098e82
xor eax, eax
jmp 0x140098e1c
jle 0x140098e7e
xor edx, edx
mov rax, 0xffffffffffffffe0
div r12
cmp rax, 2
jb 0x140098e7e
lea rcx, [r12 + r12 + 0x10]
cmp rcx, 0x400
ja 0x140098ed5
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140098eb7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14009f120
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140098e7e
mov dword [rbx], 0xcccc
jmp 0x140098ee8
call fcn.14006ed80
test rax, rax
mov rbx, rax
je 0x140098eec
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x140098e7e
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140098f3f
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
test eax, eax
mov qword [rsp + 0x38], rdi
mov r8, rbx
mov ecx, esi
mov qword [rsp + 0x30], rdi
jne 0x140098f2e
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x140098f37
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x140098f51
call fcn.14006ee50
mov eax, edi
jmp 0x140098e1c
Function at 0x140001510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [section..textshe]
test rdi, rdi
je 0x1400015da
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400015da
mov r9d, edi
mov r8d, 0xb4ed8
mov rdx, rax
lea rcx, [0x140362008]
call sym.ConsoleApplication1.exe_LZ4_decompress_safe
test eax, eax
jns 0x14000156b
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
jmp 0x1400015da
movsxd rsi, eax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001560
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop
call rdi
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400015df
mov eax, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret