joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051a90
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.1400477c0
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 0x140051b31
cmp ebx, dword [rsp + 0x30]
je 0x140051b2a
test esi, esi
je 0x140051b2a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140051b05
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140051b12
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140051aef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140051b16
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140051b33
mov eax, 1
jmp 0x140051b33
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140053970
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140078048]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400539ba
call fcn.14003ed5c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayDestroy
call fcn.14003ed7c
mov dword [rax], SafeArrayDestroy
call fcn.14003890c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140031ce0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400539c5
lea eax, [rbx + 1]
jmp 0x1400539a7
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400539a5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400539a7

Function at 0x140055df0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140055e18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140055e18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140a43188
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a4330f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a431b9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4319f
add dl, dl
jne 0x140a431c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a43226
xor eax, eax
add dl, dl
jne 0x140a431d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a432dd
add dl, dl
jne 0x140a431e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a431f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a43200
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4320d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a4321a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a431ae
mov eax, 1
add dl, dl
jne 0x140a43236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a43243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4322b
sub eax, ebx
mov ebx, 1
jne 0x140a4327c
mov ecx, 1
add dl, dl
jne 0x140a4325e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a4326b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a43253
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a431ae
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a43298
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a432a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4328d
cmp eax, 0x7d00
jae 0x140a432cb
cmp eax, 0x500
jb 0x140a432c6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a431ae
cmp eax, 0x7f
ja 0x140a432ce
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a431ae
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a43302
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a431ae
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x43d870
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x43d87d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x43d88d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x43d875
lea eax, [rcx + 1]
jmp 0x43d89b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x43d8ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x43d894
sub eax, 3
jb 0x43d8ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x43d91d
sar eax, 1
movsxd rbp, eax
jb 0x43d904
jmp 0x43d8dc
add ebx, ebx
jne 0x43d8da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x43d904
inc ecx
add ebx, ebx
jne 0x43d8ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x43d904
call r11
adc ecx, ecx
add ebx, ebx
jne 0x43d8fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x43d8ec
add ecx, 2
jmp 0x43d909
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0043d832
jmp 0x43d87d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x43d96d
cmp rsi, rcx
jae 0x43d975
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x43d954
cmp al, 0x8f
ja 0x43d954
cmp byte [rsi - 2], 0xf
je 0x43d95a
sub al, 0xe8
cmp al, 1
ja 0x43d93e
cmp rsi, rcx
jae 0x43d975
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x43d944
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x43d975
lodsb al, byte [rsi]
jmp 0x43d954
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3b000]
mov eax, dword [rdi]
or eax, eax
je 0x43d9d2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3d000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x43d982
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x43d9cc
mov qword [rbx], rax
add rbx, 8
jmp 0x43d9a2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0043da55], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0043da55
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x43da45
sub rsp, 0xffffffffffffff80
jmp 0x401510
Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000e008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000e008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000e008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000e008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x1400983dd
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x1400983fb
je 0x140098406
call 0x140098455
mov bl, 0xc7
lahf
pop rsi
jne 0x1400983e6
call 0x1400983fe
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x1400983e6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140098434
je 0x140098472
invalid
je 0x140098483
jne 0x1400983e6
lea rax, [0x14009830c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009406d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140098524
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009857d
je 0x140098583
call 0x140098574
fild qword [rdi - 0x7c]
jmp 0x174fd4cf6
jne 0x140098546
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140098506
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x1400983f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x1400983fb
je 0x140098406
call 0x140098455
mov bl, 0xc7
lahf
pop rsi
jne 0x1400983e6
call 0x1400983fe
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x1400983e6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140098434
je 0x140098472
invalid
je 0x140098483
jne 0x1400983e6
lea rax, [0x14009830c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009406d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140098524
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009857d
je 0x140098583
call 0x140098574
fild qword [rdi - 0x7c]
jmp 0x174fd4cf6
jne 0x140098546
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140098506
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14009841c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x1400983fb
je 0x140098406
call 0x140098455
mov bl, 0xc7
lahf
pop rsi
jne 0x1400983e6
call 0x1400983fe
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x1400983e6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140098434
je 0x140098472
invalid
je 0x140098483
jne 0x1400983e6
lea rax, [0x14009830c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009406d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140098524
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009857d
je 0x140098583
call 0x140098574
fild qword [rdi - 0x7c]
jmp 0x174fd4cf6
jne 0x140098546
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140098506
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140098455
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x1400983fb
je 0x140098406
call 0x140098455
mov bl, 0xc7
lahf
pop rsi
jne 0x1400983e6
call 0x1400983fe
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x1400983e6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140098434
je 0x140098472
invalid
je 0x140098483
jne 0x1400983e6
lea rax, [0x14009830c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009406d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140098524
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009857d
je 0x140098583
call 0x140098574
fild qword [rdi - 0x7c]
jmp 0x174fd4cf6
jne 0x140098546
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140098506
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140003570
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003394
Function at 0x1800042c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1800530b8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, ecx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.180015b40
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rbp + 0x70]
dec rax
nop
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x180004310
movups xmm0, xmmword [str.Tempxxxxxxxxxxxxxxxxxxxxxxxxxxxx.log]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18003c880]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x18003c890]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x18003c894]
mov word [rax + 0x24], cx
movzx ecx, byte [0x18003c896]
mov byte [rax + 0x26], cl
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.180001ee0
nop
mov r9d, 0x40
lea r8d, [r9 - 0x38]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1800078f0
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.180002c60
mov rcx, rax
call fcn.180001b10
lea rcx, [rsp + 0x28]
call fcn.1800064d0
test rax, rax
jne 0x1800043c8
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rsp + rcx + 0x68], 0
cmovne eax, edx
or eax, dword [rsp + rcx + 0x30]
and eax, 0x17
mov dword [rsp + rcx + 0x30], eax
and eax, dword [rsp + rcx + 0x34]
jne 0x180004454
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1c], edx
lea rcx, [rsp + 0x28]
call fcn.180002910
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x1c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.180012d74
nop
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180013440
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rbp
ret
test al, 4
je 0x180004461
lea rbx, str.ios_base::badbit_set
jmp 0x180004475
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x30]
call fcn.180007840
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1800026a0
lea rdx, [0x180050b38]
lea rcx, [rbp + 0x40]
call fcn.180014724
int3
Function at 0x1800044b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1800530b8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xd0]
call fcn.180015b40
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rbp + 0xd0]
dec rax
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x180004510
movups xmm0, xmmword [str.Tempxxxxxxxxxxxxxxxxxxxxxxxxxxxx.log]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18003c880]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x18003c890]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x18003c894]
mov word [rax + 0x24], cx
movzx ecx, byte [0x18003c896]
mov byte [rax + 0x26], cl
lea rcx, [rsp + 0x20]
call fcn.18001fb50
lea rcx, [rsp + 0x20]
call fcn.18001f6fc
mov r9, rax
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x50
lea rcx, [rbp + 0x80]
call fcn.18001fb34
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180001ee0
nop
mov r9d, 0x40
lea r8d, [r9 - 0x38]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x30]
call fcn.1800078f0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.180001070
mov rcx, rax
mov rdx, rbx
call fcn.180001070
mov rcx, rax
call fcn.180001b10
lea rcx, [rsp + 0x38]
call fcn.1800064d0
test rax, rax
jne 0x18000460a
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rsp + rcx + 0x78], 0
cmovne eax, edx
or eax, dword [rsp + rcx + 0x40]
and eax, 0x17
mov dword [rsp + rcx + 0x40], eax
and eax, dword [rsp + rcx + 0x44]
jne 0x180004696
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.180002910
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180012d74
nop
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.180013440
mov rbx, qword [rsp + 0x308]
add rsp, 0x2f0
pop rbp
ret
test al, 4
je 0x1800046a3
lea rbx, str.ios_base::badbit_set
jmp 0x1800046b7
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x40]
call fcn.180007840
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1800026a0
lea rdx, [0x180050b38]
lea rcx, [rbp + 0x50]
call fcn.180014724
int3