joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003700
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
mov rax, qword [rbp + 0x178]
sub rax, 0x10000
mov rcx, rax
call fcn.1800039e0
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x170]
cmp qword [rbp + 8], rax
jbe 0x18000383a
mov rax, qword [section..data]
cmp qword [rbp + 8], rax
jb 0x1800037a3
mov rax, qword [0x1801b1008]
cmp qword [rbp + 8], rax
ja 0x1800037a3
mov rax, qword [rbp + 8]
sub rax, 0x8000000
mov qword [rbp + 8], rax
jmp 0x180003768
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140D.dll_memset
nop
mov r8d, 0x30
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800037d0
jmp 0x18000383a
cmp dword [rbp + 0x48], 0x10000
jne 0x18000381f
cmp qword [rbp + 0x40], 0x10000
jb 0x18000381f
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x18000380f
mov rax, qword [rbp + 0x78]
jmp 0x18000383c
mov rax, qword [rbp + 8]
sub rax, 0x10000
mov qword [rbp + 8], rax
jmp 0x180003835
mov rax, qword [rbp + 0x30]
sub rax, 0x10000
mov rcx, rax
call fcn.1800039e0
mov qword [rbp + 8], rax
jmp 0x180003768
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d440]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x180003870
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
mov rcx, qword [rbp + 0x170]
call fcn.180003a50
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x178]
cmp qword [rbp + 8], rax
jae 0x1800039a5
mov rax, qword [section..data]
cmp qword [rbp + 8], rax
jb 0x18000390a
mov rax, qword [0x1801b1008]
cmp qword [rbp + 8], rax
ja 0x18000390a
mov rax, qword [rbp + 8]
add rax, 0x8000000
mov qword [rbp + 8], rax
jmp 0x1800038cf
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140D.dll_memset
nop
mov r8d, 0x30
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180003937
jmp 0x1800039a5
cmp dword [rbp + 0x48], 0x10000
jne 0x180003986
cmp qword [rbp + 0x40], 0x10000
jb 0x180003986
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x180003976
mov rax, qword [rbp + 0x78]
jmp 0x1800039a7
mov rax, qword [rbp + 8]
add rax, 0x10000
mov qword [rbp + 8], rax
jmp 0x1800039a0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180003a50
mov qword [rbp + 8], rax
jmp 0x1800038cf
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d3e0]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x180004ce0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180004d64
xor al, al
jmp 0x180004dfb
mov rax, qword [rbp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
cmp dword [rax], 0x4550
je 0x180004d8a
xor al, al
jmp 0x180004dfb
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rbp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x58]
add rcx, rax
mov rax, rcx
cmp qword [rbp + 0x1b8], rax
jb 0x180004df3
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rbp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x58]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rbp + 0x78]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rbp + 0x1b8], rax
jae 0x180004df3
mov al, 1
jmp 0x180004dfb
jmp 0x180004df9
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d2c0]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret

Function at 0x180004e30
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
mov rax, qword [rbp + 0x160]
cmp dword [rax], 0x52727464
je 0x180004e66
xor eax, eax
jmp 0x180004ef5
mov rax, qword [rbp + 0x160]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
add rax, 0x10000
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x160]
add rax, 0x60
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x180004e9f
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x2a9
jae 0x180004ef0
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x60
mov rcx, qword [rbp + 0x48]
cmp qword [rcx + rax + 0x48], 0
je 0x180004eee
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x60
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 8]
cmp qword [rcx + rax + 0x48], rdx
jb 0x180004eea
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x60
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x28]
cmp qword [rcx + rax + 0x48], rdx
jb 0x180004eee
xor eax, eax
jmp 0x180004ef5
jmp 0x180004e97
mov eax, 1
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1800051e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, send
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
mov rax, qword [0x18021f860]
mov qword [rbp + 8], rax
jmp 0x180005237
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x180005265
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180005263
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180005267
jmp 0x18000522b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d320]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x180005f20
Capabilities:
Resume thread

Disassembly:
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18021f878], eax
je 0x180005f76
mov eax, 0x10dd
jmp 0x1800060ec
mov rax, qword [0x18021f890]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x180006042
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rbp + 0x24]
mov rcx, qword [rbp + 8]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
jne 0x180005fe4
mov rax, qword [rbp + 8]
cmp qword [rax + 0x20], 0
je 0x180005fe4
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.1800042a0
nop
mov rax, qword [rbp + 8]
mov qword [rax + 0x20], 0
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x168], rax
mov edx, 0x30
mov rcx, qword [rbp + 0x168]
call fcn.180141c00
cmp qword [rbp + 0x168], 0
jne 0x180006022
mov qword [rbp + 0x198], 0
jmp 0x180006035
mov qword [rbp + 8], 0x8123
mov rax, qword [rbp + 8]
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 8], rax
jmp 0x180005f81
mov qword [0x18021f890], 0
call fcn.180004f00
nop
mov rax, qword [0x18021f888]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x1800060d5
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x188], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x188]
call fcn.180141c00
cmp qword [rbp + 0x188], 0
jne 0x1800060b5
mov qword [rbp + 0x198], 0
jmp 0x1800060c8
mov qword [rbp + 0x68], 0x8123
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x68], rax
jmp 0x18000605e
mov qword [0x18021f888], 0
mov dword [0x18021f878], 0
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014cf70]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x180006700
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
cmp dword [0x18021f87c], 0
je 0x180006734
mov eax, dword [0x18021f87c]
jmp 0x18000682c
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rbp + 0x160], rax
jne 0x18000674a
xor eax, eax
jmp 0x18000682c
mov ecx, reloc.WS2_32.dll_recv
call fcn.180141ba0
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1800067e2
mov dword [rbp + 4], 8
cmp qword [rbp + 0x28], 0
je 0x1800067c9
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x128], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x128]
call fcn.180141c00
cmp qword [rbp + 0x128], 0
jne 0x1800067ae
mov qword [rbp + 0x138], 0
jmp 0x1800067c1
mov qword [rbp + 0x28], 0x8123
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x28], 0
mov eax, dword [rbp + 4]
mov dword [0x18021f87c], eax
mov qword [0x18021f880], 0
mov eax, dword [rbp + 4]
jmp 0x18000682c
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180006802
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x180006774
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x160]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [0x18021f888]
mov qword [rax], rcx
mov rax, qword [rbp + 0x28]
mov qword [0x18021f888], rax
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x180009bf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1802381e2]
call fcn.180141e90
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.18000e440
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.18000ad20
nop
lea rax, [0x180009640]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.180010f90
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x180009ccc
lea rcx, [rbp + 8]
call fcn.1800121b0
nop
jmp 0x180009ce5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rbp + 8]
call fcn.18000bd90
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x18014e230]
call fcn.180141c60
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x180009d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1802381e2]
call fcn.180141e90
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.18000e400
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.18000ac70
nop
lea rax, [0x180009560]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.180010f50
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x180009dfc
lea rcx, [rbp + 8]
call fcn.180012160
nop
jmp 0x180009e15
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rbp + 8]
call fcn.18000bd10
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x18014e1d0]
call fcn.180141c60
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x18000ee50
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x738
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x136
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x708], rax
lea rcx, [0x18023820e]
call fcn.180141e90
nop
lea rax, str.127.0.0.1
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0x63df
lea rdx, [rbp + 0x50]
mov cx, 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x18000eeb6
jmp 0x18000f067
xor r8d, r8d
mov edx, 1
mov ecx, 2
call sub.WS2_32.dll_socket
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0xffffffffffffffff
jne 0x18000eee4
call sub.WS2_32.dll_WSACleanup
nop
jmp 0x18000f067
mov eax, 2
mov word [rbp + 0x228], ax
mov rcx, qword [rbp + 8]
call sub.WS2_32.dll_inet_addr
mov dword [rbp + 0x22c], eax
mov cx, 0x63df
call sub.WS2_32.dll_htons
mov word [rbp + 0x22a], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x228]
mov rcx, qword [rbp + 0x208]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x18000ef49
mov rcx, qword [rbp + 0x208]
call sub.WS2_32.dll_closesocket
nop
call sub.WS2_32.dll_WSACleanup
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rdx, [rbp + 0x618]
lea rcx, [rbp + 0x5f4]
call fcn.18000c3d0
mov rcx, rax
call fcn.18000c2d0
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x258]
call sub.ucrtbased.dll_strlen
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x208]
call sub.WS2_32.dll_send
nop
xor eax, eax
cmp eax, 1
je 0x18000f067
xor r9d, r9d
mov r8d, 0xff
lea rdx, [rbp + 0x280]
mov rcx, qword [rbp + 0x208]
call sub.WS2_32.dll_recv
mov dword [rbp + 0x394], eax
cmp dword [rbp + 0x394], 0
jle 0x18000f04d
movsxd rax, dword [rbp + 0x394]
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0x100
jae 0x18000efe8
jmp 0x18000efee
call fcn.180142920
nop
mov rax, qword [rbp + 0x668]
mov byte [rbp + rax + 0x280], 0
lea rdx, [rbp + 0x6b0]
lea rcx, [rbp + 0x684]
call fcn.18000c4c0
mov rcx, rax
call fcn.18000c350
mov rdx, rax
lea rcx, [rbp + 0x280]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x18000f03c
mov dl, 1
lea rcx, [0x18021f91e]
call fcn.1800125b0
nop
jmp 0x18000f04b
mov dl, 1
lea rcx, [0x18021f91e]
call fcn.1800125b0
nop
jmp 0x18000f056
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x18000ef91
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.180141c60
mov rcx, qword [rbp + 0x708]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x718]
pop rdi
pop rbp
ret
Function at 0x180038fc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x18023852d]
call fcn.180141e90
nop
movzx eax, byte [0x18021fc58]
test eax, eax
jne 0x180039018
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18005e290]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov byte [0x18021fc58], 1
mov rax, qword [0x18021fc48]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x3ed8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x120]
mov qword [rcx], rax
mov rax, qword [rbp + 0x120]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x18003a750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852d]
call fcn.180141e90
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18003a7b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852d]
call fcn.180141e90
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18003b2b0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852d]
call fcn.180141e90
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x180151cb0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x18003b330
mov dword [rbp + 0x120], 1
jmp 0x18003b33a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x18003b383
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x18003b2fb
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x18003b3a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852d]
call fcn.180141e90
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x180151cb0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x18003b4e6
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x18003b43a
mov dword [rbp + 0x160], 1
jmp 0x18003b444
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x18003b4e1
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18003b4bb
cmp qword [rbp + 0x198], 2
jb 0x18003b4bb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b4bb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b4bb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18003b405
jmp 0x18003b580
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18003b580
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18003b557
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b557
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b557
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18003b4e6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret