joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e19b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800e19f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800e1a39
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800e1a92
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800e1a50
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800e1ad3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1801a8e7b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1801a8e7c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800e1aa0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sbb edx, dword [rbp + 0x36]
xchg esi, eax
invalid
rcl dword [rbp - 0x1d], 0xa3
invalid
ficomp dword [rcx]
invalid
invalid
jp 0x14003f639
add ah, byte [0xef269ce1]
pop rsi
mov ebp, 0xe3123f7b
invalid
sub byte [rdx - 0x1b], dh
jns 0x14003f650
cwde
invalid
retf 0xf1ae
sub al, 0x41
sub eax, dword [rsi - 0x38de9c91]
invalid
and edi, eax
ja 0x14003f70a
invalid
or dword [rax], eax
xor dl, byte [rdx + 0x4011411b]
xchg edx, eax
sbb eax, dword [rcx + 0x11]
xlatb
xchg edx, eax
sbb eax, dword [rcx + 0x11]
xlatb
and al, 0x66
xchg ecx, eax
mov eax, 0x22318a92
cmpsb byte [rsi], byte [rdi]
invalid
mov es, eax
invalid
mov bl, byte [rsi]
cld
jae str.NF_A
invalid
Function at 0x140008188
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call fcn.140174000
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1400087ec
add rsp, 0x28
jmp 0x140008188
Function at 0x140005078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov r14, r8
mov rbx, rdx
mov esi, ecx
je 0x1400051c8
cmp qword [rdx], 0xffffffffffffffff
je 0x1400051c8
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14001610c
test rax, rax
js 0x1400051c8
mov rcx, qword [rbx + 8]
inc rcx
call fcn.14000f2e4
mov rdi, rax
test rax, rax
je 0x1400051c8
mov r8d, dword [rbx + 8]
mov rdx, rax
mov ecx, esi
call fcn.140019858
movsxd rcx, eax
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1400051c0
cmp dword [rbx + 0x18], 0
jne 0x140005115
mov byte [rax + rdi], 0
test r14, r14
je 0x14000510d
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov rax, rdi
jmp 0x1400051ca
cmp dword [rbx + 0x18], 8
jne 0x1400051c0
and qword [rsp + 0x50], 0
lea r8, str.1.2.11
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x60], 0
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
lea edx, [r9 - 0x67]
call fcn.140009454
test eax, eax
js 0x1400051c0
mov rcx, qword [rbx]
inc rcx
call fcn.14000f2e4
mov rsi, rax
test rax, rax
je 0x1400051c0
mov ecx, dword [rbx]
mov edx, 1
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
invalid
out dx, al
sub eax, dword [rax]
Function at 0x1401f8b18
Capabilities:
Create process on windows

Disassembly:
jmp 0x1404147c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x142007a6f]
call fcn.140205606
mov edx, 0x18
lea rcx, [rbp + 8]
call fcn.1401fe987
lea rcx, [rbp + 8]
call fcn.1401fac38
nop
mov rdx, qword [rbp + 0x4e8]
lea rcx, [rbp + 8]
call fcn.1401ffb57
movzx eax, al
test eax, eax
jne 0x14041485f
mov rdx, qword [rbp + 0x4e8]
lea rcx, str.Cant_open_file:__s_n
call fcn.1401fe4d7
nop
lea rcx, [rbp + 8]
call fcn.14020607e
jmp 0x140414968
lea rcx, [rbp + 8]
call fcn.1401f84ab
mov rax, qword [rbp + 0x4e0]
mov r9d, dword [rax + 0xf0ec44]
lea r8, str.Date:_d_r_n
mov edx, 0xc8
lea rcx, [rbp + 0x40]
call fcn.1401f8de8
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 8]
call fcn.1401fc88f
lea rdx, str._tsestocksbl__r_n
lea rcx, [rbp + 8]
call fcn.1401fc88f
mov rax, qword [rbp + 0x4e0]
add rax, 0x10280
mov r8, rax
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x4e0]
call fcn.1401fcaa1
lea rdx, str._otcstocksbl__r_n
lea rcx, [rbp + 8]
call fcn.1401fc88f
mov rax, qword [rbp + 0x4e0]
add rax, 0x15fd0
mov r8, rax
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x4e0]
call fcn.1401fcaa1
lea rcx, [rbp + 8]
call fcn.140203bad
mov r8d, 0x1f4
xor edx, edx
lea rcx, [rbp + 0x130]
call fcn.140201e5c
mov rax, qword [rbp + 0x4e8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x4e8]
mov qword [rsp + 0x20], rax
lea r9, [0x140701a00]
lea r8, str._srar.exe_a__m5__ep__y__s.rar__s
mov edx, 0x1f3
lea rcx, [rbp + 0x130]
call fcn.1401f8de8
mov edx, 1
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
lea rcx, [rbp + 8]
call fcn.14020607e
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140202ef1
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x1401f90fe
Capabilities:
Create directory

Disassembly:
jmp 0x140229700
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, WSAGetLastError
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x14200702d]
call fcn.140205606
cmp qword [rbp + 0x290], 0
je 0x140229761
mov rax, qword [rbp + 0x290]
movsx eax, byte [rax]
test eax, eax
jne 0x140229768
xor al, al
jmp 0x14022993a
xor edx, edx
mov rcx, qword [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x140229787
mov dword [rbp + 0x264], 1
jmp 0x140229791
mov dword [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x174], al
movzx eax, byte [rbp + 0x174]
test eax, eax
jne 0x140229933
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140229933
mov r8d, 0x104
mov rdx, qword [rbp + 0x290]
lea rcx, [rbp + 0x10]
call fcn.1401f90d1
mov eax, 1
imul rax, rax, 0x103
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0x104
jae 0x1402297f6
jmp 0x1402297fb
call fcn.1402018ad
mov rax, qword [rbp + 0x258]
mov byte [rbp + rax + 0x10], 0
mov edx, 0x5c
lea rcx, [rbp + 0x10]
call fcn.1401fa5cb
mov qword [rbp + 0x158], rax
mov edx, 0x3a
lea rcx, [rbp + 0x10]
call fcn.1401fa5cb
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x158], 0
je 0x140229896
mov rax, qword [rbp + 0x158]
movsx eax, byte [rax + 1]
test eax, eax
jne 0x140229896
mov rax, qword [rbp + 0x158]
mov byte [rax], 0
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x10]
cmp rax, qword [rbp + 0x158]
jae 0x140229881
mov rax, qword [rbp + 0x158]
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x14022984a
mov edx, 0x5c
lea rcx, [rbp + 0x10]
call fcn.1401fa5cb
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x158], 0
je 0x140229933
mov rax, qword [rbp + 0x158]
mov byte [rax], 0
cmp qword [rbp + 0x138], 0
jne 0x1402298c9
lea rcx, [rbp + 0x10]
call fcn.1401f90fe
mov byte [rbp + 0x174], al
jmp 0x1402298f2
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x158]
sub rcx, rax
mov rax, rcx
cmp rax, 1
jle 0x1402298f2
lea rcx, [rbp + 0x10]
call fcn.1401f90fe
mov byte [rbp + 0x174], al
movzx eax, byte [rbp + 0x174]
test eax, eax
je 0x140229933
xor edx, edx
mov rcx, qword [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14022991c
mov dword [rbp + 0x264], 1
jmp 0x140229926
mov dword [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x174], al
movzx eax, byte [rbp + 0x174]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140202ef1
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret
Function at 0x1401f9199
Capabilities:
Create process on windows

Disassembly:
jmp 0x1402b38e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1718
call fcn.1401fa5d5
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x43a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1738]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x16d8], rax
lea rcx, [0x142007202]
call fcn.140205606
mov edx, 0x18
lea rcx, [rbp + 8]
call fcn.140204508
lea rcx, [rbp + 8]
call fcn.1401f9a9a
nop
mov rdx, qword [rbp + 0x1708]
lea rcx, [rbp + 8]
call fcn.140201fc4
movzx eax, al
test eax, eax
jne 0x1402b3985
mov rdx, qword [rbp + 0x1708]
lea rcx, str.Cant_open_file:__s_n
call fcn.1401fe4d7
nop
lea rcx, [rbp + 8]
call fcn.1401fc989
jmp 0x1402b3a9e
lea rcx, [rbp + 8]
call fcn.140203b03
mov rax, qword [rbp + 0x1700]
mov r9d, dword [rax + 0x13520]
lea r8, str.Date:_d_r_n
mov edx, 0xc8
lea rcx, [rbp + 0x40]
call fcn.1401f8de8
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 8]
call fcn.140200273
lea rdx, str._emg__r_n
lea rcx, [rbp + 8]
call fcn.140200273
mov rax, qword [rbp + 0x1700]
add rax, 0x140
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1401f9ed7
mov rax, qword [rbp + 0x1700]
add rax, 0x99f8
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1401f9ed7
lea rdx, str._emgtext__r_n
lea rcx, [rbp + 8]
call fcn.140200273
lea rdx, [0x140713670]
lea rcx, [rbp + 8]
call fcn.1401fe6c1
lea rcx, [rbp + 8]
call fcn.1401fb967
mov rax, qword [rbp + 0x1700]
mov byte [rax + 0x13601], 0
mov r8d, 0xfa0
xor edx, edx
lea rcx, [rbp + 0x130]
call fcn.140201e5c
mov rax, qword [rbp + 0x1708]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1708]
mov qword [rsp + 0x20], rax
lea r9, [0x140701a00]
lea r8, str._srar.exe_a__m5__ep__y__s.rar__s
mov edx, 0xf9f
lea rcx, [rbp + 0x130]
call fcn.1401f8de8
mov edx, 1
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
lea rcx, [rbp + 8]
call fcn.1401fc989
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140202ef1
mov rcx, qword [rbp + 0x16d8]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x16e8]
pop rdi
pop rbp
ret

Function at 0x1401f92cf
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x14025b730
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1420070d9]
call fcn.140205606
mov rax, qword [rbp + 0xe0]
lea rcx, vtable.TSock.0
mov qword [rax], rcx
mov rax, qword [rbp + 0xe0]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0x1c], 3
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0xc], 0
mov rax, qword [rbp + 0xe0]
add rax, 0x10
mov r8d, ntohs
xor edx, edx
mov rcx, rax
call fcn.140201e5c
movzx eax, word [0x140700dd0]
test eax, eax
jne 0x14025b7cc
movzx eax, word [0x140700dd2]
test eax, eax
jne 0x14025b7cc
lea rdx, [0x140700dd0]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rax, qword [rbp + 0xe0]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1401f94c8
Capabilities:
Move file

Disassembly:
jmp 0x1405c41d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 2
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1405c420c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401fbe62
mov eax, 0xffffffff
jmp 0x1405c420e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401f9784
Capabilities:
Read file on windows

Disassembly:
jmp 0x14025f970
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x138]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1420070ea]
call fcn.140205606
mov dword [rbp + 4], 0
cmp dword [rbp + 0x110], 0
jle 0x14025fa0a
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14025fa0a
mov dword [rbp + 4], 0xffffffff
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140202ef1
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1401f9a1d
Capabilities:
Create process on windows

Disassembly:
jmp 0x1404152c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x142007a6f]
call fcn.140205606
mov edx, 0x50
lea rcx, [rbp + 0x10]
call fcn.140205d9f
mov r8d, 0x4000000
mov edx, 0x3e8
lea rcx, [rbp + 0x10]
call fcn.140201e66
nop
mov r8b, 1
mov rdx, qword [rbp + 0x248]
lea rcx, [rbp + 0x10]
call fcn.1401ffbde
movzx eax, al
test eax, eax
jne 0x14041536d
mov rdx, qword [rbp + 0x248]
lea rcx, str.Cant_open_file:__s_n
call fcn.1401fe4d7
nop
lea rcx, [rbp + 0x10]
call fcn.1401fe851
jmp 0x140415453
mov rax, qword [rbp + 0x240]
mov r8d, dword [rax + 0xf0ec44]
lea rdx, str.Date:_d_r_n
lea rcx, [rbp + 0x10]
call fcn.1401fc83a
lea rdx, str._tsestockex__r_n
lea rcx, [rbp + 0x10]
call fcn.1401f8280
mov rax, qword [rbp + 0x240]
add rax, 0x277c0
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140426430
lea rdx, str._otcstockex__r_n
lea rcx, [rbp + 0x10]
call fcn.1401f8280
mov rax, qword [rbp + 0x240]
add rax, 0x2d510
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140426430
lea rcx, [rbp + 0x10]
call fcn.1401f9c0c
mov rax, qword [rbp + 0x240]
mov byte [rax + 0x11a69c8], 0
lea rcx, [rbp + 0x80]
call fcn.14020049e
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x20], rax
lea r9, [0x140701a00]
lea r8, str._srar.exe_a__m5__ep__y__s.rar__s
mov edx, 0xc7
lea rcx, [rbp + 0x80]
call fcn.1401f8de8
mov edx, 1
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
lea rcx, [rbp + 0x10]
call fcn.1401fe851
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140202ef1
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x1401fa422
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140493910
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140493938
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140493982
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14049392d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1401faca6
Capabilities:
Write file on windows

Disassembly:
jmp 0x14025fc60
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x138]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1420070ea]
call fcn.140205606
mov dword [rbp + 4], 0
cmp dword [rbp + 0x110], 0
jle 0x14025fcfa
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14025fcfa
mov dword [rbp + 4], 0xffffffff
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140202ef1
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1401fbc73
Capabilities:
Resolve dns

Disassembly:
jmp 0x14025d250
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_select
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1420070d9]
call fcn.140205606
mov dword [rbp + 0x24], 0
cmp qword [rbp + 0x120], 0
je 0x14025d2e8
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x14025d2e8
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14025d2e8
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140202ef1
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1401fd6bd
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14025db40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1420070d9]
call fcn.140205606
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0xffffffff
je 0x14025dbe3
mov rax, qword [rbp + 0x100]
movsxd rax, dword [rax + 8]
xor r9d, r9d
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14025dbde
mov rcx, qword [rbp + 0x100]
call fcn.1401faa08
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xd4]
mov dword [rax + 0x18], ecx
cmp dword [rbp + 0xd4], 0x2733
je 0x14025dbde
mov rcx, qword [rbp + 0x100]
call fcn.1402018c6
mov eax, dword [rbp + 4]
jmp 0x14025dc19
mov eax, dword [0x1406fa0f8]
add eax, 0x18
lea rcx, str.Handle__INVALID_SOCKET
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov r8d, eax
lea rdx, str.TSock::Send
lea rcx, str.D:FortekSVN_rds.vc22commo_sock.cpp
call fcn.1401fb683
mov eax, 0xffffffff
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret