joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400070a0
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
jne 0x1400070cc
call fcn.1400073c0
test eax, eax
jne 0x1400070cc
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400071f0
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000711a
cmp dword [rbx + 0x2c], eax
je 0x140007101
xor edi, edi
cmp qword [rbx + 0x10], rdi
je 0x1400070f5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x140103c88]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400071f0
mov rdx, qword [rbx + 8]
xor edi, edi
test rdx, rdx
je 0x140007168
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rsi
xor sil, sil
test rax, rax
je 0x140007151
cmp word [rax], di
mov rcx, rdx
sete sil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x28], edi
test sil, sil
mov rsi, qword [rsp + 0x30]
je 0x14000719c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp dword [rbx + 0x2c], edi
je 0x14000718c
cmp qword [rbx + 0x10], rdi
je 0x140007180
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov ecx, ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400071b2
mov qword [rbx + 8], rdi
jmp 0x140007168
cmp dword [rbx + 0x2c], edi
je 0x1400071d6
cmp qword [rbx + 0x10], rdi
je 0x1400071ca
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x140103ca8]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400071f0
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 0x14000722b
cmp qword [rcx + 0x10], rsi
je 0x14000721f
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 0x140007242
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 0x140007255
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000727f
lea r8, [0x140103574]
mov rdx, rdi
lea rcx, [0x140145cd0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400570c0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400072a0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x1400072bc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000739b
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call fcn.1400dc238
test eax, eax
je 0x140007388
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
je 0x140007388
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
je 0x140007388
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
je 0x140007388
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
je 0x140007388
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
je 0x14000737d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400da910
test eax, eax
jne 0x1400073a0
test rbx, rbx
je 0x140007388
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 0x1400073c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400073da
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 [0x140142770]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007454
xor esi, esi
nop
mov ecx, dword [0x14013dc00]
cmp ecx, 0xffffffff
je 0x140007424
test ecx, ecx
je 0x140007470
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14013dc00]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140007470
mov edx, 1
mov dword [0x14013dbe4], esi
mov ecx, 0x8000012f
call fcn.140001b10
mov rcx, qword [0x140142770]
mov dword [0x14013dbe4], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007400
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140007730
Capabilities:
Resolve dns

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov r14, rcx
xor r15d, r15d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x401
mov r12d, r15d
call fcn.1400d8190
xor edx, edx
lea rcx, [rsp + 0x440]
mov r8d, 0x401
call fcn.1400d8190
mov r9d, 0x400
lea rbx, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x30]
lea rdi, [rsp + 0x440]
lea edx, [r9 + 1]
call fcn.1400df500
mov r13, qword [rsp + 0x8c8]
lea rbp, [r15 - 1]
nop dword [rax]
mov rcx, r14
mov qword [r13], r15
mov rsi, r13
mov byte [rdi], r15b
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140007930
cmp word [rax + 0x10], 2
jne 0x140007840
cmp word [rax + 0x12], 4
jne 0x140007840
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x14000783b
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.140007690
mov qword [rsi], rax
test rax, rax
je 0x1400078c3
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007800
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.1400df500
cmp qword [r13], r15
jne 0x1400078ce
mov rax, rbp
nop
inc rax
cmp byte [rdi + rax], r15b
jne 0x140007860
test rax, rax
je 0x14000794a
mov r8, rdi
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007893
inc rax
test ecx, ecx
jne 0x140007880
test edx, edx
je 0x14000794a
inc r12d
cmp r12d, 0x10
je 0x14000794a
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x1400077c0
mov r15d, 8
jmp 0x140007960
cmp dword [rsp + 0x8c0], r15d
je 0x140007960
nop dword [rax]
cmp byte [rdi + rbp + 1], r15b
lea rbp, [rbp + 1]
jne 0x1400078e0
lea rdx, [rbp + 1]
mov ecx, 1
call fcn.1400df488
mov rbx, rax
test rax, rax
jne 0x140007906
mov rbx, r15
jmp 0x140007915
mov r8, rdi
lea rdx, [rbp + 1]
mov rcx, rax
call fcn.1400df490
mov rax, qword [r13]
mov ecx, 8
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], r15
cmove r15d, ecx
jmp 0x140007960
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x14000795a
sub ecx, 1
je 0x140007952
sub ecx, 1
jne 0x14000795a
mov r15d, 0x2afb
jmp 0x140007960
mov r15d, 0x2afa
jmp 0x140007960
mov r15d, 0x2af9
mov eax, r15d
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007ff0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x1401482c0], 0
lea rax, [0x1400079d0]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rax
movzx ebp, cx
lea rax, [0x140007dc0]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007980]
mov qword [rsp + 0x48], rax
jne 0x1400081aa
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400081a0
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df490
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df5e8
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400080d2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008132
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df490
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df5e8
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008198
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008132
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008198
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 0x140008187
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008141
mov rax, qword [rsp + 0x28]
mov qword [0x140140990], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1401409a0], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007980], rax
jmp 0x140008190
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x1401482c0], 1
mov rbx, qword [rsp + 0x290]
lea rcx, str.getaddrinfo
movzx eax, bp
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x1400081d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x140140378], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008235
cmp byte [rcx + 5], 1
jne 0x140008235
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x140008206
mov qword [rdx + 0x38], rbx
lea edx, [rbx + 8]
call fcn.1400d62f0
cmp dword [0x1401403c0], 2
je 0x14000822d
lea rcx, [0x140140350]
call fcn.140008340
test eax, eax
jne 0x14000822b
lea rcx, [0x140140350]
call fcn.140008470
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9d, dword [0x1401403c0]
cmp r9d, 3
je 0x1400082fb
cmp r9d, 4
jne 0x1400082c0
mov rcx, qword [0x140140358]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140140350]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401403cc]
jle 0x1400082fb
mov rcx, qword [0x140140370]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008335
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008335
lea rcx, [0x140140350]
add rsp, 0x20
pop rbx
jmp fcn.140008470
cmp r9d, 5
jne 0x140008281
mov rcx, qword [0x140140358]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140140350]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401403cc]
jge 0x140008281
movzx eax, byte [r8]
cmp al, 0x77
je 0x140008281
cmp al, 0x78
jne 0x140008316
cmp qword [r8 + 0x10], 0
je 0x140008281
cmp dword [r8 + 4], 0
je 0x140008281
cmp r9d, 2
jne 0x14000820f
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000c8b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov r10, r8
mov rbx, rcx
test rdx, rdx
jne 0x14000c903
mov edx, dword [rcx + 0x70]
sub edx, 1
je 0x14000c8fc
sub edx, 2
je 0x14000c8f3
sub edx, 1
je 0x14000c8ea
cmp edx, 1
je 0x14000c8e1
lea rdx, [0x140103b1e]
jmp 0x14000c903
lea rdx, str.step_out
jmp 0x14000c903
lea rdx, str.step_over
jmp 0x14000c903
lea rdx, str.step_into
jmp 0x14000c903
lea rdx, [0x140103de8]
mov rax, qword [rcx + 0x88]
lea r8, [0x140103b1e]
test rax, rax
je 0x14000c920
mov rax, qword [rax]
test rax, rax
cmovne r8, rax
mov qword [rsp + 0x28], r8
add rcx, 0x50
mov qword [rsp + 0x20], r9
mov r8, rdx
mov r9, r10
lea rdx, str._response_command__s__status__s__reason__s__transaction_id__e___
call fcn.14000d320
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000c950

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x60]
mov r8d, 0xa
add rcx, 0x26
call fcn.1400da708
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7ae4
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x140104b80]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000e4d0
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
xor r9d, r9d
add r8, rbx
lea rax, [rsp + 0x20]
sub r8d, eax
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000ca1d
cmp dword [rdi + 0x68], 0
jne 0x14000ca1d
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000da20
test eax, eax
jne 0x14000ca1d
mov rcx, qword [rdi + 0x50]
xor r9d, r9d
add rcx, qword [rdi + 0x60]
movzx eax, byte [0x140103574]
mov byte [rcx], al
inc qword [rdi + 0x60]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000ca1d
xor eax, eax
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x68], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d020
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000d770
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x14000d8fc
movabs rbp, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000d7d1
lea rdx, [r8 - 1]
mov rax, rbp
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rcx + 0x10]
call fcn.14000da20
test eax, eax
je 0x14000d7d1
mov eax, 0x3e6
jmp 0x14000d8fe
test rdi, rdi
je 0x14000d8fc
mov r9, qword [rsi + 0x10]
xor r8d, r8d
add r9, qword [rsi]
cmp rbx, 0xffffffffffffffff
jne 0x14000d7f9
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000d7f0
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000d88d
lea rcx, [rbx - 3]
mov rax, rbp
mul rcx
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
add rbx, rax
movzx eax, byte [rdi + 1]
movzx ecx, byte [rdi]
shl rcx, 8
or rcx, rax
movzx eax, byte [rdi + 2]
shl rcx, 8
add rdi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r9 + r8], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + r8 + 1], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + r8 + 2], al
movzx eax, byte [rcx + r10]
mov byte [r9 + r8 + 3], al
add r8, 4
sub rdx, 1
jne 0x14000d821
test rbx, rbx
je 0x14000d8f3
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000d8aa
movzx eax, byte [rdi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r8 + r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r8 + r9 + 1], al
cmp rbx, 1
jbe 0x14000d8e2
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r10]
jmp 0x14000d8e4
mov al, 0x3d
mov byte [r8 + r9 + 2], al
mov byte [r8 + r9 + 3], 0x3d
add r8, 4
mov byte [r8 + r9], 0
add qword [rsi + 0x10], r8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e090
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x14000e107
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e13a
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e0e8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e0db
call fcn.1400dc21c
mov edx, 0x28
mov rcx, rdi
call fcn.1400d62f0
mov qword [rbx + 8], 0
mov rax, rbx
mov byte [rbx + 0x10], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.14000e730
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000e530
mov rax, qword [rbx + 8]
mov r8d, edi
mov rcx, rsi
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f020
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x1401468b0], 0
mov rbp, rdx
mov rdi, rcx
je 0x14000f0fa
mov esi, dword gs:[0x48]
cmp dword [0x140145ca0], esi
je 0x14000f05c
mov rcx, qword [0x140145ca8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000f063
cmp word [rdi], 0
je 0x14000f109
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140145cd0]
call fcn.140048200
test rax, rax
jne 0x14000f0ce
cmp byte [rsp + 0x60], al
lea rcx, [0x140145cd0]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.140048730
test rax, rax
je 0x14000f109
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400be640
cmp dword [0x140145ca0], esi
je 0x14000f0fa
mov rcx, qword [0x140145ca8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140145ca0], esi
je 0x14000f11e
mov rcx, qword [0x140145ca8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018ee0
Capabilities:
Create thread

Disassembly:
or byte [0x1401436e6], 2
cmp qword [0x140142798], 0
jne 0x140018efd
movzx edx, word [0x1401437ac]
jmp fcn.1400147f0
ret
Function at 0x14001dc70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rsi
push rdi
sub rsp, 0x98
mov qword [rax + 8], rbx
movzx edi, r9b
mov qword [rax - 0x18], rbp
movzx ebx, dx
mov qword [rax - 0x20], r12
movzx ebp, cl
mov qword [rax - 0x28], r13
movzx r13d, r8b
mov qword [rax - 0x38], r15
or r13b, r9b
lea eax, [rbp - 1]
cmp al, 5
ja 0x14001dcb5
cmp cl, 3
jne 0x14001dcbc
lea eax, [rbp + 0x66]
cmp al, 5
ja 0x14001dcc1
mov r15b, 1
jmp 0x14001dcc4
xor r15b, r15b
mov eax, dword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
movzx r12d, byte [rsp + 0xe0]
test eax, eax
jle 0x14001de51
mov edi, dword [rsp + 0xd8]
mov qword [rsp + 0x78], r14
mov r14d, eax
cmp dword [0x140146c34], 0
jne 0x14001dd63
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14013dbf0]
sub eax, dword [0x1401468d4]
cmp eax, dword [rcx + 0x118]
jbe 0x14001dd6a
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001dd57
mov edx, 1
mov dword [0x14013dbe4], 0
lea ecx, [rdx - 2]
call fcn.140001b10
mov dword [0x14013dbe4], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401468d4], eax
mov rcx, qword [0x14013dbf0]
test r12b, r12b
jne 0x14001ddce
movzx eax, byte [rcx + 0x136]
test al, al
je 0x14001dd86
movzx eax, al
mov ebx, 0xffc3d44d
sub ebx, eax
jmp 0x14001dd8b
mov ebx, 0xffc3d44f
cmp dword [0x140146c34], 0
je 0x14001dd9d
movzx eax, byte [0x140146c30]
jmp 0x14001dda4
xor ecx, ecx
call fcn.1400211c0
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, rsi
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r13b
call fcn.140020950
mov rcx, qword [0x14013dbf0]
movzx ebx, word [rsp + 0xb8]
test r15b, r15b
je 0x14001de11
test rsi, rsi
jne 0x14001de11
movzx eax, byte [rcx + 0x12f]
lea r9d, [rsi + 1]
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
movzx ecx, bpl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.14001f6b0
jmp 0x14001de3a
movzx eax, byte [rcx + 0x136]
mov r9, rsi
mov ecx, 0xffc3d44d
movzx r8d, bx
sub ecx, eax
movzx edx, bpl
mov dword [rsp + 0x28], ecx
mov ecx, edi
mov byte [rsp + 0x20], 1
call fcn.14001e3f0
sub r14, 1
jne 0x14001dcf3
movzx edi, byte [rsp + 0xc8]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
test r12b, r12b
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
jne 0x14001debe
cmp dword [0x140146c34], 0
je 0x14001de8d
movzx eax, byte [0x140146c30]
jmp 0x14001de94
xor ecx, ecx
call fcn.1400211c0
not dil
and dil, al
and dil, 0xcc
je 0x14001debe
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], 0
movzx edx, dil
xor ecx, ecx
call fcn.140020950
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14001ded0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x80
mov eax, dword [0x140146c34]
movzx r14d, r8b
cmp eax, 2
mov ebx, edx
movzx esi, cx
sete bpl
jne 0x14001df27
movzx ecx, cx
mov eax, ecx
and eax, 0xffffff80
je 0x14001df0c
mov edx, gethostbyname
mov word [rsp + 0x30], dx
lea r8, [rsp + 0x32]
test eax, eax
lea rdx, [rsp + 0x30]
cmovne rdx, r8
mov r8d, 0xa
call fcn.1400da7a0
test ebx, ebx
jle 0x14001e0a0
mov qword [rsp + 0xa0], rdi
mov rdi, rbx
mov qword [rsp + 0xa8], r15
xor r15d, r15d
cmp dword [0x140146c34], r15d
jne 0x14001dfaf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14013dbf0]
sub eax, dword [0x1401468d4]
cmp eax, dword [rcx + 0x118]
jbe 0x14001dfaf
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001dfa3
mov edx, 1
mov dword [0x14013dbe4], r15d
lea ecx, [rdx - 2]
call fcn.140001b10
mov dword [0x14013dbe4], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401468d4], eax
test bpl, bpl
je 0x14001e05a
cmp dword [0x140146c34], r15d
je 0x14001dfca
movzx eax, byte [0x140146c30]
jmp 0x14001dfd1
xor ecx, ecx
call fcn.1400211c0
movzx ecx, al
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r9d, r9d
xor r8d, r8d
movzx edx, al
call fcn.140020950
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp ax, 0x30
jb 0x14001e03a
cmp ax, 0x39
ja 0x14001e03a
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
add al, 0x30
mov byte [rsp + 0x20], r8b
xor r9d, r9d
movzx edx, al
lea ecx, [r8 + 2]
call fcn.14001e3f0
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x14001e005
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.14001e3f0
jmp 0x14001e066
movzx edx, r14b
movzx ecx, si
call fcn.14001c2a0
cmp dword [0x140146c34], 2
mov rax, qword [0x14013dbf0]
jne 0x14001e07e
mov ecx, dword [rax + 0x80]
jmp 0x14001e081
mov ecx, dword [rax + 0x7c]
call fcn.140020460
sub rdi, 1
jne 0x14001df45
mov r15, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret