joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e0c30
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401c29e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401e0c8b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401e0d04
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140016e90
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401e0d11
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1401e0d04
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140016e90
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401e0cf3
jmp 0x1401e0d04
Function at 0x4016a0
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
mov eax, 0x1068
push rsi
push rbx
call fcn.0040ac40
sub rsp, rax
mov rax, qword [0x00425550]
movsxd r9, dword [0x0042803c]
lea rdx, str._s__s
add r9, qword [0x00428ca8]
lea rbx, [rsp + 0x60]
mov r8, qword [rax]
mov rcx, rbx
call sub.msvcrt.dll_sprintf
mov r8d, 0x1a4
mov edx, 0x301
mov rcx, rbx
call sub.msvcrt.dll__open
test eax, eax
mov esi, eax
js 0x401782
mov rax, qword [0x004255d0]
mov eax, dword [rax]
test eax, eax
jne 0x401760
lea rdx, [0x00415085]
mov ecx, esi
call fcn.004094d0
mov rbx, rax
mov rax, qword [0x00425580]
mov r9, qword [0x00428ca8]
cmp qword [rax], 0
je 0x4017d0
mov rax, qword [0x00425570]
mov r8, qword [rax]
lea rdx, str.___DO_NOT_EDIT_THIS_FILE._n_n____It_has_been_auto_edited_by_fixincludes_from:_n_n_t__s__s__n_n____This_had_to_be_done_to_correct_non_standard_usages_in_the_n____original__manufacturer_supplied_header_file.____n_n
mov rcx, rbx
call sub.msvcrt.dll_fprintf
mov rax, rbx
add rsp, 0x1068
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rbx, qword [0x00428ca8]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.Fixed:___s_n
lea rcx, [rax + 0x60]
mov r8, rbx
call sub.msvcrt.dll_fprintf
jmp 0x401707
mov rdi, qword [sym.imp.msvcrt.dll__errno]
call rdi
cmp dword [rax], 2
je 0x4017e0
call rdi
mov ecx, dword [rax]
call fcn.00409630
mov rbp, rax
call rdi
mov esi, dword [rax]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.Error__d___s__creating__s_n
lea rcx, [rax + 0x60]
mov qword [rsp + 0x20], rbx
mov r9, rbp
mov r8d, esi
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop dword [rax + rax]
lea r8, str.fixinc_tests_inc
jmp 0x40173a
lea rcx, [rbx + 1]
mov edx, 0x2f
lea rbp, [rsp + 0x30]
call sub.msvcrt.dll_strchr
test rax, rax
mov rsi, rax
jne 0x401819
jmp 0x401835
lea rcx, [rsi + 1]
mov byte [rsi], 0x2f
mov edx, 0x2f
call sub.msvcrt.dll_strchr
test rax, rax
mov rsi, rax
je 0x401835
mov byte [rsi], 0
mov rdx, rbp
mov rcx, rbx
call fcn.0040ac80
test eax, eax
jns 0x401800
mov rcx, rbx
call sub.msvcrt.dll__mkdir
jmp 0x401800
mov r8d, 0x1a4
mov edx, 0x301
mov rcx, rbx
call sub.msvcrt.dll__open
test eax, eax
mov esi, eax
jns 0x4016fa
jmp 0x401790
Function at 0x401b30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov esi, ecx
mov rcx, qword [rdx]
mov rbx, rdx
call fcn.004094f0
cmp esi, 1
je 0x401b90
cmp esi, 2
jne 0x401bd2
mov rsi, qword [rbx + 8]
lea rdi, [0x004150f5]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x401dc3
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
call rsi
mov rcx, qword [rbx + 8]
lea rdx, [0x004150cb]
mov r8, rax
call fcn.004094e0
test rax, rax
je 0x401d81
call fcn.00403010
mov rax, qword [0x004255c0]
mov rdx, qword [0x004254d0]
mov rcx, qword [rax]
movzx r8d, byte [rcx]
test byte [rdx + r8*2], 4
mov rax, r8
jne 0x401c00
sub eax, 0x41
cmp al, 0x33
ja case.0x401bd0.1
lea rdx, [0x00415180]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.fixincl_ERROR:__too_many_command_line_arguments_n
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sub.msvcrt.dll_fwrite
mov ecx, 1
call sub.msvcrt.dll_exit
nop dword [rax]
call sub.msvcrt.dll_atoi
mov rdx, qword [0x004255d0]
cmp eax, 4
mov dword [rdx], eax
jbe 0x401c3a
mov dword [rdx], 5
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.fixinc_verbosity:__EVERYTHING_n
lea r9, [rax + 0x60]
mov r8d, 0x1e
mov edx, 1
call sub.msvcrt.dll_fwrite
mov r8, qword [0x00425560]
mov rcx, qword [r8]
cmp byte [rcx], 0x2e
jne 0x401c7c
movzx edx, byte [rcx + 1]
cmp dl, 0x2f
jne 0x401d74
lea rax, [rcx + 2]
jmp 0x401c71
add rax, 2
movzx edx, byte [rax - 1]
cmp dl, 0x2f
jne 0x401d74
mov qword [r8], rax
cmp byte [rax], 0x2e
mov rcx, rax
je 0x401c60
call sub.msvcrt.dll_strlen
mov dword [0x0042803c], eax
call fcn.004019b0
lea rdx, str.fxinc
xor ecx, ecx
call sub.msvcrt.dll__tempnam
mov rcx, rax
mov qword [0x00428c40], rax
call fcn.00402c00
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp sub.msvcrt.dll_signal
mov rax, qword [0x004255d0]
mov dword [rax], 4
jmp 0x401c3a
mov rax, qword [0x004255d0]
mov dword [rax], 0
jmp 0x401c3a
mov rax, qword [0x004255d0]
mov dword [rax], 1
jmp 0x401c3a
mov rdx, qword [0x004255d0]
jmp 0x401c13
mov rax, qword [0x004255d0]
mov dword [rax], 2
jmp 0x401c3a
mov rax, qword [0x004255d0]
mov dword [rax], 3
jmp 0x401c3a
test dl, dl
jne 0x401c7c
jmp 0x401c87
mov rbp, qword [rbx + 8]
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
mov ecx, dword [rax]
call fcn.00409630
mov rdi, rax
call rbx
mov ebx, dword [rax]
call rsi
lea rdx, str.Error__d___s__reopening__s_as_stdin_n
lea rcx, [rax + 0x60]
mov qword [rsp + 0x20], rbp
mov r9, rdi
mov r8d, ebx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
call fcn.0040b1e0
nop
nop dword [rax]
Function at 0x4028f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
test rcx, rcx
mov rbp, rcx
je 0x4029e8
xor edi, edi
mov ebx, 0xffffffff
xor r12d, r12d
jmp 0x402954
lea rcx, [r12 + rdi]
mov r9, rbp
mov edx, 1
call sub.msvcrt.dll_fread
test rax, rax
mov rsi, rax
jne 0x402943
mov rcx, rbp
call sub.msvcrt.dll_feof
test eax, eax
jne 0x402984
mov rcx, rbp
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x4029a0
mov rcx, rbp
sub ebx, esi
add rdi, rsi
call sub.msvcrt.dll_feof
test eax, eax
jne 0x402984
cmp ebx, 0x3ff
movsxd r8, ebx
jg 0x402912
add ebx, 0x1000
mov rcx, r12
movsxd r8, ebx
lea rdx, [rdi + r8 + 1]
mov qword [rsp + 0x28], r8
call fcn.004095e0
mov r8, qword [rsp + 0x28]
mov r12, rax
jmp 0x402912
lea rdx, [rdi + 1]
mov rcx, r12
call fcn.004095e0
mov byte [rax + rdi], 0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call qword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [rax]
cmp ebx, 0x15
je 0x4029d3
mov ecx, ebx
call fcn.00409630
mov rsi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.error__d___s__reading_input_n
lea rcx, [rax + 0x60]
mov r9, rsi
mov r8d, ebx
call sub.msvcrt.dll_fprintf
mov rcx, r12
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
jmp 0x402994
Function at 0x402c30
Capabilities:
Execute command
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
lea rcx, str.CONFIG_SHELL
call sub.msvcrt.dll_getenv
mov rcx, rbx
mov rdi, rax
test rcx, rcx
je 0x402c69
mov edx, 0xa
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x402df4
mov rcx, rbx
xor ebp, ebp
test rcx, rcx
je 0x402c86
mov edx, 0x5c
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x402e1a
mov rcx, rbx
xor r12d, r12d
test rcx, rcx
je 0x402ca4
mov edx, 0x22
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x402e00
add ebp, r12d
mov rcx, rbx
xor r12d, r12d
test rcx, rcx
je 0x402cc5
mov edx, 0x60
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x402e0d
add ebp, r12d
test rdi, rdi
je 0x402e6c
mov rcx, rdi
movsxd rsi, esi
movsxd rbp, ebp
call sub.msvcrt.dll_strlen
mov rcx, rbx
mov r12, rax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rsi*2]
lea rcx, [rbp + rdx*2 + 7]
add rcx, r12
add rcx, rax
call fcn.00409560
mov rdx, rdi
mov rsi, rax
mov rcx, rax
call sub.msvcrt.dll_strcpy
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax]
movzx eax, byte [rbx]
mov ecx, 0x22
mov dword [rdx], 0x20632d20
mov word [rdx + 4], cx
add rdx, 5
test al, al
je 0x402d96
xor ecx, ecx
movabs r9, 0x27276e5c272427
jmp 0x402d67
cmp al, 0xa
je 0x402de0
cmp al, 0x22
jne 0x402dd0
movzx eax, byte [rbx + 1]
mov byte [rdx], 0x5c
add rdx, 2
mov byte [rdx - 1], 0x22
add rbx, 1
test al, al
je 0x402d96
cmp al, 0x27
je 0x402dc0
jle 0x402d40
cmp al, 0x5c
je 0x402d75
cmp al, 0x60
jne 0x402dd0
test ecx, ecx
mov r8, rdx
je 0x402d83
add r8, 1
mov byte [rdx], 0x5c
mov byte [r8], al
movzx eax, byte [rbx + 1]
add rbx, 1
lea rdx, [r8 + 1]
test al, al
jne 0x402d67
mov eax, 0x22
mov rcx, rsi
mov word [rdx], ax
call 0x40af20
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov byte [rdx], 0x27
xor ecx, 1
movzx eax, byte [rbx + 1]
add rdx, 1
jmp 0x402d5f
mov byte [rdx], al
movzx eax, byte [rbx + 1]
add rdx, 1
jmp 0x402d5f
test ecx, ecx
je 0x402e30
mov qword [rdx], r9
movzx eax, byte [rbx + 1]
add rdx, 7
jmp 0x402d5f
lea rcx, [rax + 1]
add esi, 1
jmp 0x402c51
lea rcx, [rax + 1]
add r12d, 1
jmp 0x402c8c
lea rcx, [rax + 1]
add r12d, 1
jmp 0x402cad
lea rcx, [rax + 1]
add ebp, 1
jmp 0x402c6e
mov byte [rdx], 0x3b
mov byte [rdx + 1], 0x20
lea r8, [rdx + 2]
movzx eax, byte [rbx + 1]
lea edx, [rax - 9]
cmp dl, 1
ja 0x402e60
nop word [rax + rax]
add rbx, 1
movzx eax, byte [rbx + 1]
lea edx, [rax - 9]
cmp dl, 1
jbe 0x402e50
cmp al, 0x20
je 0x402e50
mov rdx, r8
jmp 0x402d5f
lea rcx, str.SHELL
call sub.msvcrt.dll_getenv
test rax, rax
mov rdi, rax
jne 0x402cd1
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x40af20
jmp qword [sym.imp.msvcrt.dll_system]
Function at 0x403010
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
sub rsp, 0x28
lea rcx, str.TARGET_MACHINE
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x00428120], rax
je 0x40311c
lea rcx, str.ORIGDIR
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x00428118], rax
je 0x403158
lea rcx, str.SRCDIR
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x00428110], rax
je 0x40314c
lea rcx, str.INPUT
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x00428108], rax
je 0x403140
lea rcx, str.DESTDIR
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x00428100], rax
je 0x403134
lea rcx, str.MN_NAME_PAT
call sub.msvcrt.dll_getenv
lea rcx, str.VERBOSE
mov qword [0x004280f8], rax
call sub.msvcrt.dll_getenv
lea rcx, str.FIND_BASE
mov qword [0x004280f0], rax
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [0x004280e8], rax
je 0x403128
lea rcx, str.TEST_MODE
call sub.msvcrt.dll_getenv
test rax, rax
mov rsi, rax
mov qword [0x004280e0], rax
je 0x403115
lea rdi, str.true
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
jne 0x403115
mov dword [0x00428128], 1
add rsp, 0x28
pop rsi
pop rdi
ret
lea rcx, str.TARGET_MACHINE
call fcn.0040b390
lea rcx, str.FIND_BASE
call fcn.0040b390
lea rcx, str.DESTDIR
call fcn.0040b390
lea rcx, str.INPUT
call fcn.0040b390
lea rcx, str.SRCDIR
call fcn.0040b390
lea rcx, str.ORIGDIR
call fcn.0040b390
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x409ce0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x004288e4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x409df8
mov rax, qword [0x004288e8]
xor ebx, ebx
add rax, 8
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x409d2c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x409dde
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x409d10
mov rcx, rsi
call fcn.0040a940
test rax, rax
mov r12, rax
je 0x409e30
movsxd rbx, ebx
lea rbx, [rbx + rbx*2]
shl rbx, 3
mov r13, rbx
add r13, qword [0x004288e8]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call fcn.0040aa90
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x004288e8]
mov rcx, qword [rax + rbx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x409e13
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x409dd7
sub eax, 4
and eax, 0xfffffffb
je 0x409dd7
add rbx, qword [0x004288e8]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x409dff
add dword [0x004288e4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x409d37
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00409c70
mov rax, qword [0x004288e8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 8]
call fcn.00409c70
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00409c70
nop

Function at 0x40a5b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00428bc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00428ba0]
test rbx, rbx
je 0x40a604
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40a5fb
test rsi, rsi
je 0x40a5fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40a5e0
lea rcx, [0x00428bc0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x40a940
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004253a0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x40a960
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.0040a820
test eax, eax
je 0x40a958
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40a9bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x40a9b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x40a958
add rdx, 0x28
cmp rdx, r9
jne 0x40a9a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x40b220
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, ecx
mov rsi, rdx
call fcn.00409820
mov rdx, rsi
mov ecx, ebx
call fcn.00401b30
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
call rsi
lea rcx, [rax + 0x60]
call sub.msvcrt.dll__fileno
mov ecx, eax
call sub.msvcrt.dll__isatty
mov dword [0x00428038], eax
call rsi
mov rcx, rax
call fcn.004028f0
mov rbx, rax
call rsi
lea rdx, [0x004150cb]
lea rcx, str._dev_null
mov r8, rax
call fcn.004094e0
test rbx, rbx
je 0x40b35a
mov rdi, qword [0x004254d0]
nop
movzx edx, byte [rbx]
test byte [rdi + rdx*2], 0x40
mov rax, rdx
jne 0x40b310
cmp dl, 0x2e
je 0x40b2ae
jmp 0x40b320
add rbx, 2
movzx eax, byte [rbx]
cmp al, 0x2e
jne 0x40b320
cmp byte [rbx + 1], 0x2f
je 0x40b2a3
mov edx, 0xa
mov rcx, rbx
mov qword [0x00428ca8], rbx
call sub.msvcrt.dll_strchr
test rax, rax
mov rsi, rbx
je 0x40b340
cmp rax, rsi
lea rbx, [rax + 1]
ja 0x40b2e9
jmp 0x40b353
sub rax, 1
cmp rax, rsi
je 0x40b290
movzx edx, byte [rax - 1]
test byte [rdi + rdx*2], 0x40
jne 0x40b2e0
cmp byte [rsi], 0x23
je 0x40b290
mov byte [rax], 0
call fcn.00401dd0
movzx edx, byte [rbx]
test byte [rdi + rdx*2], 0x40
mov rax, rdx
je 0x40b29c
nop dword [rax]
add rbx, 1
jmp 0x40b290
test al, al
jne 0x40b2b4
mov rcx, qword [0x00428c40]
call sub.msvcrt.dll__unlink
xor ecx, ecx
call sub.msvcrt.dll_exit
nop word [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_strlen
add rax, rbx
cmp rax, rsi
mov rbx, rax
ja 0x40b2e9
jne 0x40b2f3
jmp 0x40b290
call rsi
lea rcx, str.No_file_names_listed_for_fixing_n
lea r9, [rax + 0x60]
mov r8d, 0x20
mov edx, 1
call sub.msvcrt.dll_fwrite
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140003b50
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140127a80]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x140003b6c
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x140003b7a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x140003b85
bts eax, 5
shr ecx, 1
test cl, 1
je 0x140003b90
bts eax, 4
shr ecx, 1
test cl, 1
je 0x140003b9b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x140003ba6
bts eax, 2
shr ecx, 1
test cl, 1
je 0x140003bb1
bts eax, 1
test cl, 2
je 0x140003bba
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x140003c51
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x140003c5d
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x140003c45
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140003b60
mov dword [0x140127e80], 1
ret
Function at 0x140004fd0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor ebx, ebx
lea r14, [rcx + 0xf0]
mov rax, qword [r14]
mov rbp, rcx
lea r9d, [rbx + 1]
cmp rax, r14
je 0x14000501c
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x10], dx
jne 0x14000500f
cmp byte [rax + 0x29], r8b
je 0x140005017
mov rax, qword [rax]
cmp rax, r14
jne 0x140005000
cmp rax, r14
jne 0x140005069
add rcx, 0x110
mov rax, qword [rcx]
cmp rax, rcx
je 0x14000506e
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x26], r9w
jb 0x14000506e
cmp word [rax + 0x10], dx
jne 0x140005046
cmp byte [rax + 0x29], r8b
je 0x140005061
mov rax, qword [rax]
cmp rax, rcx
jne 0x140005030
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp rax, rcx
je 0x14000506e
xor r9d, r9d
test rbx, rbx
jne 0x140005081
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx eax, r8b
mov qword [rsp + 0x30], rsi
cmp rax, qword [rbp + 0x48]
jae 0x1400050cc
lea r8, [rax + rax*4]
shr dx, 0xc
shl r8, 4
add r8, qword [rbp + 0x40]
movzx eax, dx
lea rcx, [r8 + rax*2]
movzx eax, word [r8 + rax*2 + 6]
test ax, ax
je 0x1400050cc
sub ax, 1
mov word [rcx + 6], ax
jne 0x1400050cc
movzx ecx, word [r8 + 4]
movzx eax, dx
btr ecx, eax
mov word [r8 + 4], cx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx esi, byte [rbx + 0x28]
and esi, 0xf
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x58], 0
je 0x140005155
test r9d, r9d
je 0x1400050fe
movzx eax, word [rbx + 0x24]
sub dword [rbp + 0xd8], eax
mov rax, qword [rbx + 0x58]
dec qword [rax]
mov rax, qword [rbx + 0x58]
cmp qword [rax], 0
jne 0x140005155
or dword [rax + 8], 0x100
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x140005150
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140005132
mov rcx, rdi
call rax
test byte [rdi + 8], 4
jne 0x140005147
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140005147
call qword [fcn.1400b4bce]
mov rcx, rdi
call qword [fcn.1400b4bce]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [fcn.1400b4bce]
mov rcx, qword [r14]
cmp rcx, r14
je 0x14000516f
mov eax, dword [rcx + 0x18]
add eax, dword [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140005df0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140005e1f
xor eax, eax
jmp 0x14000600a
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x140005f9f
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x140005f9f
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x140005f9f
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x140005f9f
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x140005f9f
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140004fd0
cmp rsi, qword [rbx + 0x48]
jae 0x140005ea5
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x140005edf
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x140005eed
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140005f06
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140005f14
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rbx + 0x38]
test r14, r14
je 0x140005f82
add eax, 0xfffffffb
cmp eax, 1
jbe 0x140005f5f
cmp dword [rbx + 0x50], 0
je 0x140005f54
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1c8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x140006005
xor r8d, r8d
mov rdx, rbx
cmp eax, 1
mov rcx, rbp
sete r8b
add r8d, 3
call fcn.140004d90
xor eax, eax
jmp 0x140006005
mov eax, dword [rbx + 0x38]
xor r8d, r8d
sub eax, 5
mov dword [rbx + 0x1c8], r8d
cmp eax, 1
ja 0x140005fd0
cmp dword [rbx + 0x50], r8d
je 0x140005fc5
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 9
cmp dword [rbx + 0x140], r8d
jne 0x140006000
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx], rcx
mov qword [rax], rbx
mov qword [rcx + 8], rbx
mov dword [rbx + 0x140], 1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400079f0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x1401276d0]
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x40], eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140007390