joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096c90
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 1
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x140096d35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14005ebf0
mov r8, rax
lea rdx, [0x140178c10]
mov rcx, qword [rsp + 0x190]
call fcn.14003bfe0
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.140124e60
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000b980
add rsp, 0x180
pop rdi
ret

Function at 0x140096d70
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0xab4]
test eax, eax
je 0x140096dcd
mov dword [rsp + 0xc0], 1
jmp 0x140096dd8
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x54]
mov r8d, 8
mov edx, 0xffff
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x140096e2e
mov r8, qword [rsp + 0xe8]
lea rdx, [0x140178c30]
mov rcx, qword [rsp + 0xe0]
call fcn.14003bfe0
jmp 0x140096f06
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0xa1c]
call fcn.14003fca0
mov dword [rsp + 0x54], eax
imul eax, dword [rsp + 0x54], 0x3e8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0xa20]
call fcn.14003fca0
mov dword [rsp + 0x54], eax
imul eax, dword [rsp + 0x54], 0x3e8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, ntohs
lea r8, [rsp + 0x78]
mov edx, 0x98000004
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x140096f06
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0xe8]
lea rdx, [0x140178c58]
mov rcx, qword [rsp + 0xe0]
call fcn.14003bfe0
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140124e60
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14000b980
add rsp, 0xd0
pop rdi
ret
Function at 0x140097d40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x20]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x230]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x1f4], 0x80
mov r8d, 0x80
xor edx, edx
lea rcx, [rsp + 0x160]
call fcn.1400bca60
lea r8, [rsp + 0x1f4]
lea rdx, [rsp + 0x160]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140097e21
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x204], eax
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x204]
call fcn.14005ebf0
mov r9, rax
mov r8d, dword [rsp + 0x204]
lea rdx, [0x140178de8]
mov rcx, qword [rsp + 0x238]
call fcn.14003c120
mov eax, 2
jmp 0x140097ea8
mov rax, qword [rsp + 0x20]
add rax, 0x104
mov rcx, qword [rsp + 0x20]
add rcx, 0xd4
mov r9, rax
mov r8, rcx
mov edx, dword [rsp + 0x1f4]
lea rcx, [rsp + 0x160]
call fcn.14003d120
movzx eax, al
test eax, eax
jne 0x140097ea6
call fcn.1400e3740
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
call fcn.14005ebf0
mov qword [rsp + 0x210], rax
call fcn.1400e3740
mov rcx, qword [rsp + 0x210]
mov r9, rcx
mov r8d, dword [rax]
lea rdx, [0x140178e10]
mov rcx, qword [rsp + 0x238]
call fcn.14003c120
mov eax, 2
jmp 0x140097ea8
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140124e60
mov rax, rdi
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.14000b980
add rsp, 0x220
pop rdi
ret

Function at 0x1400983c0
Capabilities:
Connect socket

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400983f5
jmp 0x140098420
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0x14]
mov rdx, rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret
Function at 0x1400993c0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
xor eax, eax
test eax, eax
jne 0x1400993dd
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0x14]
mov rdx, rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xffffffff
jne 0x140099439
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x20]
add rcx, 0xa0
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x48]
call fcn.1400960c0
jmp 0x140099472
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140097d40
xor eax, eax
test eax, eax
jne 0x140099448
mov edx, 1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call fcn.1400acec0
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
mov dword [rsp + 0x2c], eax
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400acec0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x1400acef5
mov dword [rsp + 0x34], 1
jmp 0x1400acefd
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140124e60
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1400b48c0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400b48f6
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400b493a
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400b4938
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400b493a
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400b4950
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4a60
Capabilities:
Get hostname

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x1400b4ab1
mov eax, dword [rsp + 0x20]
jmp 0x1400b4ad7
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call fcn.1400bcda0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400b4ad5
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400b53f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x40]
mov ecx, Ordinal_41
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xb4], 8
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400b5466
xor al, al
jmp 0x1400b5578
mov r8d, reloc.WS2_32.dll_sendto
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.1400bca60
mov byte [rsp + 0x88], 8
mov byte [rsp + 0x89], 2
mov dword [rsp + 0x8c], 0x6601
mov dword [rsp + 0x90], 8
lea rdx, [rsp + 0x94]
mov rcx, qword [rsp + 0x100]
call fcn.1400b5200
mov edx, 8
lea rcx, [rsp + 0x94]
call fcn.1400b95f0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1400b550b
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400b5578
mov r8d, 8
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400bc3b0
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.140124e60
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000b980
add rsp, 0xe0
pop rdi
ret

Function at 0x1400b7a70
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, Ordinal_26
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400b7ac6
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400b7ae0
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b97c0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400b982f
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b9840
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c3280
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400c2d60
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c32bf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14012a780]
jmp 0x1400c32c9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14010a720
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x14010c780
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010c7ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400e36e0
mov eax, 0xffffffff
jmp 0x14010c7ae
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r13
sub rsp, 0x38
cmp byte [rdx], 0
mov r13, rcx
je 0x140002221
mov r10, qword [rcx + 8]
movabs r9, 0x100000001b3
movzx r8d, byte [rdx + 1]
movabs rdx, 0xcbf29ce484222325
mov rcx, qword [rcx + 0x30]
mov eax, r8d
xor rax, rdx
imul rax, r9
and rcx, rax
mov rax, qword [r13 + 0x18]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r10
je 0x140002207
mov rax, qword [rax + rcx*8]
cmp r8b, byte [rbx + 0x10]
je 0x140002209
nop dword [rax]
cmp rbx, rax
je 0x140002207
mov rbx, qword [rbx + 8]
cmp r8b, byte [rbx + 0x10]
jne 0x1400021e0
test rbx, rbx
mov rax, r10
cmovne rax, rbx
cmp rax, r10
setne al
add rsp, 0x38
pop r13
pop rbx
ret
xor ebx, ebx
test rbx, rbx
mov rax, r10
cmovne rax, rbx
cmp rax, r10
setne al
add rsp, 0x38
pop r13
pop rbx
ret
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
lea rsi, [rdx + 8]
mov qword [rsp + 0x60], rdi
mov r8, rsi
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 0x48]
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x140002252
mov r8, qword [rsi]
mov rbp, qword [rsi + 0x10]
xor ebx, ebx
movabs rdx, 0xcbf29ce484222325
mov ecx, ebx
test rbp, rbp
je 0x140002294
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rbp
jb 0x140002280
mov rcx, qword [r13 + 0x70]
mov rax, qword [r13 + 0x58]
and rcx, rdx
add rcx, rcx
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, r12
je 0x1400022f5
mov qword [rsp + 0x28], r14
mov r14, qword [rax + rcx*8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
jbe 0x1400022c4
mov rdx, qword [rdi + 0x10]
mov rcx, rsi
cmp r15, 0xf
jbe 0x1400022d0
mov rcx, qword [rsi]
cmp rbp, qword [rdi + 0x20]
jne 0x1400022e2
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400022ed
cmp rdi, r14
je 0x1400022f0
mov rdi, qword [rdi + 8]
jmp 0x1400022b5
mov rbx, rdi
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
test rbx, rbx
jne 0x140002311
mov rbx, r12
cmp rbx, r12
mov r12, qword [rsp + 0x30]
setne al
add rsp, 0x38
pop r13
pop rbx
ret
Function at 0x1400100e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140010115
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14000c8d0
mov rcx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140010234
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rbx
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x1400101b2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140010223
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1400101eb
mov r10, qword [rdx]
cmp r10, rax
je 0x1400101e5
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 0x140010223
cmp r8, rdx
je 0x1400101ff
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140010245
cmp r8, rdx
jne 0x1400101f0
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, rdi
jne 0x140010180
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
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 0x140010223
Function at 0x140017554
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00406620]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00406630]
mov dword [rax], 1
mov rax, qword [0x00406640]
mov dword [rax], 1
mov rax, qword [0x00406610]
mov dword [rax], 1
mov rax, qword [0x004064c0]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x00406600]
mov dword [0x00409008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call sym._encode_pointer
mov rdx, qword [0x00406560]
mov qword [rdx], rax
mov rdx, qword [0x00406550]
mov qword [rdx], rax
mov rax, qword [0x004065c0]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00406470]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x4018e4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sym.strlen
mov dword [rbp - 4], eax
mov dword [rbp - 8], 0
mov eax, dword [rbp - 4]
cdqe
lea rdx, [rbp - 8]
mov r9, rdx
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x10]
call rax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x4024e0
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 [0x00409624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x402600
mov rax, qword [0x00409628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x40252c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x4025e6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x402510
mov rcx, rsi
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x402638
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x00409628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x00409628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40261b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4025df
sub eax, 0x40
and eax, 0xffffffbf
je 0x4025df
add rbx, qword [0x00409628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402607
add dword [0x00409624], 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 sym.memcpy
xor ebx, ebx
jmp 0x402537
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00409628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call dbg.__report_error
nop
nop dword [rax + rax]

Function at 0x402d90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00409900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004098e0]
test rbx, rbx
je 0x402de4
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 0x402ddb
test rsi, rsi
je 0x402ddb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402dc0
lea rcx, [0x00409900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x403020
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x403030
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0