joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400101a2
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x58], rax
lea rax, str.C:UsersOpsDownloads_nim_2.0.2_x64_nim_2.0.2lib_system.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_5
call sym.nimErrorFlag_4
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], 0xac5
lea rax, [0x14002e180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x50], 0xd
lea rax, str.C:UsersOpsDownloads_nim_2.0.2_x64_nim_2.0.2lib_systemiterators.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x50], 0xe
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x140010323
mov qword [rbp - 0x50], 0xac6
lea rax, str.C:UsersOpsDownloads_nim_2.0.2_x64_nim_2.0.2lib_system.nim
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 0
js 0x140010266
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x14001027f
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x1400103b4
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdx
lea rax, [rbp - 0x80]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9069
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x1400103b3
mov qword [rbp - 0x50], 0x10
lea rax, str.C:UsersOpsDownloads_nim_2.0.2_x64_nim_2.0.2lib_systemiterators.nim
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x68]
mov rax, qword [rbp - 8]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.nimAddInt_3
test al, al
je 0x140010316
call sym.raiseOverflow
jmp 0x1400103b4
mov rax, qword [rbp - 0x68]
mov qword [rbp - 8], rax
jmp 0x140010234
nop
mov qword [rbp - 0x50], 0xae1
lea rax, str.C:UsersOpsDownloads_nim_2.0.2_x64_nim_2.0.2lib_system.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x140026209]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0xae2
mov dword [rbp - 0x24], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 0xae6
lea rax, [0x14002e180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400103b4
nop
call sym.popFrame_5
nop
add rsp, 0xa0
pop rbp
ret
Function at 0x401d50
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc38
xor r9d, r9d
mov word [rcx], r9w
movzx eax, word [rdx]
mov rbx, rcx
mov rsi, r8
test ax, ax
je 0x401e48
lea rdi, [rdx + 2]
xor edx, edx
jmp 0x401da0
test rdx, rdx
je 0x401e28
mov word [rdx], ax
add rdx, 2
movzx eax, word [rdi]
add rdi, 2
test ax, ax
je 0x401e48
cmp ax, 0x25
jne 0x401d80
test rdx, rdx
je 0x401e60
xor ecx, ecx
lea r12, [rsp + 0x430]
mov word [rdx], cx
lea rdx, str.TEMP
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x401f18
lea rdx, str.PROGRAM
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x401f28
lea rdx, [0x0040c182]
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x401ee0
lea rdx, str.TIME
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x401e80
xor eax, eax
add rsp, 0xc38
pop rbx
pop rsi
pop rdi
pop r12
ret
test rsi, rsi
je 0x401e14
mov word [rbx], ax
movzx eax, word [rdi]
sub rsi, 1
add rbx, 2
add rdi, 2
test ax, ax
jne 0x401da0
xor eax, eax
mov word [rbx], ax
mov eax, 1
add rsp, 0xc38
pop rbx
pop rsi
pop rdi
pop r12
ret
xor r8d, r8d
lea rdx, [rsp + 0x430]
mov word [rsp + 0x430], r8w
jmp 0x401d90
lea rcx, [rsp + 0x28]
lea r12, [rsp + 0x30]
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x28]
mov rcx, r12
lea r8, str._lld
mov edx, 0x400
call fcn.004017c0
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.00401c50
jmp 0x401ed0
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x401ec8
xor edx, edx
jmp 0x401d90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r12, [rsp + 0x30]
mov edx, pe_nt_image_headers64
lea r8, [0x0040c18a]
mov rcx, r12
mov r9d, eax
call fcn.004017c0
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.00401c50
jmp 0x401ed0
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x401ed0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp word [rbx], 0
mov rdx, rsi
mov rcx, qword [rax]
mov rax, rbx
je 0x401f5e
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x401f50
movzx r8d, word [rcx]
test r8w, r8w
je 0x401f93
test rdx, rdx
jne 0x401f79
jmp 0x401f9d
test rdx, rdx
je 0x4098ea
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x401f70
xor edx, edx
mov word [rax], dx
jmp 0x401ed0
jmp 0x4098ea

Function at 0x4023a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
mov ecx, 2
call fcn.00409590
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 0x58]
mov ecx, 2
call fcn.00409590
mov r8, rbx
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140006090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400060ed
lea rbx, [0x140106e70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400060d4
cmp r10, 2
jb 0x1400060d4
cmp byte [r9], r8b
jne 0x1400060d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400060b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000612f
lea rbx, [0x140106e70]
cmp r8b, 0x23
jne 0x140006113
cmp byte [r9], r8b
jne 0x140006113
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140006100
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140006270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000628a
mov qword [r8], 0
lea rdx, [0x1401069f0]
call fcn.140006140
mov rbx, rax
test rax, rax
jne 0x1400062aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400b47cc
mov esi, eax
cmp eax, 0xffffffff
je 0x140006378
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400b52e0
test eax, eax
jne 0x140006378
mov rcx, rbx
call fcn.1400b47cc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006378
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400b52e0
test eax, eax
jne 0x140006378
cmp rdi, 0xffffffffffffffff
je 0x140006378
mov rax, qword [0x1401475c0]
test rax, rax
je 0x14000631a
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.1400be7c0
mov rsi, rax
test rax, rax
je 0x140006378
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b8cd4
mov rcx, rbx
cmp rax, rdi
je 0x140006366
call fcn.1400b4f60
mov rax, qword [0x1401475c0]
test rax, rax
je 0x14000635c
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.1400b8a60
jmp 0x140006380
call fcn.1400b4f60
test r14, r14
je 0x140006373
mov qword [r14], rdi
mov rax, rsi
jmp 0x140006382
mov rcx, rbx
call fcn.1400b4f60
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400095b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140106e70]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1401475c0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x140009646
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001be30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015be0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140120140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401475c0]
mov edi, ecx
cmp byte [rbx + 0x4a3d], 0
jne 0x140015c41
cmp byte [rbx + 0x4a3e], 0
jne 0x140015c41
movsx r9d, word [rbx + 0x5b3a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140005f50
test dil, 1
je 0x140015d68
jmp 0x140015cca
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b3a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14010bbf4]
mulss xmm1, dword [0x14010bbd8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47a0], rax
mov dword [rbx + 0x478c], 1
movss dword [rbx + 0x4798], xmm0
movss dword [rbx + 0x479c], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x14010bb4c]
or dword [rbx + 0x4788], 0x41
movss dword [rbx + 0x47e8], xmm0
call fcn.140005f50
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015d20
lea r11, [0x140106e70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140015d03
cmp byte [r8], r9b
jne 0x140015d03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015cf0
not ecx
call fcn.14000d130
test rax, rax
je 0x140015d68
cmp byte [rax + 0xae], 0
je 0x140015d68
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b3a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b3a]
call fcn.140005f50
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f880
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400aad70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001adf0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401475c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ae53
mov qword [rsp], rbx
lea rbx, [0x140106e70]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ae33
cmp byte [r8], r9b
jne 0x14001ae33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ae20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b98]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001ae87
mov r10, qword [r10 + 0x5ba0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001ae8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001ae74
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140036380
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14003652e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401477c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401477d8]
lea rdx, [rdi + rdi]
call fcn.140035f40
mov rax, qword [0x1401477c8]
lea r9, [rdi - 1]
mov qword [0x1401477f0], r9
mov qword [0x1401477f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140036523
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401477d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003646f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400364e4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400364ac
mov r10, qword [rdx]
cmp r10, rax
je 0x1400364a6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400364e4
cmp r9, rdx
je 0x1400364c0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400364f8
cmp r9, rdx
jne 0x1400364b1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14003651e
mov r9, qword [0x1401477f0]
jmp 0x140036420
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400364e4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ac1d0
int3
Function at 0x14003a980
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140120140]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov qword [rbp + 7], rdx
xor r14d, r14d
mov rdx, rcx
lea rcx, [rbp - 0x59]
call fcn.140031ea0
nop
lea rax, [rbp - 0x39]
mov qword [rbp - 0x69], rax
mov qword [rbp - 1], r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003a9e1
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax]
mov qword [rbp - 1], rax
mov ecx, 0x60
call fcn.1400ab2c4
mov rbx, rax
mov qword [rbp - 0x69], rax
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.140031ea0
nop
lea rsi, [rbx + 0x20]
mov qword [rbp + 0x27], rsi
mov qword [rsi + 0x38], r14
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14003aa24
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
mov qword [rsi + 0x38], rax
mov qword [rbp + 0x27], rbx
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x140047310]
xor edx, edx
xor ecx, ecx
call fcn.1400bf07c
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14003ab27
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14003aa73
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 1], r14
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14003aaae
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aaa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab36
call fcn.1400ab620
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
cmp dword [rbp + 0x1f], 0
je 0x14003ab3c
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 0x27], xmm0
lea rcx, [rbp + 0x27]
call fcn.1400ae1b4
test eax, eax
jne 0x14003ab1f
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003aafb
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400aad70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, eax
call fcn.1400ad39c
nop
mov dword [rbp + 0x1f], r14d
mov ecx, 6
call fcn.1400ad3d8
nop
call fcn.1400be748
int3
mov ecx, 1
call fcn.1400ad3d8
int3
Function at 0x140043140
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140043162
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400431dc
mov rdi, r14
mov rcx, rbx
call fcn.140044eb0
test rax, rax
jle 0x1400431b4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400afac0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400431cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400431d4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140043176
sub r14, rdi
jmp 0x1400432bf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400431f3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400431f5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140043227
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400afac0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400432bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140043262
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
cmp rbp, 0xfff
jbe 0x14004329d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400b8cd4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400432bc
cmp rbp, rax
ja 0x140043270
test rbp, rbp
je 0x1400432bc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400b8cd4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14004d590
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [rcx + 0x28]
nop
cmp rax, qword [rcx + 0x10]
jb 0x14004d5bf
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400ab2c4
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14004d61b
mov ecx, 8
call fcn.1400ab2c4
test rax, rax
je 0x14004d5e8
mov qword [rax], rdi
mov qword [rsp + 0x48], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004c9a0]
xor edx, edx
xor ecx, ecx
call fcn.1400bf07c
mov qword [rbx], rax
test rax, rax
je 0x14004d63a
jmp 0x14004d61d
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.14004d3f0
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call fcn.1400ad3d8
int3

Function at 0x14004d7e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r15d, r15d
mov eax, dword [rcx + 0x20]
nop
test eax, eax
je 0x14004d813
lea eax, [r15 - 1]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
xchg dword [rcx + 0x20], eax
cmp rdx, qword [rcx + 8]
cmovb rdx, qword [rcx + 8]
mov rbp, qword [rcx + 0x10]
cmp rdx, rbp
cmovbe rbp, rdx
mov rsi, r15
test rbp, rbp
je 0x14004d8bf
nop dword [rax + rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x14004d8b7
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400ab2c4
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14004d8a9
mov ecx, 8
call fcn.1400ab2c4
test rax, rax
je 0x14004d876
mov qword [rax], rdi
jmp 0x14004d879
mov rax, r15
mov qword [rsp + 0x70], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14004c9a0]
xor edx, edx
xor ecx, ecx
call fcn.1400bf07c
mov qword [rbx], rax
test rax, rax
je 0x14004d8d2
jmp 0x14004d8ac
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.14004d3f0
inc rsi
cmp rsi, rbp
jb 0x14004d840
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], r15d
mov ecx, 6
call fcn.1400ad3d8
int3
Function at 0x14005b890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r8, rdx
movzx edx, byte [rcx]
test dl, dl
je 0x14005b8c5
lea r9, [0x1400e6960]
movzx eax, byte [r8]
test al, al
je 0x14005b8c5
movzx eax, byte [rax + r9]
movzx edx, dl
cmp byte [rdx + r9], al
jne 0x14005b8d7
movzx edx, byte [rcx + 1]
inc rcx
inc r8
test dl, dl
jne 0x14005b8a1
xor edx, edx
mov eax, edx
cmp byte [rcx], al
sete al
cmp byte [r8], dl
setne dl
xor eax, edx
ret
xor eax, eax
ret

Function at 0x140063e90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1400c7d70
cdqe
add rsp, 0x28
ret