joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400046a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400047b2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14000478a
add rax, 1
cmp rax, 0x6b
je 0x1400047a7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140004780
cmp edx, 0x6a
je 0x1400047a7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14000479b
Function at 0x1400051c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x14004e640]
mov rax, qword [rsi]
test rax, rax
je 0x1400053b0
cmp qword [rax + 0x28], 0
jne 0x140005398
lea rcx, [0x1400511d8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x1400053a5
call fcn.1400047d0
mov rax, qword [rsi]
test rax, rax
je 0x140005240
cmp qword [rax + 0x30], 0
jne 0x140005260
lea rdx, [0x14004d7e8]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140005274
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400094e0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140005210
test rax, rax
jne 0x140005260
call fcn.1400094e0
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x14000522e
call fcn.140004310
cmp qword [0x140053050], 0
mov rbx, rax
je 0x14000522e
test rax, rax
je 0x14000522e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14000b380
cmp eax, 1
je 0x14000541d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14000cf36
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x1400053f8
cmp qword [rax + 0x30], 0
je 0x1400053e0
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000cf36
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400051fc
mov rax, qword [rsi]
jmp 0x140005209
call fcn.1400094e0
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x1400051e8
test rax, rax
jne 0x140005398
call fcn.1400094e0
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400051fc
jmp 0x140005201
lea rdx, [0x14004d7e8]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x14000536e
call fcn.1400094e0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400053e0
test rax, rax
jne 0x14000536a
call fcn.1400094e0
jmp 0x14000536a
call fcn.1400046a0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14004e640]
mov rdx, qword [rax]
lea rax, [0x1400511e8]
mov qword [rdx + 0x10], rax
ret
Function at 0x140009360
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009380
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x1400093c8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140009374
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400093b5
Function at 0x1400094e0
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1400512c0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140009503
lea rax, [0x1400512c8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14000954b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140009548
lea rax, [0x140051300]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14000957b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140009578
xor ecx, ecx
mov byte [0x140051319], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140051322], rdx
lea r8, [0x1400512c0]
lea rbx, [0x14005131a]
mov qword [0x140051332], rdx
mov qword [0x140051342], rdx
mov qword [0x140051352], rdx
xor edx, edx
mov qword [0x14005131a], rax
mov qword [0x14005132a], rax
mov qword [0x14005133a], rax
mov qword [0x14005134a], rax
mov byte [0x14005135a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140009756
lea rcx, [0x140051300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1400096a1
lea rsi, [0x140051200]
lea r8, [0x14005135a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14000964d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140009640
lea rcx, [0x140051300]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140009743
lea rcx, [0x1400093f0]
mov qword [0x140051200], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140051200]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140051300]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14005135a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140009776
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400096f3
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400096e0
mov rax, rdx
mov qword [0x140051200], rax
lea rsi, [0x140051200]
jmp 0x140009719
cmp rdx, rsi
je 0x14000967f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140009710
cmp rdx, rsi
je 0x14000967f
mov qword [rdx + 8], rsi
lea rcx, [0x1400093f0]
call sub.msvcrt.dll__onexit
jmp 0x14000967f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140009360
xor eax, eax
jmp 0x140009698
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140009360
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140009360
xor eax, eax
jmp 0x1400096ff
Function at 0x140f7d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f7d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f7d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7d06f
add dl, dl
jne 0x140f7d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7d0f6
xor eax, eax
add dl, dl
jne 0x140f7d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7d1ad
add dl, dl
jne 0x140f7d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f7d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f7d07e
mov eax, 1
add dl, dl
jne 0x140f7d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7d0fb
sub eax, ebx
mov ebx, 1
jne 0x140f7d14c
mov ecx, 1
add dl, dl
jne 0x140f7d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f7d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f7d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f7d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7d15d
cmp eax, 0x7d00
jae 0x140f7d19b
cmp eax, 0x500
jb 0x140f7d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7d07e
cmp eax, 0x7f
ja 0x140f7d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f7d1d2
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 0x140f7d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140028974
Capabilities:
Clear file content

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 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.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
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.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
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 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
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 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov edi, ecx
mov rbx, rdx
lea rcx, str.INIT__n
call fcn.140001050
lea rcx, [0x140005ebc]
call fcn.140001050
lea rcx, str.___Loading_DLL...
call fcn.140001050
call fcn.1400039e0
lea rcx, [0x140005ed4]
call fcn.140001050
lea rcx, str.___Establishing_connection__n
call fcn.140001050
lea rdx, [0x1400088e0]
mov ecx, 3
call qword [0x140008ae8]
mov ecx, eax
mov dword [0x1400088d0], eax
call fcn.140002670
cmp dword [0x1400088d0], 0
je 0x140003949
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp edi, 3
jne 0x1400039a1
mov rax, qword [rbx + 8]
cmp byte [rax], 0x2d
jne 0x1400039a1
cmp byte [rax + 1], 0x63
jne 0x1400039a1
cmp byte [rax + 2], 0
jne 0x1400039a1
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x20]
lea rdx, [0x140005eb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x1400039a1
nop
mov rcx, rax
call fcn.140002820
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [0x140005eb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
jne 0x140003980
lea rdx, [0x1400088e6]
lea rcx, str.___API:__s_n
call fcn.140001050
lea rcx, str.___
call fcn.140001050
mov edx, 0x400
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_gets_s]
lea rcx, [rsp + 0x30]
call fcn.140002820
jmp 0x1400039b4
Function at 0x1400039e0
Capabilities:
Link many functions at runtime
Reference ncr atm library routines
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.msxfs.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x140003a1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_load_XFSManager:__d_n
call fcn.140001050
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.WFSCancelAsyncRequest
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSCancelBlockingCall
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSCleanUp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSClose
mov rcx, rbx
mov qword [0x140008b18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncClose
mov rcx, rbx
mov qword [0x140008b10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSCreateAppHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSDeregister
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncDeregister
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSDestroyAppHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSExecute
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncExecute
mov rcx, rbx
mov qword [0x140008b20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSFreeResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSGetInfo
mov rcx, rbx
mov qword [0x140008b28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncGetInfo
mov rcx, rbx
mov qword [0x140008af8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSIsBlocking
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncLock
mov rcx, rbx
mov qword [0x140008b08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSOpen
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncOpen
mov rcx, rbx
mov qword [0x140008af0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSRegister
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncRegister
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSSetBlockingHook
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSStartUp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSUnhookBlockingHook
mov rcx, rbx
mov qword [0x140008ae8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFSAsyncUnlock
mov rcx, rbx
mov qword [0x140008b00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WFMSetTraceLevel
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetProcAddress]
Function at 0x14000477c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400047c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400047c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400047c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400047c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400047c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400047c8
xor al, al
add rsp, 0x28
ret
Function at 0x1400028e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000292a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000292a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000292a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000292a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000292a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000292c
xor al, al
add rsp, 0x28
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14002a5c0]
mov dword [rax], 1
mov rax, qword [0x14002a5d0]
mov dword [rax], 1
mov rax, qword [0x14002a5e0]
mov dword [rax], 1
mov rax, qword [0x14002a5b0]
mov dword [rax], 1
mov rax, qword [0x14002a470]
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 0x140003bd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140003c0c
mov rcx, rdx
call sym.strlen
mov r8, rax
mov r9, rsi
mov edx, 1
mov rcx, rbx
call sym.fwrite
mov rcx, rsi
call sym.fflush
nop
add rsp, 0x28
pop rbx
pop rsi
ret
mov r8d, 0
jmp 0x140003bec

Function at 0x140003d50
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rbx, rax
mov r9, rax
mov r8, rdi
mov edx, 1
mov rcx, rsi
call sym.fwrite
mov rcx, rbx
call sym.fflush
nop
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400120aa
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rcx
mov rdi, rdx
lea rax, str.echoBinSafe
mov qword [rsp + 0x38], rax
lea rax, [0x1400289e0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov word [rsp + 0x50], 0
lea rcx, [0x140027220]
call sym.__emutls_get_address
mov rax, qword [rax]
test rax, rax
je 0x140012157
movzx ebx, word [rax + 0x22]
lea edx, [rbx + 1]
mov word [rsp + 0x52], dx
mov qword [rsp + 0x30], rax
lea rcx, [0x140027220]
call sym.__emutls_get_address
lea rdx, [rsp + 0x30]
mov qword [rax], rdx
cmp word [rsp + 0x52], 0x7d0
je 0x140012160
mov qword [rsp + 0x40], 0xad7
lea rcx, [0x140032120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x40], 0x13
lea rax, str.C:Users_bobby.choosenim_toolchains_nim_2.0.8lib_systemiterators.nim
mov qword [rsp + 0x48], rax
mov ebx, 0
jmp 0x140012201
mov word [rsp + 0x52], 0
jmp 0x140012100
call dbg.system::callDepthLimitReached
jmp 0x140012122
mov qword [rsp + 0x40], 0xaf3
lea rax, [0x1400289e0]
mov qword [rsp + 0x48], rax
mov ecx, 1
mov rbx, qword [sym.__acrt_iob_func]
call rbx
mov r9, rax
mov r8d, 1
mov edx, 1
lea rcx, [0x140028969]
call sym.fwrite
mov qword [rsp + 0x40], 0xaf4
mov ecx, 1
call rbx
mov rcx, rax
call sym.fflush
mov qword [rsp + 0x40], 0xaf8
lea rcx, [0x140032120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140012273
lea rdx, [rdi - 1]
mov rcx, rbx
call dbg.raiseIndexError2
jmp 0x140012273
mov qword [rsp + 0x40], 0xd
lea rax, str.C:Users_bobby.choosenim_toolchains_nim_2.0.8lib_systemiterators.nim
mov qword [rsp + 0x48], rax
add rbx, 1
cmp rbx, rdi
jge 0x140012167
mov qword [rsp + 0x40], 0xad8
lea rax, [0x1400289e0]
mov qword [rsp + 0x48], rax
test rbx, rbx
js 0x1400121d7
mov rsi, rbx
shl rsi, 4
add rsi, rbp
mov qword [rsp + 0x40], 0xaef
mov ecx, 1
call qword [sym.__acrt_iob_func]
mov rcx, rax
movdqu xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0
call dbg.echoBinSafe::writeWindows(ptr<ansi_c::CFile>, string, bool)
lea rcx, [0x140027240]
call sym.__emutls_get_address
cmp byte [rax], 0
je 0x1400121e8
lea rcx, [0x140027220]
call sym.__emutls_get_address
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400139d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop