joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c90058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c901df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c90089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9006f
add dl, dl
jne 0x140c90096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c900f6
xor eax, eax
add dl, dl
jne 0x140c900a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c901ad
add dl, dl
jne 0x140c900b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c900c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c900d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c900dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c900ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c9007e
mov eax, 1
add dl, dl
jne 0x140c90106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c90113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c900fb
sub eax, ebx
mov ebx, 1
jne 0x140c9014c
mov ecx, 1
add dl, dl
jne 0x140c9012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c9013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c90123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c90168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c90175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9015d
cmp eax, 0x7d00
jae 0x140c9019b
cmp eax, 0x500
jb 0x140c90196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9007e
cmp eax, 0x7f
ja 0x140c9019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c901d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c9007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14002ae80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002aec7
test byte [rcx + 0x1c], 4
je 0x14002aec7
cmp byte [rcx + 0x19], 5
jb 0x14002aec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b80]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x14009a0f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002af0c
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002b08d
lea rcx, [0x14009a008]
call fcn.14003388c
jmp case.default.0x14002b08d
cmp eax, 2
jne 0x14002af7b
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002b08d
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002b08d
test byte [rax + 0x1c], 4
je case.default.0x14002b08d
cmp byte [rax + 0x19], 2
jb case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002b08d
cmp eax, 3
jne case.default.0x14002b08d
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002afcf
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002afcf
test byte [rax + 0x1c], 4
je 0x14002afcf
cmp byte [rax + 0x19], 2
jb 0x14002afcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002b02a
cmp dword [rbx + 0x65c], 0
je 0x14002b033
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002b02a
test byte [rcx + 0x1c], 4
je 0x14002b02a
cmp byte [rcx + 0x19], 2
jb 0x14002b02a
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140082b80]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002b08d
cmp qword [rbx + 0x668], 0
je case.default.0x14002b08d
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b73c
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14006264c
lea rcx, [0x14009a0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
int3
invalid
push rcx
insd dword [rdi], dx
lodsb al, byte [rsi]
out dx, eax
invalid
mov eax, 0xf5cc98ab
invalid
Function at 0x140066eec
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140066f4d
test byte [rcx + 0x1c], 2
je 0x140066f4d
cmp byte [rcx + 0x19], 5
jb 0x140066f4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140085498]
mov edx, 0xa
call fcn.140001010
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
test eax, eax
jne 0x140066faa
mov rax, qword [str.___t_]
cmp rax, rdi
je 0x140066fa3
test byte [rax + 0x1c], 2
je 0x140066fa3
cmp byte [rax + 0x19], 2
jb 0x140066fa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140085498]
in eax, 1
add byte [rbx + rcx*4 - 0x38], al
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x140067088
cmp dword [rsp + 0x30], 2
je 0x140066fe0
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x140066fa3
test byte [rcx + 0x1c], 2
je 0x140066fa3
cmp byte [rcx + 0x19], 3
jb 0x140066fa3
mov edx, 0xd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140085498]
call fcn.140001010
jmp 0x140066fa3
cmp dword [rsp + 0x24], 5
jae 0x140067006
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x140066fa3
test byte [rcx + 0x1c], 2
je 0x140066fa3
cmp byte [rcx + 0x19], 3
jb 0x140066fa3
mov edx, 0xe
jmp 0x140066fce
mov cl, byte [rsp + 0x138]
mov eax, 0x40
test al, cl
je 0x140067026
cmp byte [rsp + 0x13a], 1
lea ecx, [rax - 0x20]
cmove eax, ecx
jmp 0x140067088
mov eax, 0x200
test word [rsp + 0x138], ax
je 0x14006703c
mov eax, 1
jmp 0x140067088
test cl, 2
je 0x140067048
mov eax, 8
jmp 0x140067088
mov eax, 0x80
test al, cl
je 0x140067058
mov eax, 0x10
jmp 0x140067088
mov ecx, 0x400
test word [rsp + 0x138], cx
jne 0x140067088
mov cl, byte [rsp + 0x13a]
cmp cl, 1
jne 0x14006707a
mov eax, 2
jmp 0x140067088
sub cl, 2
mov eax, 4
cmp cl, 1
cmova eax, edx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400786e0
add rsp, 0x150
pop rdi
ret
Function at 0x140011096
Capabilities:
Terminate process

Disassembly:
jmp 0x140014b90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011154
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140011f60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140020008]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x140026015]
call fcn.14001108c
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112d5
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 0x1b0]
call fcn.14001133e
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x68], 0x49
mov byte [rbp + 0x69], 0x89
mov byte [rbp + 0x6a], 0xca
mov byte [rbp + 0x6b], 0xb8
mov byte [rbp + 0x6c], 0xbc
mov byte [rbp + 0x6d], 0
mov byte [rbp + 0x6e], 0
mov byte [rbp + 0x6f], 0
mov byte [rbp + 0x70], 0xf
mov byte [rbp + 0x71], 5
mov byte [rbp + 0x72], 0xc3
mov byte [rbp + 0x73], 0x90
mov byte [rbp + 0x74], 0x90
mov byte [rbp + 0x75], 0x90
mov byte [rbp + 0x76], 0x90
mov eax, 1
imul rax, rax, 4
movzx ecx, byte [rbp + 0x24]
mov byte [rbp + rax + 0x68], cl
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx]
mov byte [rbp + rax + 0x68], cl
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx + 1]
mov byte [rbp + rax + 0x68], cl
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x94], eax
cmp dword [rbp + 0x94], 0
jne 0x140012086
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection___u__n
call fcn.1400111ef
xor eax, eax
jmp 0x1400120e2
mov r8d, 0xf
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x1b0]
call fcn.140011316
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, 0x1000
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
jne 0x1400120dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection_back___u__n
call fcn.1400111ef
xor eax, eax
jmp 0x1400120e2
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bd50]
call fcn.14001137f
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400110dc
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret

Function at 0x1400111d6
Capabilities:
Create thread

Disassembly:
jmp 0x14001377c
jmp qword [sym.imp.ntdll.dll_NtCreateThreadEx]
Function at 0x14001131b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015fc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015fe0
xor al, al
jmp 0x140016061
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015ff3
xor al, al
jmp 0x140016061
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001601d
xor al, al
jmp 0x140016061
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016031
xor al, al
jmp 0x140016061
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016043
xor al, al
jmp 0x140016061
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001605f
xor al, al
jmp 0x140016061
mov al, 1
add rsp, 0x38
ret

Function at 0x1406e5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406e51df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406e5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e506f
add dl, dl
jne 0x1406e5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e50f6
xor eax, eax
add dl, dl
jne 0x1406e50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e51ad
add dl, dl
jne 0x1406e50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406e50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406e507e
mov eax, 1
add dl, dl
jne 0x1406e5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e50fb
sub eax, ebx
mov ebx, 1
jne 0x1406e514c
mov ecx, 1
add dl, dl
jne 0x1406e512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406e5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e515d
cmp eax, 0x7d00
jae 0x1406e519b
cmp eax, 0x500
jb 0x1406e5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e507e
cmp eax, 0x7f
ja 0x1406e519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406e51d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406e507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
movabs rdx, 0x117fe
xor ecx, ecx
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r14
call fcn.1401067b0
mov qword [rbp + 0x20], 0xfffffffffffffffe
cmp dword [section..data], 0
jne 0x14000121f
mov r14, qword [0x1401a6c80]
test r14, r14
je 0x14000104c
call r14
jmp 0x140001053
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop
mov ecx, 0x50
mov dword [rbp + 0x40], 0
call fcn.14010fbf8
mov r14, rax
mov qword [rbp + 0x38], r14
test r14, r14
je 0x140001100
mov rdx, r14
xor eax, eax
mov dword [rbp + 0x40], 1
mov qword [rbp + 0x10], r14
xchg dword [rdx], eax
xor eax, eax
lea rdx, [r14 + 4]
xchg byte [rdx], al
mov ecx, select
lea rax, [r14 + 8]
xor r15d, r15d
mov qword [rbp + 0x18], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
call fcn.14010fbf8
test rax, rax
je 0x140001219
mov r8, qword [rbp + 0x18]
mov edx, 2
mov qword [r8], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov rax, qword [r8]
mov rcx, qword [rbp + 0x10]
add rcx, 0x30
mov qword [rax], r8
call fcn.14010a6f0
test eax, eax
jne 0x14000120c
xor eax, eax
mov qword [r14 + 0x38], 0
mov byte [r14 + 0x40], al
mov dword [rbp + 0x40], eax
jmp 0x140001103
xor r14d, r14d
mov rcx, r14
call fcn.1400015a0
nop
movabs r8, 0x112e0be826d694b3
lea rcx, [r14 + 0x38]
mov qword [rbp], r12
lea r15, [rbp + 0x58]
mov qword [rbp + 8], r13
mov r13, rcx
mov r12, r8
call fcn.14010a86c
imul r11, rax, 0x64
movabs rax, 0x112e0be826d694b3
lea r9, [r11 + 0x3b9aca00]
imul r9
sar rdx, 0x1a
sar r9, 0x3f
sub rdx, r9
imul r10, rdx, 0xffffffffc4653600
mov qword [rbp + 0x48], rdx
lea rax, [r10 + r11 + 0x3b9aca00]
mov dword [rbp + 0x50], eax
vmovups xmm0, xmmword [rbp + 0x48]
vmovups xmmword [rbp + 0x58], xmm0
call fcn.14010fc94
cmp eax, 0xffffffff
jne 0x140001188
mov rcx, r15
call fcn.14010a974
jmp 0x1400011a9
mov edx, 1
lea rcx, [rbp + 0x38]
call fcn.14010a89c
mov rcx, r15
lea rdx, [rbp + 0x38]
call fcn.14010a7a0
mov ecx, eax
call fcn.14010fee8
mov rcx, r14
call fcn.1400012c0
cmp byte [r14 + 0x48], 0
je 0x14000112c
mov rcx, r13
lea rdx, [rbp + 0x10]
mov qword [rbp + 0x10], 0
call fcn.1400039b0
test eax, eax
jne 0x14000112c
lea rcx, [0x1401a7370]
lea rdx, str.Miner_stopped
mov byte [r14 + 0x48], 0
call fcn.140061b90
mov rcx, rax
lea rdx, [0x140014570]
call fcn.140062f70
mov rcx, r14
call fcn.1400015a0
jmp 0x14000112c
mov ecx, eax
call fcn.14010aab0
nop
jmp 0x1400010ed
call fcn.14010ac28
nop
lea rcx, str.KERNEL32.DLL
mov dword [section..data], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140001257
mov rcx, rax
lea rdx, [0x140159fe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [0x1401a6c80], r14
jmp 0x14000125e
mov r14, qword [0x1401a6c80]
test r14, r14
je 0x140001275
lea rcx, str.Using_64_bit_tick_count.
call fcn.14010ff5c
nop
jmp 0x140001047
lea rcx, str.Using_32_bit_tick_count.
call fcn.14010ff5c
nop
jmp 0x14000104c
Function at 0x140010720
Capabilities:
Check os version

Disassembly:
push rbp
sub rsp, 0x180
lea rbp, [rsp + 0x20]
lea rax, [0x1401e3690]
mov qword [rbp + 0x148], r15
xor r15d, r15d
mov qword [rbp + 0x150], r14
mov r14, r8
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x170], rcx
mov qword [rbp], 0xfffffffffffffffe
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], r15
mov qword [rcx], rax
mov qword [rcx + 0x28], r15
mov dword [rbp + 0xb0], __WSAFDIsSet
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rcx + 0x30], xmm0
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1400107a9
cmp dword [rbp + 0xb4], 6
jb 0x1400107a9
mov eax, 0xffffffff
jmp 0x1400107ae
mov eax, 0x1f4
mov rcx, qword [rbp + 0x170]
mov dword [rcx + 0x40], eax
mov qword [rcx + 0x48], r15
mov qword [rcx + 0x50], r15
mov dword [rcx + 0x58], 0
add rcx, 0x60
call fcn.1400c4690
mov r13d, eax
call fcn.1400cc560
test r13d, r13d
jne 0x140010854
movabs r9, 0xffffffff
xor edx, edx
cmp r9, r14
mov rax, qword [rbp + 0x170]
cmovb r14, r9
mov rcx, 0xffffffffffffffff
xor r8d, r8d
mov r9d, r14d
mov qword [rax + 0x88], r15
mov qword [rax + 0x90], r15
mov qword [rax + 0x98], r15
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rdx, rax
mov rax, qword [rbp + 0x170]
mov qword [rax + 0x28], rdx
test rdx, rdx
je 0x1400108b6
mov r13, qword [rbp + 0x158]
mov r14, qword [rbp + 0x150]
mov r15, qword [rbp + 0x148]
lea rsp, [rbp + 0x160]
pop rbp
ret
mov dword [rbp + 8], r13d
lea r13, [rbp + 0x68]
mov rcx, r13
lea rdx, [rbp + 0x50]
mov qword [rbp + 0x10], rax
lea rax, str.mutex
mov qword [rbp + 0x50], rax
call fcn.140114a10
nop
mov rcx, r13
vmovups xmm0, xmmword [rbp + 8]
vmovups xmmword [rbp + 0x80], xmm0
lea rax, [0x1401e34d0]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0xa8], setsockopt
mov qword [rbp + 0xa0], 0
mov byte [rbp + 0x90], 0
call fcn.1400c2a60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
call fcn.1400cc560
test r13d, r13d
je 0x140010836
mov dword [rbp + 0x50], r13d
lea r13, [rbp + 8]
mov rcx, r13
lea rdx, [rbp + 0x60]
mov qword [rbp + 0x58], rax
lea rax, str.iocp
mov qword [rbp + 0x60], rax
call fcn.140114a10
nop
mov rcx, r13
vmovups xmm0, xmmword [rbp + 0x50]
vmovups xmmword [rbp + 0x20], xmm0
lea rax, [0x1401e34d0]
mov qword [rbp + 8], rax
mov qword [rbp + 0x48], setsockopt
mov qword [rbp + 0x40], 0
mov byte [rbp + 0x30], 0
call fcn.1400c2a60
nop
push rbp
sub rsp, 0x180
lea rbp, [rdx + 0x20]
lea rcx, [rbp + 0x68]
call fcn.1400c9240
add rsp, 0x180
pop rbp
ret
Function at 0x140086100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
sub rsp, 0xc0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x98], rsi
mov rsi, rcx
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov dword [rbp + 0x78], 0
call fcn.1400cc560
mov rsi, qword [rsi + 0x10]
mov qword [rbp + 0x80], rax
xor eax, eax
lea rdx, [rsi + 0x30]
lock xadd dword [rdx], eax
test eax, eax
je 0x1400861b8
mov ecx, dword [0x1401a7164]
lea rax, [rbp + 0x88]
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1401a7164]
lea rdx, [rbp + 0x58]
mov qword [rbp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, rsi
mov edx, 1
lea r8, [rbp + 0x78]
call fcn.1400c4d30
nop
mov rdx, qword [rbp + 0x68]
mov ecx, dword [0x1401a7164]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14008620a
call fcn.1401100d8
jmp 0x14008620a
mov eax, 1
lea rdx, [rsi + 0x34]
xchg dword [rdx], eax
test eax, eax
jne 0x1400861f0
mov eax, 1
lea rdx, [rsi + 0x38]
xchg dword [rdx], eax
test eax, eax
jne 0x1400861f0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140086276
mov dword [rbp], 0
call fcn.1400cc560
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x78], xmm0
cmp dword [rbp + 0x78], 0
jne 0x140086220
mov rsi, qword [rbp + 0x98]
lea rsp, [rbp + 0xa0]
pop rbp
ret
lea rcx, [rbp]
vmovups xmm0, xmmword [rbp + 0x78]
vmovups xmmword [rbp + 0x48], xmm0
lea rax, [0x140157cd8]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], rax
call fcn.140114a10
nop
lea rcx, [rbp]
vmovups xmm0, xmmword [rbp + 0x48]
vmovups xmmword [rbp + 0x18], xmm0
lea rax, [0x1401e34d0]
mov qword [rbp], rax
mov qword [rbp + 0x40], setsockopt
mov qword [rbp + 0x38], 0
mov byte [rbp + 0x28], 0
call fcn.1400c2a60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1400cc560
test esi, esi
je 0x1400861f0
mov qword [rbp + 0x50], rax
lea rcx, [rbp]
lea rax, str.pqcs
lea rdx, [rbp + 0x58]
mov dword [rbp + 0x48], esi
mov qword [rbp + 0x58], rax
call fcn.140114a10
nop
lea rcx, [rbp]
vmovups xmm0, xmmword [rbp + 0x48]
vmovups xmmword [rbp + 0x18], xmm0
lea rax, [0x1401e34d0]
mov qword [rbp], rax
mov qword [rbp + 0x40], setsockopt
mov qword [rbp + 0x38], 0
mov byte [rbp + 0x28], 0
call fcn.1400c2a60
nop
push rbp
sub rsp, 0xc0
lea rbp, [rdx + 0x20]
lea rcx, [rbp]
call fcn.1400c9240
add rsp, 0xc0
pop rbp
ret