joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d300
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov r14, rcx
mov rbx, rdx
mov ecx, 0x30
call fcn.140167a7c
xor esi, esi
mov qword [rsp + 0x80], rax
mov rdi, rax
test rax, rax
je 0x14005d498
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_httplib::detail::mmap_.0
mov qword [rdi], rax
mov rbx, qword [rbx]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov qword [rdi + 0x10], 0xffffffffffffffff
mov qword [rdi + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x14005d453
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rdi + 0x10]
lea r8d, [rsi + 2]
mov eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rdi + 0x20], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14005d403
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14005d437
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 0x28], rsi
jmp 0x14005d424
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14005d49b
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14005d437
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14005d44f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], 0xffffffffffffffff
mov qword [rdi + 0x20], rsi
xorps xmm0, xmm0
mov byte [rsp + 0x48], 1
lea rax, [0x1401d4b53]
lea rbx, vtable.std::exception.0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x58], xmm0
call fcn.14016c464
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rbx
call fcn.14016c4f4
jmp 0x14005d49b
mov rdi, rsi
lea rax, [rdi + 0x10]
mov qword [r14 + 8], rdi
lea r11, [rsp + 0x70]
mov qword [r14], rax
mov rbx, qword [r11 + 0x18]
mov rax, r14
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140065d80
Capabilities:
Create thread

Disassembly:
add rcx, 8
jmp 0x140065d80
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov ecx, 0xd0
call fcn.140167a7c
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140065e93
call fcn.140169dfc
xor esi, esi
test eax, eax
je 0x140065dbb
call fcn.140169dfc
lea ecx, [rax - 1]
jmp 0x140065dbd
mov ecx, esi
mov ebp, 8
cmp ecx, ebp
cmova ebp, ecx
lea rax, vtable.httplib::ThreadPool.0
mov qword [r14], rax
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x28], rsi
mov ecx, 0x50
call fcn.140167a7c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14 + 0x20], rax
mov byte [r14 + 0x30], 0
lea rcx, [r14 + 0x38]
call fcn.14016a940
nop
lea rcx, [r14 + 0x80]
mov edx, 2
call fcn.14016906c
nop
test rbp, rbp
je 0x140065e91
mov qword [rsp + 0x68], r14
mov rdi, qword [r14 + 0x10]
cmp rdi, qword [r14 + 0x18]
je 0x140065e7a
mov ecx, 8
call fcn.140167a7c
mov r9, rax
test rax, rax
je 0x140065e46
mov qword [rax], r14
jmp 0x140065e49
mov r9, rsi
mov qword [rsp + 0x78], r9
lea rax, [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r8, [0x14005af40]
xor edx, edx
xor ecx, ecx
call fcn.140176340
mov qword [rdi], rax
test rax, rax
je 0x140065ea6
add qword [r14 + 0x10], 0x10
jmp 0x140065e8b
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [r14 + 8]
call fcn.14005a350
sub rbp, 1
jne 0x140065e25
jmp 0x140065e98
xor esi, esi
mov r14d, esi
mov rax, r14
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rdi + 8], esi
mov ecx, 6
call fcn.1401692bc
int3
Function at 0x14006ebe0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14d, r9d
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x14006ed72
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov qword [rbp - 0x80], r15
mov rcx, qword [rbx + 0x3d8]
test rcx, rcx
je 0x14006ec4b
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x38], r15
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.14006d1d0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov byte [rsp + 0x38], 0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0x39c]
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], r14d
mov r9d, dword [rbx + 0x398]
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.14005c840
mov rsi, rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14006eced
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ece8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ed93
call fcn.140167ab8
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006ed1b
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x80], r15
xchg qword [rbx + 0x48], rsi
mov rax, qword [rbx + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x14006ed72
test edi, edi
jne 0x14006ed6e
mov dword [rsp + 0x40], 0x80
mov rcx, qword [rbx + 0x48]
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14006ed72
movzx eax, word [rbp - 0x10]
cmp ax, 2
je 0x14006ed5f
cmp ax, 0x17
jne 0x14006ed72
movzx ecx, word [rbp - 0xe]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x14006ed77
mov eax, edi
jmp 0x14006ed77
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401677c0
add rsp, 0x188
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14017d6e4
nop
int3
Function at 0x14006f740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14006f774
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14006f760
ret
Function at 0x140071040
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x140071078
cmp ax, 0x17
jne 0x1400710ed
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call fcn.14016b7a0
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400710ed
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400710d2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400090a0
mov al, 1
jmp 0x1400710ef
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401677c0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140077e60
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140077eb3
call fcn.14017e884
cmp dword [rax], 4
je 0x140077e90
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400789d0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x140078a3f
call fcn.14017e884
cmp dword [rax], 4
je 0x140078a10
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401677c0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140099780
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], al
lea ecx, [rax + 0x30]
call fcn.140167a7c
mov qword [rsp + 0x68], 0x2d
mov qword [rsp + 0x70], 0x2f
movups xmm0, xmmword [str.getHasProxyLinesCitysInProvinceRegionInfoList]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401b3ec8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1401b3ed8]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1401b3ee0]
mov dword [rax + 0x28], ecx
movzx ecx, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rax + 0x2c], cl
mov byte [rax + 0x2d], 0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x58]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140099868
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099962
call fcn.140167ab8
lea rax, vtable.myrpc::proxy::server::HttpProxyServer_getHasProxyLinesCitysInProvinceRegionInfoList_pargs.0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rdi
mov rdx, qword [rsi + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400a2e10
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi + 0x30]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x1400998ab
lock inc dword [rbx + 8]
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rbx
mov rax, qword [rcx]
call qword [rax + 0x48]
nop
mov edi, 0xffffffff
test rbx, rbx
je 0x1400998f3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400998f3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400998f3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsi + 0x30]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140099908
lock inc dword [rbx + 8]
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
mov rax, qword [rcx]
call qword [rax + 0x50]
nop
test rbx, rbx
je 0x14009994a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14009994a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14009994a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401677c0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
call fcn.14017d6e4
int3
Function at 0x1400d73c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xad
jne 0x1400d73d9
movzx eax, byte [rdx + 2]
cmp al, 0xae
jne 0x1400d73e3
mov rax, qword [rdx + 0x20]
jmp 0x1400d73f3
cmp al, 0x88
jne 0x1400d7577
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1400d7577
mov dword [r8], 0
cmp byte [rdx], 0x88
jne 0x1400d741a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1400ffad0
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1400d7562
mov qword [rsp + 0x80], rbx
lea rcx, [0x1401296b0]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.1400d8460]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [rax + r15 + 8]
je 0x1400d74d0
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1400d74c0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140156730
cmp word [rsp + 0x44], 0
je 0x1400d74d0
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401086f0
jmp 0x1400d7510
mov rsi, qword [rdi]
test rbx, rbx
je 0x1400d74ec
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1400d7850
mov rbx, rax
cmp byte [rsi + 0x61], 0
jne 0x1400d7500
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.140106c70
test rbx, rbx
je 0x1400d7510
mov rdx, rbx
mov rcx, rsi
call fcn.14010a270
inc ebp
lea rcx, [0x1401296b0]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x1400d7480
mov eax, dword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.140109c00

Function at 0x1400efb90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
mov r8, rdx
mov dword [rsp + 0x20], ebx
mov r9, rdx
mov rsi, rcx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
call fcn.140119240
test ebx, ebx
jne 0x1400efbd4
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.140119240
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14010c8d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14010c9d9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x1401b9c20]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14010c951
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14010c98c
test ecx, ecx
jne 0x14010c99a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1400d94d0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14010c970
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14010c910
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14010c99f
inc r8
jmp 0x14010c940
test r10d, r10d
jne 0x14010c969
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14010c9c5
test edx, edx
je 0x14010c951
inc rax
jmp 0x14010c9b0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x14010c969
inc rax
jmp 0x14010c9b0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140152290
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.140118990
mov rbx, rax
test rax, rax
jne 0x1401522ce
lea eax, [rbx + 7]
jmp 0x140152350
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140152322
mov rax, qword [0x140202868]
test rax, rax
je 0x1401522ee
mov ecx, 0xc8
call rax
test eax, eax
jne 0x140152322
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x14012b8f0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.140176340
mov qword [rbx], rax
test rax, rax
jne 0x140152332
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x14015234b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140165b00
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov ecx, 0x148
call fcn.140167a7c
xor ebx, ebx
test rax, rax
je 0x140165b43
mov rcx, rax
call fcn.140165cb0
jmp 0x140165b46
mov rax, rbx
mov qword [0x1402100c8], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], bl
jne 0x140165b54
mov rdx, rdi
lea rcx, [0x140205060]
call fcn.1400090a0
lea rcx, [0x1402100d0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm1, xmm1
mov dword [rbp - 0x59], 0x9c
xorps xmm0, xmm0
lea rcx, [rbp - 0x59]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp + 0x3b], rax
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x55], xmm1
movups xmmword [rbp - 0x45], xmm1
movups xmmword [rbp - 0x35], xmm1
movups xmmword [rbp - 0x25], xmm1
movups xmmword [rbp - 0x15], xmm1
movups xmmword [rbp - 5], xmm1
movups xmmword [rbp + 0xb], xmm1
movups xmmword [rbp + 0x1b], xmm1
movups xmmword [rbp + 0x2b], xmm1
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x140165bdc
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x59], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, [0x1401a5bf0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1401a5bd8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x49], 2
jne 0x140165c7f
mov eax, dword [rbp - 0x55]
cmp eax, 6
jne 0x140165c43
mov eax, dword [rbp - 0x51]
cmp eax, 2
jne 0x140165c25
cmp byte [rbp + 0x41], 1
jne 0x140165c7f
lea ebx, [rax + 5]
jmp 0x140165c7f
cmp eax, 1
jne 0x140165c34
cmp byte [rbp + 0x41], al
jne 0x140165c7f
lea ebx, [rax + 2]
jmp 0x140165c7f
test eax, eax
jne 0x140165c7f
cmp byte [rbp + 0x41], 1
jne 0x140165c7f
lea ebx, [rax + 2]
jmp 0x140165c7f
cmp eax, 5
jne 0x140165c74
mov eax, dword [rbp - 0x51]
cmp eax, 2
jne 0x140165c64
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [rbp - 0x55]
cmp eax, 5
jne 0x140165c74
mov eax, dword [rbp - 0x51]
cmp eax, 1
je 0x140165c6d
test eax, eax
jne 0x140165c7f
mov ebx, 1
jmp 0x140165c7f
cmp eax, 4
mov ecx, 1
cmovbe ebx, ecx
mov dword [0x1402100fc], ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401677c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1401662c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x140166340
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ecx, dword [0x1402050c8]
cmp ecx, 0xffffffff
jne 0x140166361
xor esi, esi
jmp 0x14016636a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1401663ab
mov rdi, qword [rsi + 0x18]
cmp qword [rsi + 0x28], 0
jne 0x1401663f1
test rdi, rdi
jne 0x140166400
lea rdx, [0x140166190]
lea rcx, [0x140210130]
call fcn.140165f70
mov ecx, dword [0x1402050c8]
cmp ecx, 0xffffffff
je 0x1401663ab
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1401663de
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1401663de
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140166454
nop word [rax + rax]
mov rax, qword [rdi + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x140166437
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsi + 0x18]
test rdi, rdi
jne 0x140166400
mov rdi, qword [rsi + 0x20]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140166374
nop dword [rax]
nop dword [rax + rax]
mov rax, rbx
mov rbp, rbx
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1401664a8
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], 0
jne 0x1401664a3
nop word [rax + rax]
cmp rbx, qword [rcx + 0x10]
jne 0x1401664a3
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x140166490
mov rbx, rcx
jmp 0x1401664cf
mov rbx, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], 0
jne 0x1401664cf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x1401664c0
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1401664e7
mov rdx, qword [rax + 0x38]
test rdx, rdx
je 0x1401664e7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, rbp
lea rcx, [rsi + 0x20]
call fcn.140165ea0
cmp rbx, rdi
jne 0x140166470
jmp 0x140166374