joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400123d0
Capabilities:
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
lea esi, [r8 - 0x25c3]
mov edi, r8d
mov ecx, esi
lea eax, [r9 - 0x83]
xor ecx, 0x274b
xor edi, 0x79
mov rbx, rdx
cmp eax, ecx
jg 0x14001249f
xor r9d, 0x313
cmp esi, r9d
je 0x140012467
cmp dword [rdx + 0xd8], 0x1590e
jae 0x14001243e
mov eax, dword [rdx + 0xa4]
sub eax, dword [rdx + 0x20]
sub eax, 0x17612
add dword [rdx + 0x110], eax
jmp 0x140012454
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14c]
add ecx, 0x6774d
mov dword [rdx + 0x54], ecx
mov eax, dword [rdx + 0x70]
xor eax, dword [0x1400d8120]
add eax, 0x40a80917
xor dword [rdx + 0x54], eax
jmp 0x14001249f
cmp dword [rdx + 0x60], edi
jbe 0x14001249f
mov ecx, dword [rdx + 0xac]
mov ebp, dword [rdx + 0x178]
add ecx, esi
cmp ebp, ecx
jbe 0x14001249f
mov r14d, edi
or r14d, esi
mov ecx, r14d
sub ecx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [rbx + 0xac]
add ebp, 2
add ecx, esi
cmp ebp, ecx
ja 0x140012484
mov rbx, qword [rsp + 0x30]
lea eax, [rdi - 7]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014e80
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov esi, dword [rsp + 0x68]
mov rbx, rcx
mov r8d, dword [rsp + 0x60]
movsxd rdi, edx
mov r10d, edi
lea ebp, [rsi - 0x153]
xor r10d, 0x201
lea ecx, [r8 - 0x1ad]
xor esi, 0x2530
xor r8d, 0x264a
lea eax, [rdi - 0x8b]
lea r14d, [rdi - 0x191]
cmp r8d, eax
je 0x140015034
mov eax, r10d
xor eax, 0x6b5
cmp edi, eax
jl 0x1400150d1
xor ecx, 0x91
xor r10d, 0x263
mov edx, ecx
mov dword [r11 - 0x18], r10d
mov rcx, rbx
mov r9d, r14d
mov r8d, edi
call fcn.1400011e0
lea rax, [0x140044f80]
xor r9d, r9d
mov qword [rbx + 0xe0], rax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xe0]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rcx + 0xc0]
add dword [rbx + 0xac], eax
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x24]
imul r8d, dword [rax + 0x58]
mov eax, dword [rbx + 0x90]
add eax, 0xfff1793b
add ecx, eax
or dword [rbx + 8], ecx
mov rax, qword [section..data]
mov edx, r8d
shr edx, 0x10
mov ecx, dword [rax + 0x80]
add ecx, dword [rbx + 0x140]
mov eax, dword [rbx + 0xc4]
xor ecx, 0xc7366
imul eax, ecx
movsxd rcx, dword [rbx + 0x6c]
mov dword [rbx + 0xc4], eax
mov eax, dword [0x1400d805c]
add eax, 0xffffffef
xor dword [rbx + 0xc0], eax
mov eax, dword [rbx + 8]
xor eax, 0xf
add dword [rbx + 0x178], eax
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x6c]
mov rax, qword [0x1400d8100]
movsxd rcx, dword [rbx + 0x6c]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x6c]
movsxd rcx, dword [rbx + 0x6c]
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x6c]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x90]
dec ecx
add dword [rbx + 0xb0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 8]
xor ecx, dword [rbx + 0x80]
sub ecx, 0xf
or dword [rbx + 0x110], ecx
cmp r9, 0x87df0
jl 0x140014f24
mov eax, dword [rbx + 0xb4]
mov dword [0x1400d8068], eax
jmp 0x1400150d1
xor ecx, 0x254a
and ecx, dword [0x1400d8030]
cmp r10d, ecx
jbe 0x1400150d1
mov r9d, 0x21fb
mov qword [rsp + 0x20], 0x310c
mov r8b, 0x70
mov edx, 0x1d2e
mov ecx, 0x33ab
call fcn.1400045c0
movsxd rcx, eax
mov rax, qword [section..data]
mov qword [0x14016e068], rcx
mov ecx, dword [rbx + 0x110]
mov r10d, dword [rbx + 0x10c]
xor ecx, 0x274b
mov edx, dword [rax + 0x110]
imul r10d, dword [rbx + 0xc4]
or edx, 0x26c2
mov r8d, dword [rbx + 0xec]
sub edx, r14d
imul ecx, dword [0x1400d8188]
add r8d, esi
mov qword [rsp + 0x28], rdx
mov edx, 0x26c0
movsxd r9, ebp
or r9, rdi
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
lea eax, [rbp + 0x1d6]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140001380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140001380
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rdi, rsp
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x48], 0x10
mov byte [rsp + 0x49], 0x2e
mov byte [rsp + 0x4a], 0x21
mov byte [rsp + 0x4b], 0xf
mov byte [rsp + 0x4c], 0x1d
mov byte [rsp + 0x4d], 0x33
mov byte [rsp + 0x4e], 0x37
mov byte [rsp + 0x4f], 0
mov byte [rsp + 0x50], 0x37
mov byte [rsp + 0x51], 0xc
mov byte [rsp + 0x52], 0x29
mov byte [rsp + 0x53], 0x15
mov byte [rsp + 0x54], 0x2a
mov byte [rsp + 0x55], 0x36
mov byte [rsp + 0x56], 0x1c
mov byte [rsp + 0x57], 0x22
mov byte [rsp + 0x58], 0x34
mov byte [rsp + 0x59], 0x3b
mov byte [rsp + 0x5a], 0
mov eax, 0x47
mov word [rsp + 0x78], ax
mov eax, 0x45
mov word [rsp + 0x7a], ax
mov eax, 0x54
mov word [rsp + 0x7c], ax
xor eax, eax
mov word [rsp + 0x7e], ax
mov byte [rsp + 0x38], 1
lea rax, str.GGOGi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 9
mov r8d, 8
mov edx, 7
xor ecx, ecx
call fcn.14000100f
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140062f60]
call fcn.1400023f0
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400023d0
add rsp, 0xa0
pop rdi
ret
Function at 0x140001500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140001500
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rdi, rsp
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x48], 0x2e
mov byte [rsp + 0x49], 0x1f
mov byte [rsp + 0x4a], 0x1a
mov byte [rsp + 0x4b], 0xa
mov byte [rsp + 0x4c], 0xd
mov byte [rsp + 0x4d], 0xd
mov byte [rsp + 0x4e], 6
mov byte [rsp + 0x4f], 0x27
mov byte [rsp + 0x50], 0x27
mov byte [rsp + 0x51], 0x17
mov byte [rsp + 0x52], 0x1d
mov byte [rsp + 0x53], 0x24
mov byte [rsp + 0x54], 0x11
mov byte [rsp + 0x55], 0x33
mov byte [rsp + 0x56], 0xc
mov byte [rsp + 0x57], 0x1c
mov byte [rsp + 0x58], 5
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 0
mov eax, 0x75
mov word [rsp + 0x78], ax
mov eax, 0x6d
mov word [rsp + 0x7a], ax
mov eax, 0x6f
mov word [rsp + 0x7c], ax
mov eax, 0x50
mov word [rsp + 0x7e], ax
mov eax, 0x51
mov word [rsp + 0x80], ax
mov eax, 0x4f
mov word [rsp + 0x82], ax
mov eax, 0x75
mov word [rsp + 0x84], ax
mov eax, 0x68
mov word [rsp + 0x86], ax
mov eax, 0x78
mov word [rsp + 0x88], ax
mov eax, 0x64
mov word [rsp + 0x8a], ax
xor eax, eax
mov word [rsp + 0x8c], ax
mov byte [rsp + 0x38], 1
lea rax, str.yvtBy
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
mov r8d, 0xb
mov edx, 0xa
xor ecx, ecx
call fcn.14000100f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call rax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140063010]
call fcn.1400023f0
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400023d0
add rsp, 0xb0
pop rdi
ret
Function at 0x1400016b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1400016b0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x48], 0x33
mov byte [rsp + 0x49], 0x33
mov byte [rsp + 0x4a], 0x14
mov byte [rsp + 0x4b], 0x3b
mov byte [rsp + 0x4c], 0x27
mov byte [rsp + 0x4d], 0x10
mov byte [rsp + 0x4e], 0x2a
mov byte [rsp + 0x4f], 0x28
mov byte [rsp + 0x50], 0x16
mov byte [rsp + 0x51], 0x30
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x53], 0x33
mov byte [rsp + 0x54], 0xc
mov byte [rsp + 0x55], 0x16
mov byte [rsp + 0x56], 1
mov byte [rsp + 0x57], 1
mov byte [rsp + 0x58], 0x29
mov byte [rsp + 0x59], 0xa
mov byte [rsp + 0x5a], 0x1c
mov byte [rsp + 0x5b], 0x3d
mov byte [rsp + 0x5c], 0x17
mov byte [rsp + 0x5d], 0x3f
mov byte [rsp + 0x5e], 0
mov byte [rsp + 0x38], 1
lea rax, str.dZzsS
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x17
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8d, 0xe
mov edx, 0xd
xor ecx, ecx
call fcn.14000100f
xor edx, edx
mov rcx, qword [rsp + 0x90]
call rax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140063070]
call fcn.1400023f0
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400023d0
add rsp, 0x80
pop rdi
ret
Function at 0x1400017d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1400017d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rdi, rsp
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x48], 0x23
mov byte [rsp + 0x49], 0x11
mov byte [rsp + 0x4a], 0x19
mov byte [rsp + 0x4b], 0x21
mov byte [rsp + 0x4c], 0x30
mov byte [rsp + 0x4d], 0
mov byte [rsp + 0x4e], 8
mov byte [rsp + 0x4f], 0x25
mov byte [rsp + 0x50], 0xc
mov byte [rsp + 0x51], 0x25
mov byte [rsp + 0x52], 0x10
mov byte [rsp + 0x53], 0x3c
mov byte [rsp + 0x54], 0x16
mov byte [rsp + 0x55], 0x1d
mov byte [rsp + 0x56], 0x25
mov byte [rsp + 0x57], 0
mov byte [rsp + 0x78], 0x22
mov byte [rsp + 0x79], 0x2e
mov byte [rsp + 0x7a], 0x14
mov byte [rsp + 0x7b], 0x31
mov byte [rsp + 0x7c], 0x38
mov byte [rsp + 0x7d], 1
mov byte [rsp + 0x7e], 0x37
mov byte [rsp + 0x7f], 0x39
mov byte [rsp + 0x80], 0x15
mov byte [rsp + 0x81], 0x23
mov byte [rsp + 0x82], 6
mov byte [rsp + 0x83], 0x22
mov byte [rsp + 0x84], 0x32
mov byte [rsp + 0x85], 0x18
mov byte [rsp + 0x86], 0x22
mov byte [rsp + 0x87], 0x11
mov byte [rsp + 0x88], 0x2b
mov byte [rsp + 0x89], 0x1f
mov byte [rsp + 0x8a], 0
mov byte [rsp + 0x38], 1
lea rax, str.txwiD
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x12
mov r8d, 0x11
mov edx, 0x10
xor ecx, ecx
call fcn.14000100f
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov byte [rsp + 0x38], 1
lea rax, [0x140062d60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x15
mov r8d, 0x14
mov edx, 0x13
xor ecx, ecx
call fcn.14000100f
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 8], rax
mov rcx, rsp
lea rdx, [0x140063110]
call fcn.1400023f0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400023d0
add rsp, 0xb0
pop rdi
ret
Function at 0x140002cd7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400023ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400023e6
repz ret
ror rcx, 0x10
jmp 0x140002c30
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140076a00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140076af8]
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 0x140002cb5
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, [0x140076a00]
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 0x140002cd7
mov rax, qword [rsp + 0x88]
mov qword [0x140076af8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140076a98], rax
mov rax, qword [0x140076af8]
mov qword [0x140076970], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140076a80], rax
mov dword [0x140076960], 0xc0000409
mov dword [0x140076964], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140075008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400769f8], eax
mov ecx, 1
call fcn.14000c450
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str._i_a_
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400769f8], 0
jne 0x140002d5e
mov ecx, 1
call fcn.14000c450
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 0x14062ca00
Capabilities:
Terminate process

Disassembly:
iretd
cld
pop r11
jmp 0x14062ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14062ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14062ca05
lea eax, [rcx + 1]
jmp 0x14062ca2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14062ca3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14062ca24
sub eax, 3
jb 0x14062ca5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14062caad
sar eax, 1
movsxd rbp, eax
jb 0x14062ca94
jmp 0x14062ca6c
add ebx, ebx
jne 0x14062ca6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14062ca94
inc ecx
add ebx, ebx
jne 0x14062ca7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14062ca94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14062ca8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14062ca7c
add ecx, 2
jmp 0x14062ca99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14062c9c2
jmp 0x14062ca0d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x623000]
mov eax, dword [rdi]
or eax, eax
je 0x14062cb19
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x62ea60]
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 0x14062cabd
jns 0x14062caf2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14062cafc
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 0x14062cb13
mov qword [rbx], rax
add rbx, 8
jmp 0x14062cadd
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14062cb5d
cmp al, 0xef
ja 0x14062cb45
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14062cb25
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14062cb34
mov eax, dword [rdi]
add rdi, 4
jmp 0x14062cb34
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 + 0x25f]
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.14062cbdc], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14062cbdc
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14062cbcc
sub rsp, 0xffffffffffffff80
jmp 0x140473ac8
Function at 0x1800016e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180001708
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18000172e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180001730
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180001789
test ecx, ecx
jle 0x180001769
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180001789
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180001789
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1800017b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800017d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1800017e8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180001804
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180001806
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180001842
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800018de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000187d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1800018be
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1800018de
cmp rbx, rax
ja 0x180001890
test rbx, rbx
je 0x1800018de
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x180001d40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800113c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x180001d6d
xor eax, eax
jmp 0x180001ed9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180001da7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180001da7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180001ed9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180001ecc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180001dea
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180001e15
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180001ed1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180001e84
sub eax, 1
je 0x180001e84
cmp eax, 2
jne 0x180001ecc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180001ed1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180001eb2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180001ecc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180001ed1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180009150
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180002320
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800113c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800023f3
cmp byte [rcx + 0x71], 0
je 0x1800023f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800023ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800023b4
sub eax, 1
je 0x1800023b8
cmp eax, 2
jne 0x1800023ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180009150
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800023e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1800023ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000239c
xor al, al
jmp 0x18000239c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180009150
add rsp, 0x60
pop rbx
ret

Function at 0x1800064b0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800062a0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180006587
mov dword [rsp + 0x20], 0
jmp 0x180006524
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180006587
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180006585
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180006080
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000651a
add rsp, 0x30
pop rdi
ret