joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0bb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400a0c45
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400a0ca6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14007b4b0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b4d80
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400a0d61
sub ecx, 1
je 0x1400a0dd4
sub ecx, 1
je 0x1400a0d10
cmp ecx, 1
je 0x1400a0cf3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400cc4d0]
call fcn.14007b4b0
jmp 0x1400a0dd4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a08e0
test eax, eax
je 0x1400a0dd4
jmp 0x1400a0c7a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a0dd4
sub rax, rsi
cmp rax, rbp
jae 0x1400a0dd4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14007b630
jmp 0x1400a0dd4
cmp r8d, 4
jle 0x1400a0dd4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400a0dd4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14007b3d0
mov esi, eax
test eax, eax
je 0x1400a0db3
mov edx, 5
mov rcx, rbx
call fcn.1400a18a0
mov eax, esi
jmp 0x1400a0c7a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140089cd0
mov rcx, r14
call fcn.140089fb0
test eax, eax
je 0x1400a0c78
mov edx, 5
mov rcx, rbx
call fcn.1400a18a0
mov eax, Ordinal_46
jmp 0x1400a0c7a
Function at 0x1400b3b70
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 [str.pY_v_]
mov rdi, rax
test rax, rax
jne 0x1400b3bb2
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 0x1400b3bf9
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 0x1400b3c52
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 0x1400b3c10
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b3c93
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c73da]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c73db]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b3c60
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 0x1400b3cb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400b3cea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b3cef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400b3d38
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400b3d38
dec r8
sub rdx, 1
jne 0x1400b3d1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b55e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b5632
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b5632
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b5632
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b5632
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b5632
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b5634
xor al, al
add rsp, 0x28
ret
Function at 0x404860
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x414f10
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905e50]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x414f44
mov qword [rsi], 0
jmp 0x414f7b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x414fa0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905e60]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x414fd4
mov qword [rsi], 0
jmp 0x41500b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x415030
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905e70]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x415064
mov qword [rsi], 0
jmp 0x41509b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x4150c0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905e80]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x4150f4
mov qword [rsi], 0
jmp 0x41512b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x415150
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905e90]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x415184
mov qword [rsi], 0
jmp 0x4151bb
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x4151e0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905ea0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x415214
mov qword [rsi], 0
jmp 0x41524b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x415270
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905eb0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x4152a4
mov qword [rsi], 0
jmp 0x4152db
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x415300
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905ec0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x415334
mov qword [rsi], 0
jmp 0x41536b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x415390
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905ed0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x4153c4
mov qword [rsi], 0
jmp 0x4153fb
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x415420
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905ee0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x415454
mov qword [rsi], 0
jmp 0x41548b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x4154b0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x20], 0
lea rcx, [0x00905ef0]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x4154e4
mov qword [rsi], 0
jmp 0x41551b
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00446970
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x435600
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x20], rcx
xor ebx, ebx
lea r14, [rsp + 0x58]
mov r8d, 0x400
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov esi, 0x200
mov r13d, 2
cmp rsi, 0x201
jae 0x435680
jmp 0x435672
mov rsi, r8
jae 0x4356fe
cmp rsi, 0x201
jae 0x435680
mov r15d, 0x200
mov rbp, r14
mov r12, r14
jmp 0x4356b6
mov r8, rsi
sub r8, rbx
mov rax, qword [rsp + 0x30]
sub rax, rbx
cmp rax, r8
jae 0x4356a5
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.004242f0
mov r13, qword [rsp + 0x28]
mov qword [rsp + 0x38], rsi
mov rbx, rsi
mov r15, rsi
mov rbp, r13
mov r12, r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, esi
mov rdx, r12
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov edi, eax
test eax, eax
jne 0x4356d6
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x43573c
mov r8d, edi
cmp rsi, r8
jne 0x435660
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x4357a8
add rsi, rsi
cmp rsi, 0x201
jb 0x435672
jmp 0x435680
cmp r15, r8
jb 0x4357c2
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.00446970
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x20]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x435764
jmp 0x435791
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x435791
lea rax, [rdx + rdx]
add rdx, rdx
jb 0x435791
movabs rcx, 0x8000000000000001
add rax, rcx
add rcx, 1
cmp rax, rcx
jb 0x435791
mov r8d, 2
mov rcx, r13
call fcn.0040a2d0
mov rax, rsi
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.004a3ff0
jmp 0x4357d7
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.004ab1c0
ud2
Function at 0x44fc70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.004ca0b0
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
lea rdi, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
lea r13, [rsp + 0x28]
mov qword [rsp + 0x58], r13
lea rbp, [0x0045d1f0]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x44fe2f
mov r14d, 0xffffffff
mov r15d, 0xffffffff
lea r12, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x28], 1
jne 0x44fd20
cmp dword [rsp + 0x2c], 0
jne 0x44fe40
mov edi, dword [rsp + 0x30]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x44fe40
cmp edi, 0x1000
ja 0x44fe80
xor ebx, ebx
nop word [rax + rax]
cmp rbx, rdi
ja 0x44fe6c
lea rdx, [rsp + rbx]
add rdx, 0x80
mov r8, rdi
sub r8, rbx
cmp r8, r15
cmovae r8d, r14d
mov dword [rsp + 0x28], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, r12
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x44fe36
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x28], 1
jne 0x44fdc0
cmp dword [rsp + 0x2c], 0
jne 0x44fe3b
mov eax, dword [rsp + 0x30]
add rbx, rax
cmp rbx, rdi
jne 0x44fd70
mov dword [rsp + 0x28], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
lea rdx, [rsp + 0x80]
mov r8d, 0x1000
mov r9, r12
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
jne 0x44fd20
call sub.KERNEL32.dll_GetLastError
jmp 0x44fe40
call sub.KERNEL32.dll_GetLastError
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov rdx, rdi
call fcn.004ab2a0
jmp 0x44fe94
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rdi
call fcn.004ab1c0
ud2
Function at 0x450d00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
lea rdi, [0x00943128]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rsp + 0x30], rdi
mov rbx, qword [rsi]
test rbx, rbx
jne 0x450d8b
mov rbx, qword [rsi + 8]
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x450da3
mov edi, eax
test rbx, rbx
je 0x450d7f
mov ecx, 0x18
mov edx, 8
call fcn.0040a2c0
test rax, rax
je 0x450e80
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov dword [rax + 0x10], edi
mov rax, qword [0x00943198]
nop
mov qword [rcx + 8], rax
lock cmpxchg qword [0x00943198], rcx
jne 0x450d70
mov ebx, edi
mov rax, rbx
xchg qword [rsi], rax
test edi, edi
je 0x450dc0
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rax, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_key___c::TLS_OUT_OF_INDEXESlibrary_std_src_syswindows_thread_local_key.rs
lea r8, [0x0090c070]
mov edx, 0x2e
call fcn.004a3ff0
jmp 0x450e8f
mov byte [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
lea rax, str.assertion_failed:_key___0
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], 0
lea rax, str._rustc_d394408fb38c4de61f765a3ed5189d2731a1da91librarycore_src_sliceiter.rs
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [0x004a77c0]
mov qword [rsp + 0x48], rax
lea rax, [0x00907900]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x50]
call fcn.00441ab0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.0041a2f0
mov ecx, 7
int 0x29
ud2
mov ecx, 0x18
mov edx, 8
call fcn.00498280
ud2
Function at 0x454a70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [0x004cd050]
test rcx, rcx
je 0x454a93
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x454aad
jmp 0x454abf
lea rcx, [0x004cd050]
call fcn.00450d00
mov rcx, rax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x454abf
mov rbx, rax
cmp qword [rax], 0
je 0x454abf
add rbx, 8
jmp 0x454bd3
mov rcx, qword [0x004cd050]
test rcx, rcx
je 0x454bb3
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x454bd1
mov rdi, rax
test rax, rax
jne 0x454b36
mov ecx, 0x18
mov edx, 8
call fcn.0040a2c0
test rax, rax
je 0x454bde
mov rdi, rax
mov qword [rax], 0
lea rax, [0x004cd050]
mov qword [rdi + 0x10], rax
mov rcx, qword [0x004cd050]
test rcx, rcx
jne 0x454b2e
lea rcx, [0x004cd050]
call fcn.00450d00
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x454b74
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
test rcx, rcx
je 0x454b74
cmp rcx, 1
je 0x454b76
test rax, rax
je 0x454b74
lock sub qword [rax], 1
jne 0x454b74
lea rcx, [rsp + 0x28]
call fcn.004234a0
xor eax, eax
lea rbx, [rdi + 8]
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rdi], 1
mov qword [rdi + 8], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
test rdx, rdx
je 0x454bd3
test rcx, rcx
je 0x454bd3
lock sub qword [rcx], 1
jne 0x454bd3
lea rcx, [rsp + 0x28]
call fcn.004234a0
jmp 0x454bd3
lea rcx, [0x004cd050]
call fcn.00450d00
mov rcx, rax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x454ade
xor ebx, ebx
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov ecx, 0x18
mov edx, 8
call fcn.00498280
ud2

Function at 0x456b90
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.0045beb0
cmp qword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x28]
je 0x456bc2
mov rbx, rsi
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x456c14
test rdi, rdi
je 0x456c61
lea rax, [rdi + rdi]
xor ebx, ebx
add rdi, rdi
jb 0x456bb7
movabs rcx, 0x8000000000000001
add rax, rcx
add rcx, 1
cmp rax, rcx
jb 0x456bb7
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.0040a2d0
xor ebx, ebx
jmp 0x456bb7
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
je 0x456bb7
lea rax, [rdi + rdi]
add rdi, rdi
jb 0x456bb7
movabs rcx, 0x8000000000000001
add rax, rcx
add rcx, 1
cmp rax, rcx
jb 0x456bb7
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.0040a2d0
jmp 0x456bb7
xor ebx, ebx
jmp 0x456bb7
Function at 0x4595c0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x459614
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x4596aa
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2726
je 0x459627
cmp eax, 0x2739
jne 0x459675
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x459670
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x45968a
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x4596aa
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x4596aa
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call sub.WS2_32.dll_closesocket
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret