joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007b3c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140007b6a
xor eax, eax
jmp 0x140007c50
cmp qword [rcx + 0x68], 0
je 0x140007b7b
call fcn.140007c6c
jmp 0x140007c50
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007b92
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007b94
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007bc6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400288b0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140007c4a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140007bfd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140007c26
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140012c8c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140007c4a
cmp rsi, rbx
ja 0x140007c04
test rsi, rsi
je 0x140007c4a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140012c8c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140009608
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14002b030]
test rax, rax
je 0x140009652
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009652
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009652
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009652
cmp dword [rcx + 0x84], 0xe
jbe 0x140009652
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009654
xor al, al
add rsp, 0x28
ret
Function at 0x1400159ac
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140015a1b
xor ecx, ecx
call qword [0x14002b030]
test rax, rax
je 0x140015a1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140015a1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140015a1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140015a1b
cmp dword [rcx + 0x84], 0xe
jbe 0x140015a1b
cmp dword [rcx + 0xf8], 0
je 0x140015a1b
mov ecx, ebx
call fcn.140015ac0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400158b4
nop
cmp dword [rbp + 0x20], 0
jne 0x140015a7c
call fcn.1400212d4
cmp eax, 1
jne 0x140015a6c
xor dl, dl
jmp 0x140015a76
call fcn.1400212a0
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140015a87
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140015a90
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400159ac

Function at 0x140015b94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400159ac

Function at 0x140028440
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028468
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028468
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180008530
Capabilities:
Hash data using fnv

Disassembly:
push rdi
mov eax, 0x1080
call fcn.18001a9a0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1098], rbx
mov qword [rsp + 0x10a0], rsi
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
add rcx, 0x30
mov rax, qword [rcx]
call qword [rax]
or edx, 0xffffffff
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x1800085b5
cmp eax, 0x102
je 0x1800085b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, ebx
lea rdx, str.Error_waiting_for_event_to_signal__result:__i___i_.
lea rcx, [rsp + 0x60]
call fcn.180008190
lea rdx, [0x18006a958]
lea rcx, [rsp + 0x60]
call fcn.18001c5d8
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x30], r9d
movzx r8d, al
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rdx, 0x100000001b3
imul r8, rdx
movzx ecx, byte [rsp + 0x31]
xor r8, rcx
imul r8, rdx
movzx eax, byte [rsp + 0x32]
xor r8, rax
imul r8, rdx
movzx eax, byte [rsp + 0x33]
xor r8, rax
imul r8, rdx
mov rdx, qword [rdi + 0xa0]
and rdx, r8
mov r8, qword [rdi + 0x88]
mov rax, rdx
add rax, rax
mov rax, qword [r8 + rax*8]
mov rcx, qword [rdi + 0x78]
add rdx, rdx
mov r10, qword [r8 + rdx*8]
lea r11, [r8 + rdx*8]
cmp r10, rcx
jne 0x18000863a
mov rdx, rcx
jmp 0x180008641
mov rdx, qword [r11 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x180008657
cmp r9d, dword [rax + 0x10]
je 0x180008651
mov rax, qword [rax]
jmp 0x180008630
cmovne rax, rcx
jmp 0x18000865a
mov rax, rcx
cmp rax, rcx
jne 0x1800086e3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.1800092d0
mov rdx, rax
mov rax, qword [rdi + 0x80]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rax
cmp rcx, 1
jae 0x1800086b0
lea rcx, str.list_T__too_long
call fcn.18001b420
int3
inc rax
mov qword [rdi + 0x80], rax
mov qword [rbx + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov r9, qword [rdi + 0x78]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rdi + 0x70]
call fcn.180008e40
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsi]
mov byte [rax + 0x14], cl
lea rcx, [rsp + 0x48]
call fcn.180008920
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180008710
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rbx, rcx
mov qword [rsp + 0x28], rcx
call fcn.18000af60
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x20], r9d
movzx edx, al
movabs rsi, 0xcbf29ce484222325
xor rdx, rsi
movabs rdi, 0x100000001b3
imul rdx, rdi
movzx ecx, byte [rsp + 0x21]
xor rdx, rcx
imul rdx, rdi
movzx eax, byte [rsp + 0x22]
xor rdx, rax
imul rdx, rdi
movzx eax, byte [rsp + 0x23]
xor rdx, rax
imul rdx, rdi
mov rcx, qword [rbx + 0xa0]
and rcx, rdx
mov rdx, qword [rbx + 0x88]
mov rax, rcx
add rax, rax
mov rax, qword [rdx + rax*8]
mov r8, qword [rbx + 0x78]
add rcx, rcx
mov r10, qword [rdx + rcx*8]
lea r11, [rdx + rcx*8]
cmp r10, r8
jne 0x1800087bb
mov rcx, r8
jmp 0x1800087c2
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1800087d8
cmp r9d, dword [rax + 0x10]
je 0x1800087d2
mov rax, qword [rax]
jmp 0x1800087b1
cmovne rax, r8
jmp 0x1800087db
mov rax, r8
cmp rax, r8
je 0x1800087ee
lea rbx, [rax + 0x14]
lea rcx, [rsp + 0x28]
jmp 0x1800088c5
lea rcx, [rsp + 0x28]
call fcn.180008940
lea rdx, [rbx + 0xb0]
mov rcx, rbx
call fcn.180008530
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.18000af60
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x20], r9d
movzx r8d, al
xor r8, rsi
imul r8, rdi
movzx ecx, byte [rsp + 0x21]
xor r8, rcx
imul r8, rdi
movzx eax, byte [rsp + 0x22]
xor r8, rax
imul r8, rdi
movzx eax, byte [rsp + 0x23]
xor r8, rax
imul r8, rdi
mov rdx, qword [rbx + 0xa0]
and rdx, r8
mov r8, qword [rbx + 0x88]
mov rax, rdx
add rax, rax
mov rax, qword [r8 + rax*8]
mov rcx, qword [rbx + 0x78]
add rdx, rdx
mov r10, qword [r8 + rdx*8]
lea r11, [r8 + rdx*8]
nop dword [rax]
cmp r10, rcx
jne 0x18000888a
mov rdx, rcx
jmp 0x180008891
mov rdx, qword [r11 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x1800088a7
cmp r9d, dword [rax + 0x10]
je 0x1800088a1
mov rax, qword [rax]
jmp 0x180008880
cmovne rax, rcx
jmp 0x1800088aa
mov rax, rcx
cmp rax, rcx
jne 0x1800088bc
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.18001b444
int3
lea rbx, [rax + 0x14]
lea rcx, [rsp + 0x30]
call fcn.180008940
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800091d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r10, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
mov r9, r8
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
mov r8, qword [r10 + 0x30]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], r9
jne 0x180009278
cmp qword [rcx], r9
jne 0x18000926e
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x180009283
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x180009283
cmp qword [rcx], r9
jne 0x180009288
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x50]
mov rdx, qword [r9 + 8]
mov rcx, r9
mov rbx, qword [r9]
mov qword [rdx], rbx
mov r8, qword [r9]
mov rdx, qword [r9 + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.18000c2a0
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.18001a230
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180009520
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
mov eax, 0x1080
call fcn.18001a9a0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1098], rbx
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x1078], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x1070], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x1070]
call fcn.180004780
nop
lea rax, [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x1800097f0]
xor edx, edx
xor ecx, ecx
call fcn.18001ed20
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x30], 0
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800095f3
test rcx, rcx
je 0x1800095f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1800095e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_close_handle___i_.
lea rcx, [rsp + 0x50]
call fcn.180008190
lea rdx, [0x18006a958]
lea rcx, [rsp + 0x50]
call fcn.18001c5d8
int3
mov qword [rdi], 0
mov qword [rdi], rbx
lea rcx, [rsp + 0x30]
call fcn.180006f20
mov qword [rsp + 0x38], 0
cmp qword [rdi], 0
sete bl
lea rcx, [rsp + 0x38]
call fcn.180006f20
test bl, bl
je 0x18000963e
lea rdx, str.Thread_cannot_start.
lea rcx, [rsp + 0x50]
call fcn.180008190
lea rdx, [0x18006a958]
lea rcx, [rsp + 0x50]
call fcn.18001c5d8
int3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
lea rcx, [rsp + 0x1070]
call fcn.180004810
mov rcx, qword [rsp + 0x1078]
xor rcx, rsp
call fcn.18001a230
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1080
pop rdi
ret
Function at 0x180009680
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.180004780
nop
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1800096d2
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800096d2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg byte [rbx + 0x80], al
lea rcx, [rsp + 0x28]
call fcn.180004810
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18001a230
add rsp, 0x40
pop rbx
ret

Function at 0x180009b40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x68]
mov ebx, edx
mov rax, r8
xor edx, edx
mov r8d, ebx
mov dword [rsp + 0x68], edx
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180009b9b
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18001a230
add rsp, 0x80
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, ebx
lea rdx, str.Could_not_write__i_bytes_to_file_stream___i_.
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.180009a90
lea rdx, [0x18006ac18]
lea rcx, [rsp + 0x30]
call fcn.18001c5d8
int3
Function at 0x18000a060
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.18001a9a0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rsi, r9
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rbp + 0xfb8]
call fcn.18000a350
nop
xor eax, eax
mov qword [rbp + 0xfa0], rax
mov qword [rbp + 0xfa8], rax
mov qword [rbp + 0xfb0], rax
test rsi, rsi
je 0x18000a0f0
mov dword [rbp + 0xfa0], 0x18
mov dword [rbp + 0xfb0], 1
mov rax, qword [rsi]
mov qword [rbp + 0xfa8], rax
lea rax, vtable.Mutex.0
mov qword [rbx], rax
mov qword [rbx + 8], r14
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.1800020b0
nop
cmp qword [rax + 0x18], 8
jb 0x18000a122
mov rax, qword [rax]
lea rcx, [rbp + 0xfa0]
test rsi, rsi
cmove rcx, r14
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 8]
call fcn.1800098b0
nop
lea rcx, [rsp + 0x28]
call fcn.180006f20
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x18000a177
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180003130
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp qword [rbx + 8], 0
jne 0x18000a226
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x18000a1db
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 0x10
cmovae r8, qword [rbp + 0xfb8]
lea rdx, str.Access_is_denied_when_creating_mutex:__s
lea rcx, [rsp + 0x30]
call fcn.180009fc0
lea rdx, [0x18006ac58]
lea rcx, [rsp + 0x30]
call fcn.18001c5d8
int3
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.180002060
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x18000a1f9
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.Could_not_create_open_mutex_with_name__s___i_.
lea rcx, [rbp - 0x80]
call fcn.180008190
lea rdx, [0x18006a958]
lea rcx, [rbp - 0x80]
call fcn.18001c5d8
nop
lea rcx, [rbp + 0xfb8]
call fcn.1800025a0
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.18001a230
add rsp, 0x10e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000b100
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov esi, edx
mov r14, rcx
lea r15, [rcx + 0x10]
mov qword [rax + 0x18], r15
mov rcx, r15
call fcn.180016d10
nop
lea rax, [0x180041838]
mov qword [r15], rax
xor r12d, r12d
mov dword [r14 + 0xc], r12d
mov dword [0x18006d028], r12d
mov dword [r14 + 8], r12d
test esi, esi
jne 0x18000b18e
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x68]
add eax, eax
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0x34], 4
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0x34]
cmp eax, 4
cmovbe rcx, rdx
mov esi, dword [rcx]
mov r9d, esi
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [r14], rax
mov edi, r12d
mov dword [rsp + 0x30], r12d
nop dword [rax + rax]
cmp edi, esi
jae 0x18000b1fc
mov ecx, 8
call fcn.18000c240
mov rbx, rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x18000c230]
xor edx, edx
xor ecx, ecx
call fcn.18001ed20
mov qword [rbx], rax
mov rdx, rbx
mov rcx, r15
call fcn.180016e20
inc edi
mov dword [rsp + 0x30], edi
jmp 0x18000b1b0
mov rax, r14
jmp 0x18000b209
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x18000d4e0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x40
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movzx r14d, r8b
movzx ebx, dl
mov rsi, rcx
mov qword [rax - 0x18], 0xffffffffffffffff
mov dword [rax - 0x20], 1
mov dword [rax - 0x28], 0
xor r9d, r9d
lea edx, [r9 + 1]
lea ecx, [rdx + 0x16]
lea r8d, [r9 + 6]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov rdi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x18000d55d
mov rbx, qword [rsi]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.IOCPListenCommDll::IOCPListenCommDll:_Could_not_create_IPv6_socket._LE__d_
mov rcx, rsi
call qword [rbx + 0x20]
or rax, rdi
jmp 0x18000d5c8
test bl, bl
jne 0x18000d566
test r14b, r14b
je 0x18000d5be
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x68]
mov edx, 0x29
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x18000d5be
mov rbx, qword [rsi]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.IOCPListenCommDll::IOCPListenCommDll:_Could_not_put_IPv6_socket_into_dual_stack__IPv6_IPv4__mode._LE__d_
mov rcx, rsi
call qword [rbx + 0x20]
test r14b, r14b
je 0x18000d5be
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rax, 0xffffffffffffffff
jmp 0x18000d5c8
jmp 0x18000d5c5
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x18000dc50
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, r9
mov r14d, r8d
mov r12d, edx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rax, [0x180042c30]
mov qword [rcx], rax
lea rax, [0x180042c88]
mov qword [rcx], rax
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.180016d10
nop
lea rax, [0x180042c80]
mov qword [rbx], rax
lea r15, [rsi + 0x98]
mov qword [rsp + 0x38], r15
mov rcx, r15
call fcn.180016d10
nop
lea rax, [0x180041838]
mov qword [r15], rax
mov qword [rsi + 0x78], rdi
lea rdx, str.IOCPNet::IOCPNet:_Starting...
mov rcx, rsi
call fcn.18000e6a0
xor r13d, r13d
mov qword [rsi + 0x70], r13
mov dword [rsi + 0x80], r13d
mov dword [rsi + 8], r13d
mov qword [rsi + 0xe0], r13
mov qword [rsi + 0xd8], r13
mov ecx, 0x202
lea rdx, [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov qword [rsi + 0x84], rax
mov qword [rsi + 0x8c], rax
mov dword [rsi + 0x94], eax
mov r9d, r12d
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x18000dd6c
lea rdx, str.IOCPNet::IOCPNet:_Could_not_create_IOCP.
mov rcx, rsi
call fcn.18000e6a0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x10], rax
test rax, rax
jne 0x18000dd96
lea rdx, str.IOCPNet::IOCPNet:_Could_not_create_CheckSockets_event.
mov rcx, rsi
call fcn.18000e6a0
test r14d, r14d
jne 0x18000ddd1
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x78]
shr ecx, 1
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x38]
cmp ecx, 1
cmovbe rax, r8
mov r14d, dword [rax]
add r14d, dword [rsp + 0x78]
mov edi, r13d
mov dword [rsp + 0x30], r13d
nop dword [rax]
cmp edi, r14d
jae 0x18000de2a
mov ecx, 8
call fcn.18000c240
mov rbx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rsi
lea r8, [0x18000e980]
xor edx, edx
xor ecx, ecx
call fcn.18001ed20
mov qword [rbx], rax
mov rdx, rbx
mov rcx, r15
call fcn.180016e20
inc edi
mov dword [rsp + 0x30], edi
jmp 0x18000dde0
mov dword [rsi + 0x28], 0x3c
mov dword [rsi + 0xc], r13d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rsi
lea r8, [0x18000e400]
xor edx, edx
xor ecx, ecx
call fcn.18001ed20
mov qword [rsi + 0x18], rax
mov rcx, rsi
call fcn.18000e570
nop
mov rax, rsi
jmp 0x18000de6e
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18001a230
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18000f110
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0xf8]
mov r14, r9
mov r9d, dword [rsp + 0xf0]
mov ebp, r8d
mov rsi, rdx
mov dword [rsp + 0x30], 2
xor r15d, r15d
mov rbx, rcx
mov dword [rsp + 0x28], r15d
mov r8, r14
mov edx, ebp
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x18000f1aa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r10, qword [rbx]
lea rcx, [rbx + 0x250]
mov r9, qword [rbx + 0x298]
lea rdx, str.IOCPSocketBase::GetAddressAndPort:_Could_not_getnameinfo_for_address._LE__d__Socket__x__p__Overlapped__p_
mov qword [rsp + 0x28], rcx
mov r8d, eax
mov rcx, rbx
mov qword [rsp + 0x20], rbx
call qword [r10 + 0x58]
mov byte [r14], r15b
xor eax, eax
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], r15d
lea r8, [rsp + 0x40]
mov edx, ebp
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x48], rax
lea r9d, [rax + 0x3f]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x18000f235
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r10, qword [rbx]
lea rdx, [rbx + 0x250]
mov r9, qword [rbx + 0x298]
mov r8d, eax
mov qword [rsp + 0x28], rdx
mov rcx, rbx
lea rdx, str.IOCPSocketBase::GetAddressAndPort:_Could_not_getnameinfo_for_port._LE__d__Socket__x__p__Overlapped__p_
mov qword [rsp + 0x20], rbx
call qword [r10 + 0x58]
mov dword [rdi], r15d
jmp 0x18000f241
lea rcx, [rsp + 0x40]
call fcn.180020c00
mov dword [rdi], eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18001a230
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret