joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007be14
Capabilities:
Get geographical location

Disassembly:
jmp 0x14012e910
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14012d880
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14012e977
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401c9030]
jmp 0x14012e999
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14007b595
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x14007be23
Capabilities:
Terminate process

Disassembly:
jmp 0x14008bad0
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 0x14007c05d
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401518d0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401b5018]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1401518f6
jmp 0x140151973
mov rcx, qword [rbp + 0x30]
call fcn.14007b88d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14015190f
jmp 0x140151973
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14015192c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14007a9e7
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14007ae0b
test eax, eax
jne 0x140151973
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14007ba8b
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14007c2ce
Capabilities:
Create process on windows

Disassembly:
jmp 0x140155820
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.14007b45f
lea rcx, [rsp + 0xb8]
call fcn.14007b45f
lea rcx, [rsp + 0x88]
call fcn.14007b45f
call fcn.14007bd2e
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.14007b25c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401558c2
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.14007b7a2
lea rcx, [rsp + 0xb8]
call fcn.14007b7a2
lea rcx, [rsp + 0xe8]
call fcn.14007b7a2
mov eax, dword [rsp + 0x54]
jmp 0x140155a68
call fcn.14007bd2e
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.14007b25c
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140155922
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.14007b7a2
lea rcx, [rsp + 0xb8]
call fcn.14007b7a2
lea rcx, [rsp + 0xe8]
call fcn.14007b7a2
mov eax, dword [rsp + 0x5c]
jmp 0x140155a68
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x1401559a8
call fcn.14007bd2e
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.14007b25c
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140155996
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.14007b7a2
lea rcx, [rsp + 0xb8]
call fcn.14007b7a2
lea rcx, [rsp + 0xe8]
call fcn.14007b7a2
mov eax, dword [rsp + 0x64]
jmp 0x140155a68
lea rcx, [rsp + 0x88]
call fcn.14007b3dd
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.14007b3dd
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.14007b3dd
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.14007b7a2
lea rcx, [rsp + 0xb8]
call fcn.14007b7a2
lea rcx, [rsp + 0xe8]
call fcn.14007b7a2
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x14007c553
Capabilities:
Parse pe header

Disassembly:
jmp 0x14008c600
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14008c620
xor al, al
jmp 0x14008c6a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14008c633
xor al, al
jmp 0x14008c6a1
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 0x14008c65d
xor al, al
jmp 0x14008c6a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14008c671
xor al, al
jmp 0x14008c6a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14008c683
xor al, al
jmp 0x14008c6a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14008c69f
xor al, al
jmp 0x14008c6a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14007ca99
Capabilities:
Terminate process

Disassembly:
jmp 0x1400af450
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400af47e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14007d2aa
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14007d304
Capabilities:
Print debug messages

Disassembly:
jmp 0x140123ab0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14007d3c7
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400adf20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400ad870
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400adf69
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401c9020]
jmp 0x1400adf78
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x14007d48f
Capabilities:
Set environment variable

Disassembly:
jmp 0x14015f410
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14007b45f
lea rcx, [rsp + 0x48]
call fcn.14007b45f
call fcn.14007bd2e
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14007b25c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14015f47f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14007b7a2
lea rcx, [rsp + 0x78]
call fcn.14007b7a2
mov eax, dword [rsp + 0x24]
jmp 0x14015f510
call fcn.14007bd2e
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14007b25c
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14015f4c6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14007b7a2
lea rcx, [rsp + 0x78]
call fcn.14007b7a2
mov eax, dword [rsp + 0x2c]
jmp 0x14015f510
lea rcx, [rsp + 0x48]
call fcn.14007b3dd
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14007b3dd
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14007b7a2
lea rcx, [rsp + 0x78]
call fcn.14007b7a2
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140157e10
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14007a9e7
sub rsp, rax
mov rax, qword [0x1401b5018]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401b8100]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140158002
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140157f56
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140157f56
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x140157f3b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140157ed8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140157fc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140158021
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x140157ffd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140158021
jmp 0x140157eae
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007ba8b
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1401580d0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14007a9e7
sub rsp, rax
mov rax, qword [0x1401b5018]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401b8100]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401582dd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140158229
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140158229
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140158209
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140158198
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14015829d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401582fc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1401582d8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401582fc
jmp 0x14015816e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007ba8b
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140033a00]
mov dword [rax], 1
mov rax, qword [0x140033a10]
mov dword [rax], 1
mov rax, qword [0x140033a20]
mov dword [rax], 1
mov rax, qword [0x1400339f0]
mov dword [rax], 1
mov rax, qword [0x140033810]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001db0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
mov rcx, rdx
mov r13, rdx
call sub.msvcrt.dll_strlen
mov rcx, r13
mov r9, r12
mov edx, 1
mov r8, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x140001df0
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.14001d7c0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140001e40
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.14001d7c0]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
push rsi
push rbx
mov r10, qword [0x140045f70]
movabs rax, 0xe7037ed1a0b428db
movabs rbx, 0xa0761d6478bd642f
mov r9, rcx
mov rcx, qword [r10]
xor rax, r9
mul rbx
movabs rbx, 0xeb44accab455d16d
xor rax, rdx
mul rbx
mov r11, rdx
xor r11, rax
cmp rdx, rax
mov eax, 0x12b9b0a1
cmove r11, rax
test rcx, rcx
je 0x140002010
mov r8, qword [rcx]
test r8, r8
je 0x140002010
sub r8, 1
mov rax, r8
and rax, r11
lea rdx, [rax + rax*2]
mov rdx, qword [rcx + rdx*8 + 0x10]
test rdx, rdx
je 0x140001f35
nop dword [rax + rax]
cmp rdx, r11
jne 0x140001f20
lea rdx, [rax + rax*2]
cmp r9, qword [rcx + rdx*8 + 0x18]
je 0x140001f38
add rax, 1
and rax, r8
lea rdx, [rax + rax*2]
mov rdx, qword [rcx + rdx*8 + 0x10]
test rdx, rdx
jne 0x140001f10
not rax
test rax, rax
js 0x140002010
sub qword [r10 + 8], 1
lea rdx, [rax + rax*2]
shl rdx, 3
mov qword [rcx + rdx + 0x10], 0
mov rcx, qword [r10]
add rcx, rdx
mov qword [rcx + 0x18], 0
add rdx, qword [r10]
mov byte [rdx + 0x20], 0
lea rdx, [rax + 1]
mov r11, qword [r10]
and rdx, r8
lea rcx, [rdx + rdx*2]
mov rcx, qword [r11 + rcx*8 + 0x10]
test rcx, rcx
jne 0x140001faf
jmp 0x140002010
cmp rax, rcx
jl 0x140001f9a
cmp rax, rdx
jle 0x140001fc1
add rdx, 1
and rdx, r8
lea rcx, [rdx + rdx*2]
mov rcx, qword [r11 + rcx*8 + 0x10]
test rcx, rcx
je 0x140002010
and rcx, r8
cmp rcx, rdx
jle 0x140001f90
cmp rax, rcx
jge 0x140001fc1
cmp rax, rdx
jg 0x140001f9a
lea rax, [rax + rax*2]
lea rcx, [r11 + rax*8]
lea rax, [rdx + rdx*2]
shl rax, 3
add r11, rax
movdqu xmm0, xmmword [r11 + 0x10]
movups xmmword [rcx + 0x10], xmm0
mov r11, qword [r11 + 0x20]
mov qword [rcx + 0x20], r11
mov rcx, qword [r10]
lea rax, [rcx + rax + 0x10]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rax, rdx
mov rcx, qword [r10]
jmp 0x140001f46
mov rcx, r9
pop rbx
pop rsi
jmp qword [0x14004d088]

Function at 0x1400050a0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x48
mov byte [rsp + 0x3f], 1
movzx eax, byte [rsp + 0x3f]
mov r12, rcx
mov qword [rsp + 0x28], rdx
test al, al
jne 0x1400050d0
add rsp, 0x48
pop r12
pop r13
ret
mov ecx, 2
call qword [fcn.14001d7c0]
mov r8, qword [rsp + 0x28]
mov rcx, r12
mov edx, 1
mov r13, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x48
pop r12
pop r13
jmp sub.msvcrt.dll_fflush
Function at 0x14000c0f0
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbx, [0x14002dd80]
mov r13, rcx
mov r12d, edx
lea rcx, [0x14002dd00]
mov edx, 0x622ed00e
call fcn.14000b420
mov edx, 0x356b094a
mov rcx, rax
call fcn.14000bb80
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
lea rsi, [rax + 0x20]
nop dword [rax]
movzx eax, word [r13]
mov rdx, r13
test ax, ax
je 0x14000c170
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000c1f0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x14000c150
mov r8, qword [rdi + 0x50]
movzx eax, word [r8]
test ax, ax
je 0x14000c1a0
mov rdx, r8
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000c210
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x14000c180
mov rdx, r8
mov rcx, r13
call fcn.14000c080
mov edx, 0x4a40ec8e
mov rcx, rbx
mov rbp, rax
call fcn.14000b420
mov edx, 0x54130eca
mov rcx, rax
call fcn.14000bb80
test rbp, rbp
je 0x14000c226
mov rdi, qword [rdi]
cmp rsi, rdi
jne 0x14000c140
mov edx, r12d
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x14000df40
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x14000c150
jmp 0x14000c170
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x14000c180
jmp 0x14000c1a0
mov rax, qword [rdi + 0x20]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
push r12
push rbx
sub rsp, 0x48
mov r12, rcx
test edx, edx
je 0x14000dff0
mov edx, 0x5278b22e
lea rcx, [0x140032cc0]
lea rbx, [rsp + 0x30]
call fcn.14000b420
mov edx, 0x1a713baa
mov rcx, rax
call fcn.14000bb80
mov rax, qword [0x1400335a0]
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [rax]
mov rax, qword [0x140033570]
lea r9, [rsp + 0x28]
xor edx, edx
mov r8, rbx
xor ecx, ecx
call qword [rax]
mov edx, 0x2007e6a
lea rcx, [0x140032c80]
mov r12d, eax
call fcn.14000b420
mov edx, 0x4a40ec8e
mov rcx, rax
call fcn.14000bb80
xor eax, eax
test r12d, r12d
cmove rax, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop r12
ret
mov edx, 0x7234638a
lea rcx, [0x140032c40]
call fcn.14000b420
mov edx, 0x240047ee
mov rcx, rax
call fcn.14000bb80
xor eax, eax
add rsp, 0x48
pop rbx
pop r12
ret
Function at 0x14000e020
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edx, 0x622ed00e
mov r12, rcx
mov rcx, qword [0x1400336e0]
call fcn.14000b420
mov edx, 0x356b094a
mov rcx, rax
call fcn.14000bb80
mov rbx, qword [0x1400336f0]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
lea rsi, [rax + 0x20]
nop word [rax + rax]
movzx eax, word [r12]
mov rdx, r12
test ax, ax
je 0x14000e0a0
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000e120
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x14000e080
mov r8, qword [rdi + 0x50]
movzx eax, word [r8]
test ax, ax
je 0x14000e0d0
mov rdx, r8
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000e140
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x14000e0b0
mov rdx, r8
mov rcx, r12
call fcn.14000c080
mov edx, 0x4a40ec8e
mov rcx, rbx
mov rbp, rax
call fcn.14000b420
mov edx, 0x54130eca
mov rcx, rax
call fcn.14000bb80
test rbp, rbp
je 0x14000e156
mov rdi, qword [rdi]
cmp rsi, rdi
jne 0x14000e070
mov edx, 1
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x14000df40
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x14000e080
jmp 0x14000e0a0
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x14000e0b0
jmp 0x14000e0d0
mov rax, qword [rdi + 0x20]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret