joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420200
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040fbd0
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4202e9
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x420382
mov rcx, r12
add r14d, 0x10
call sym.malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x420324
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x420310
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x42037f
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call sym.get_ptr_from_atom_1
cmp rax, rbx
mov rsi, rax
je 0x420399
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov rsi, rax
jmp 0x420359
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x420359
mov rcx, rbx
call r13
jmp 0x420359

Function at 0x4204f0
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.global_lock_spinlock
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x420ce0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
lea rcx, str.rwl_global_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x420db0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
lea rcx, str.cond_locked_shmem_rwlock
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x4218d0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
lea rcx, str.init
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x4218f0
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.eh_globals
xor r8d, r8d
mov edx, 0x10
jmp dbg.__shmem_grab
Function at 0x421fa0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x421fc0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x423380
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
test rax, rax
jle 0x4233b1
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
mov dword [rbx + 0x48], 0xffffffff
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x423d00
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x00488090], 0
jne 0x423dc7
mov byte [0x00488090], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x423e5a
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov rdi, rax
call rsi
lea rcx, str.terminate_called_after_throwing_an_instance_of_
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x423db7
call rsi
lea rdx, [rax + 0x60]
mov rcx, rbx
call sym.fputs
call rsi
lea rcx, [0x0048a471]
lea r9, [rax + 0x60]
mov r8d, 2
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x423ded
call sym.__cxa_rethrow
call rsi
lea rdx, [rax + 0x60]
mov rcx, rdi
call sym.fputs
jmp 0x423d8e
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_recursively_n
lea r9, [rax + 0x60]
mov r8d, 0x1d
mov edx, 1
call sym.fwrite
call sym.abort
mov rcx, rdi
call sym.free
jmp 0x423db2
call sym.abort
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_without_an_active_exception_n
lea r9, [rax + 0x60]
mov r8d, 0x2d
mov edx, 1
call sym.fwrite
jmp 0x423e55

Function at 0x4525a0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x4525f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x4525ba
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004dd0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, qword [0x1401255c8]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004e17
inc dword [0x14012ac54]
add rbx, 0x150
mov qword [0x1401255c8], rbx
lea rdx, [0x140129540]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400d7a40
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x140004e42
lea rcx, [0x14012c5c0]
xor edx, edx
call fcn.140029860
xor edi, edi
cmp dword [0x14012aca0], edi
mov qword [0x14012d190], rdi
je 0x140004e76
mov rax, qword [0x140127148]
lea rcx, [0x1400f1514]
test rax, rax
je 0x140004e70
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test sil, sil
jne 0x140004f0c
cmp byte [rbx + 0x12e], dil
jne 0x140004eaa
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004eaa
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14012d19c], 0
je 0x140004ebc
cmp dword [0x14012d198], 0
jne 0x140004ec5
cmp byte [rbx + 0x12e], 0
je 0x140004f0c
cmp byte [rbx + 0x12e], 0
mov dword [rbx + 0x118], reloc.OLEAUT32.DLL_SafeArrayGetDim
mov byte [rbx + 0x12c], 0
jne 0x140004f0c
cmp dword [0x14012d19c], 0
jge 0x140004ef4
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004f0c
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14012d19c]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140006d20
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x14012d240], 0
mov rbx, rdx
mov rsi, rcx
je 0x140006d47
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x140006db7
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140006d70
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov ebx, ebx
test rbx, rbx
je 0x140006db7
lea rdx, [rbx + 1]
lea rcx, [0x14012d228]
call fcn.140006de0
test rax, rax
jne 0x140006d9a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x14012d240]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400da5c4
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x14012d228]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140006ea0
Function at 0x140006ea0
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x140006ecc
call fcn.140007240
test eax, eax
jne 0x140006ecc
lea rdx, [0x1400f1aa0]
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x140006ff0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.DLL_EmptyClipboard]
test eax, eax
jne 0x140006f1a
cmp dword [rdi + 0x2c], eax
je 0x140006f01
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x140006ef5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400f1ae8]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140006ff0
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x140006f5d
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140006f91
cmp word [rax], si
mov qword [rsp + 0x30], rbx
sete bl
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
test bl, bl
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rsi
mov dword [rdi + 0x28], esi
je 0x140006f91
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140006f81
cmp qword [rdi + 0x10], rsi
je 0x140006f75
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.DLL_SetClipboardData]
test rax, rax
je 0x140006fab
mov qword [rdi + 8], rsi
jmp 0x140006f5d
cmp dword [rdi + 0x2c], esi
je 0x140006fcf
cmp qword [rdi + 0x10], rsi
je 0x140006fc3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400f1b08]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140006ff0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x14000702b
cmp qword [rcx + 0x10], rsi
je 0x14000701f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140007042
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140007055
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000707f
lea r8, [0x1400f1514]
lea rcx, [0x14012c5c0]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14004e5e0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007120
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x14000713b
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000721a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.DLL_GetClipboardFormatNameW]
lea rdx, [0x1400f1b30]
lea rcx, [rsp + 0x20]
mov r8d, reloc.OLEAUT32.DLL_VariantChangeType
call fcn.1400d7260
test eax, eax
je 0x140007207
lea rdx, [0x1400f1b48]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
je 0x140007207
lea rdx, [0x1400f1b60]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
je 0x140007207
lea rdx, [0x1400f1b78]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
je 0x140007207
lea rdx, [0x1400f1b88]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
je 0x140007207
lea rdx, [0x1400f1ba8]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
je 0x1400071fc
lea rdx, [0x1400f1bd0]
lea rcx, [rsp + 0x20]
call fcn.1400d6a8c
test eax, eax
jne 0x14000721f
test rbx, rbx
je 0x140007207
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.DLL_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x140007240
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000725a
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x14012aab8]
mov edi, eax
call qword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
jne 0x1400072d4
xor esi, esi
nop
mov ecx, dword [0x140125590]
cmp ecx, 0xffffffff
je 0x1400072a4
test ecx, ecx
je 0x1400072f0
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [0x140125590]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x1400072f0
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140125594], esi
call fcn.140001b60
mov rcx, qword [0x14012aab8]
mov dword [0x140125594], 1
call qword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
je 0x140007280
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400076d0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
movzx ebp, r9w
mov qword [rdi], 0
mov r12d, r8d
mov r13d, edx
mov byte [r14], 0
call qword [sym.imp.WSOCK32.DLL_gethostbyname]
mov rsi, rax
test rax, rax
je 0x1400077a8
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x14000776b
cmp word [rax + 0x12], 4
jne 0x14000776b
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000776b
nop dword [rax]
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r12d
mov ecx, r13d
call fcn.140007630
mov qword [rdi], rax
test rax, rax
je 0x1400077a1
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x140007740
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1400d7e3c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov eax, 8
jmp 0x140007782
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
sub eax, 0x2af9
je 0x1400077bf
dec eax
je 0x1400077cd
dec eax
je 0x1400077c6
dec eax
mov eax, 0x2af9
jmp 0x140007787
mov eax, 0x2afb
jmp 0x140007787
mov eax, 0x2afa
jmp 0x140007787
Function at 0x140008040
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x1401293c0], 0
lea rax, [0x140007aa0]
lea rbx, [0x1400f1dc0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400f1db0]
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140007dc0]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, [0x1400f1da0]
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007a40]
mov qword [rsp + 0x48], rax
jne 0x1400081fa
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x1400081f0
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x280], rsi
call fcn.1400d7dd8
lea r8, [0x1400f1de0]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d82ac
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008122
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
jne 0x140008182
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d7dd8
lea r8, [0x1400f1de8]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d82ac
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400081e8
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
jne 0x140008182
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x1400081e8
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x1400081d7
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008191
mov rax, qword [rsp + 0x28]
mov qword [0x140124930], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140124940], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007a40], rax
jmp 0x1400081e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x1401293c0], 1
mov rbx, qword [rsp + 0x290]
movzx eax, bp
lea rcx, [0x140124928]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x140008600
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
movzx edi, byte [rcx + 0xb4]
mov rbp, rcx
test dil, dil
je 0x140008712
xor al, al
cmp qword [0x14012ac08], 0
mov qword [rsp + 0x80], r12
movzx eax, al
mov r12d, 1
cmovne eax, r12d
cmp qword [0x14012ac10], 0
je 0x140008648
or al, 2
cmp dil, al
je 0x140008703
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
movzx esi, dil
xor ebx, ebx
mov ecx, dword [0x1401298f8]
xor r9d, r9d
mov r8, rsi
mov edx, 0x417
call qword [sym.imp.USER32.DLL_PostThreadMessageW]
test eax, eax
jne 0x14000868c
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.DLL_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140008661
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rsi, qword [rsp + 0x78]
mov ebx, eax
nop dword [rax]
test dil, dil
je 0x140008720
mov r9d, 0x417
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, r9d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x140008729
cmp qword [rsp + 0x40], 0
je 0x1400086fe
xorpd xmm3, xmm3
lea rcx, [0x1400f4d90]
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140125594], 0
mov qword [rsp + 0x20], 0
call fcn.1400c0060
mov dword [0x140125594], r12d
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
mov byte [rbp + 0xb4], 0
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.140014760
test al, al
je 0x1400086fe
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x1400086fe
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1400086a0
Function at 0x14000a570
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 0x23], 0
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
jne 0x14000a596
mov rax, qword [rcx + 0x10]
movzx ecx, byte [rax + 0x21]
jmp 0x14000a59a
movzx ecx, byte [rcx + 0x21]
and cl, 1
mov byte [rdx + 0x5b], cl
movzx ecx, byte [rbx + 0x23]
test cl, cl
jne 0x14000a5b0
mov rax, qword [rbx + 0x10]
movzx ecx, byte [rax + 0x23]
xor r12d, r12d
cmp cl, 1
mov qword [rsp + 0x48], rsi
setne al
mov byte [rdx + 0x59], al
test al, al
je 0x14000a6fb
movzx ecx, byte [rbx + 0x23]
test ecx, ecx
je 0x14000a650
dec ecx
je 0x14000a601
dec ecx
je 0x14000a5ec
dec ecx
je 0x14000a640
mov rdx, qword [rbx + 0x28]
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.DLL_SafeArrayGetElement]
jmp 0x14000a65b
xor ecx, ecx
call fcn.140006ac0
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, r12
jmp 0x14000a65b
mov rcx, rbx
call fcn.140001130
cmp dword [0x14012ac4c], r12d
jne 0x14000a645
cmp qword [rbx + 0x10], r12
jne 0x14000a645
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x14000a639
mov qword [0x14012e1a8], r12
dec eax
jmp 0x14000a65b
mov qword [0x14012e1a8], rbx
mov rax, r12
jmp 0x14000a65b
mov rax, qword [rbx + 0x10]
shr rax, 1
jmp 0x14000a65b
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.1400bdaa0
mov rcx, qword [rbp]
lea rsi, [rax + 1]
test rcx, rcx
je 0x14000a676
call fcn.1400d8898
lea rcx, [rsi + rsi]
cmp rax, rcx
jae 0x14000a6a7
mov rcx, qword [rbp]
call fcn.1400d6fd8
mov eax, 0x104
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + rsi]
call fcn.1400d6f18
mov qword [rbp], rax
test rax, rax
jne 0x14000a6a7
mov eax, 0x3e6
jmp 0x14000a732
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.1400bdaa0
mov r11, qword [rbp]
mov dword [rdi + 0x30], r12d
mov qword [rdi + 0x20], r11
cmp dword [0x14012d254], r12d
je 0x14000a730
cmp qword [0x14012d238], r12
je 0x14000a6e5
mov rcx, qword [0x14012d228]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov qword [0x14012d238], r12
call qword [sym.imp.USER32.DLL_CloseClipboard]
mov dword [0x14012d254], r12d
mov qword [0x14012d228], r12
jmp 0x14000a730
cmp byte [rbx + 0x23], r12b
jne 0x14000a707
mov rax, qword [rbx + 0x10]
jmp 0x14000a70a
mov rax, rbx
test byte [rax + 0x21], 4
je 0x14000a724
lea rax, [0x1400f1514]
mov dword [rdx + 0x30], 3
mov qword [rdx + 0x20], rax
jmp 0x14000a730
add rdx, 0x20
mov rcx, rbx
call fcn.140007370
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
Function at 0x14000cf70
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 r12
sub rsp, 0x20
xor esi, esi
mov r12, rdx
mov rbx, rcx
mov edi, esi
mov rcx, qword [rbx + 0x50]
cmp rdi, rcx
jae 0x14000cfb4
mov rax, qword [rbx + 0x40]
cmp byte [rax + rdi], 0
je 0x14000d036
inc esi
mov edi, esi
cmp rdi, rcx
jb 0x14000cfa1
cmp rcx, qword [rbx + 0x48]
jne 0x14000d009
mov rcx, qword [rbx + 0x48]
lea rax, [rcx + rcx]
test rcx, rcx
jne 0x14000cfcc
mov eax, 0x800
cmp dword [rbx + 0x58], 0
jne 0x14000d04a
test rcx, rcx
mov ebp, 0x800
cmovne rbp, rcx
cmp rbp, rax
jae 0x14000cfeb
add rbp, rbp
cmp rbp, rax
jb 0x14000cfe3
cmp rbp, rcx
jbe 0x14000d009
mov rcx, qword [rbx + 0x40]
mov rdx, rbp
call fcn.1400d7018
test rax, rax
je 0x14000d043
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rbp
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x20]
sub r8d, dword [rbx + 0x50]
add rdx, qword [rbx + 0x50]
xor r9d, r9d
call qword [sym.imp.WSOCK32.DLL_recv]
cmp eax, 0xffffffff
je 0x14000d04a
cdqe
add qword [rbx + 0x50], rax
jmp 0x14000cf94
test r12, r12
je 0x14000d03f
mov dword [r12], esi
xor eax, eax
jmp 0x14000d056
mov dword [rbx + 0x58], 1
lea rcx, [0x1400f29a0]
call fcn.14000d640
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14000d080
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x20]
add rcx, 0x26
mov r8d, 0xa
call fcn.1400d86a8
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400d8290
lea r8, [0x1400f2a78]
lea rdx, [0x1400f2aa0]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.1400d81cc
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
lea rax, [rsp + 0x20]
xor r9d, r9d
add r8, rbx
sub r8d, eax
call qword [sym.imp.WSOCK32.DLL_send]
cmp eax, 0xffffffff
je 0x14000d14d
cmp dword [rdi + 0x78], 0
jne 0x14000d14d
mov rdx, qword [rdi + 0x70]
lea rcx, [rdi + 0x60]
inc rdx
call fcn.14000e060
test eax, eax
jne 0x14000d14d
mov rcx, qword [rdi + 0x70]
movzx eax, byte [0x1400f1514]
xor r9d, r9d
add rcx, qword [rdi + 0x60]
mov byte [rcx], al
inc qword [rdi + 0x70]
mov r8d, dword [rdi + 0x70]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.DLL_send]
cmp eax, 0xffffffff
je 0x14000d14d
xor eax, eax
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x78], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [0x1400f29a0]
call fcn.14000d640
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret