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

Disassembly:
jmp 0x140068c80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140131878]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14014329a]
call fcn.1400508f4
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
lea rdx, [rbp + 4]
mov rcx, qword [rbp + 0x1f0]
call fcn.140050160
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140068dfb
mov eax, dword [rbp + 0x64]
mov edx, 1
mov ecx, eax
call fcn.14004f076
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140068d37
lea rcx, str.____Couldnt_allocate_memory_to_retrieve_version_data
call fcn.14004f4d1
jmp 0x140068dfb
mov r9, qword [rbp + 0x88]
mov r8d, dword [rbp + 0x64]
xor edx, edx
mov rcx, qword [rbp + 0x1f0]
call fcn.140050930
test eax, eax
je 0x140068def
lea r9, [rbp + 0x24]
lea r8, [rbp + 0x48]
lea rdx, [0x1400f9824]
mov rcx, qword [rbp + 0x88]
call fcn.14004dac3
test eax, eax
je 0x140068def
cmp dword [rbp + 0x24], 0
je 0x140068def
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
cmp dword [rax], 0xfeef04bd
jne 0x140068def
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xc4]
lea r8, str._ld__ld
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x1e0]
call fcn.14004e194
mov rcx, qword [rbp + 0x88]
call fcn.14004e45f
lea rcx, [rbp - 0x30]
lea rdx, [0x1401130b0]
call fcn.14004fed6
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14004eb76
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14004eebe
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14007c6c0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140116fa8]
xor ecx, ecx
lea r8, [0x140116fa0]
lea rdx, str.FlsAlloc
call fcn.14007c240
test rax, rax
je 0x14007c6f9
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140144020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x14004ef4a
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c6430
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140119c08]
mov rbp, rcx
lea r8, [0x140119c00]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1400c594c
test rax, rax
je 0x1400c6490
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140144030]
jmp 0x1400c64aa
xor edx, edx
mov rcx, rbp
call fcn.14004e662
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14004ef63
Capabilities:
Terminate process

Disassembly:
jmp 0x14006d698
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14004efcc
Capabilities:
Terminate thread

Disassembly:
jmp 0x14005ab80
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401430bc]
call fcn.1400508f4
xor edx, edx
mov rcx, qword [0x140132a08]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x140132a08], 0
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14004f00d
Capabilities:
Get process image filename

Disassembly:
jmp 0x140054f30
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140131878]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x140143016]
call fcn.1400508f4
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x54], 0
lea rcx, str.ntdll.dll
call fcn.14004ff49
mov edx, 1
mov rcx, qword [rax + 0x30]
call fcn.1400504c6
mov qword [rbp + 0x78], rax
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 0x78]
call fcn.14004d2b2
mov qword [rbp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x54]
mov qword [rsp + 0x20], rcx
mov r9d, 0x30
lea r8, [rbp + 8]
xor edx, edx
mov rcx, rax
call qword [rbp + 0x98]
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0xb4], eax
mov r8d, dword [rbp + 0xb4]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rbp + 0x100]
mov rcx, qword [rbp + 0xd8]
call fcn.14004ff35
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x104
lea rdx, [rbp + 0x230]
mov rcx, rax
call fcn.14004ff35
mov rcx, qword [rbp + 0x78]
call fcn.14004ff8a
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x100]
call fcn.140050e99
test eax, eax
jne 0x140055087
mov dword [rbp + 0x4c4], 1
jmp 0x140055091
mov dword [rbp + 0x4c4], 0
mov eax, dword [rbp + 0x4c4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400f4270]
call fcn.14004fed6
mov eax, edi
mov rcx, qword [rbp + 0x4c8]
xor rcx, rbp
call fcn.14004eb76
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret

Function at 0x14004f107
Capabilities:
Parse pe header

Disassembly:
jmp 0x14008872c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140088478
Function at 0x14004f670
Capabilities:
Clear file content

Disassembly:
jmp 0x1400e8e50
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14004d947
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14004d947
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400e8fa0
cmp rax, 0xffffffffffffffff
je 0x1400e8fa0
xor edi, edi
test rbp, rbp
jle 0x1400e8f4b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140050354
mov rbx, rax
test rax, rax
jne 0x1400e8ed8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400e8f41
mov edx, 0x8000
mov ecx, r14d
call fcn.14004f882
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14004ffe4
cmp eax, 0xffffffff
je 0x1400e8f21
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400e8ee8
mov edx, r15d
mov ecx, r14d
call fcn.14004f882
jmp 0x1400e8f41
cmp byte [rsi + 0x38], dil
je 0x1400e8f38
cmp dword [rsi + 0x34], 5
jne 0x1400e8f38
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400e8f41
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004d1c2
jmp 0x1400e8fb4
jns 0x1400e8fb4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14004d947
cmp rax, 0xffffffffffffffff
jne 0x1400e8f6c
cmp byte [rsi + 0x30], dil
je 0x1400e8fb4
mov edi, dword [rsi + 0x2c]
jmp 0x1400e8fb4
mov ecx, r14d
call fcn.140050b0b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400e8fb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400e8fb4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400e8fad
mov eax, dword [rsi + 0x2c]
jmp 0x1400e8fb2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14004d947
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14004f6e3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140058350
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14014305a]
call fcn.1400508f4
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14005839b
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
jne 0x14005839b
mov dword [rbp + 0xd4], 1
jmp 0x1400583a5
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14004f701
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006e47c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006e4c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006e4c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006e4c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006e4c7
cmp dword [rcx + 0x84], 0xe
jbe 0x14006e4c7
cmp dword [rcx + 0xf8], 0
je 0x14006e4c7
mov al, 1
jmp 0x14006e4c9
xor al, al
add rsp, 0x28
ret
Function at 0x14004fc6f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b61b4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400b61ce
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400504e9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14004ff35
Capabilities:
Get process image filename

Disassembly:
jmp 0x14006c244
jmp qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
Function at 0x1400505fc
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007c7c8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140117008]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140117000]
call fcn.14007c240
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14007c808
call qword [0x140144020]
jmp 0x14007c80e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400507d7
Capabilities:
Parse pe header

Disassembly:
jmp 0x14008871c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140088478
Function at 0x140050c46
Capabilities:
Delete file

Disassembly:
jmp 0x140069e00
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401432af]
call fcn.1400508f4
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.dbghelp.dll_SymCleanup]
cmp dword [rbp + 0xe8], 0
je 0x140069e69
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call fcn.14004e45f
mov rax, qword [rbp + 0xe0]
mov qword [rax], 0
mov rcx, qword [rbp + 0xe0]
call fcn.14004e45f
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140050c87
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x1400583d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140131878]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14014305a]
call fcn.1400508f4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14005845c
xor eax, eax
jmp 0x1400584ca
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.14004f198
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400584ab
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
je 0x1400584bc
mov rcx, qword [rbp + 0x48]
call fcn.14004e45f
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400fcf50]
call fcn.14004fed6
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14004eb76
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140067bc0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [0x140131860]
call fcn.140050499
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x1400e43ec
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140134ee0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400e444a
cmp word [rdx], r12w
jne 0x1400e444a
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400e4450
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400e45ab
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400e4586
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400e4489
mov rcx, r9
jmp 0x1400e44ac
cmp r9, rdx
jae 0x1400e44c3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400e446d
jmp 0x1400e45ab
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e4580
cmp dword [rsp + 0x80], edi
je 0x1400e4580
mov rdx, r14
lea r11, [0x140134ee0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400e4559
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400e452c
mov word [rbx], r12w
jmp 0x1400e45a7
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400e4535
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400e45a7
cmp word [rsp + 0x70], r12w
jne 0x1400e4566
cmp rbx, rsi
je 0x1400e4526
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14004d947
cmp word [rsp + 0x70], r12w
je 0x1400e45ab
mov word [rbx], r13w
jmp 0x1400e45a7
lea r11, [0x140134ee0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400e45a3
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400e45ab
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140034311
Capabilities:
Write file on windows

Disassembly:
jmp 0x140081970
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ce069]
call fcn.140036076
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400819c7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140081ad3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140081a6c
cmp qword [rbp + 0x28], 0
jle 0x140081a6c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140081a0c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140035e50
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140081ac2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140081ac2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14003459b
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14006bda0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ce01e]
call fcn.140036076
mov qword [rbp + 8], 0
jmp 0x14006bdde
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14006be34
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14006bdd3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140035243
Capabilities:
Terminate process

Disassembly:
jmp 0x140099350
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 0x1400354fa
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400931c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400931fd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14003604e
add rsp, 0x58
ret

Function at 0x140035667
Capabilities:
Parse pe header

Disassembly:
jmp 0x140099e80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140099ea0
xor al, al
jmp 0x140099f21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140099eb3
xor al, al
jmp 0x140099f21
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 0x140099edd
xor al, al
jmp 0x140099f21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140099ef1
xor al, al
jmp 0x140099f21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140099f03
xor al, al
jmp 0x140099f21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140099f1f
xor al, al
jmp 0x140099f21
mov al, 1
add rsp, 0x38
ret
Function at 0x140035ff4
Capabilities:
Write file on windows

Disassembly:
jmp 0x14006b040
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x1400bf048]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x1400ce069]
call fcn.140036076
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14006b0a6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006b0ad
mov al, 1
jmp 0x14006b21f
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x198], rax
call fcn.140034901
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1d0]
call qword [rbp + 0x198]
mov dword [rbp + 0x164], eax
call fcn.140034901
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140035b30
movzx eax, al
test eax, eax
je 0x14006b112
xor al, al
jmp 0x14006b21f
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x198], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x198]
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 + 0x1a0], eax
cmp dword [rbp + 0x1a0], 0
je 0x14006b185
cmp dword [rbp + 0x1a0], 1
je 0x14006b190
cmp dword [rbp + 0x1a0], 3
je 0x14006b20e
jmp 0x14006b21d
mov rax, qword [rbp + 0x1d0]
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 0x14006b1e0
mov rax, qword [rbp + 0x1d0]
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 0x14006b1e0
xor al, al
jmp 0x14006b21f
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006b1fb
mov dword [rbp + 0x194], 1
jmp 0x14006b205
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14006b21f
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006b21f
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400a8290]
call fcn.140035ae5
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.140034faf
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret