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

Disassembly:
test byte [rcx + 0x28], 0x80
mov r9d, edx
mov edx, 2
je 0x140068b09
mov edx, DispGetIDsOfNames
jmp 0x140068b21
test dword [rcx + 0x28], 0x100
jne 0x140068b21
test dword [rcx + 0x28], 0x200
mov eax, DispInvoke
cmovne edx, eax
mov rcx, qword [rcx + 0x18]
or r8d, 0xffffffff
jmp 0x1400690ac
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor eax, eax
mov ecx, 0x1000
mov r15d, r9d
mov r13d, r8d
mov edi, ecx
mov esi, eax
mov r14d, eax
mov r12d, eax
cmp edx, 0x18
je 0x1400691eb
cmp edx, 2
je 0x1400691eb
mov rcx, qword [0x140192da8]
xor edx, edx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
lea r8d, [r12 + 2]
lea rdx, [rsp + 0x34]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
je 0x1400691d4
mov r15, qword [rsp + 0x90]
mov ebp, edi
cmp dword [rsp + 0x38], 2
jne 0x1400691cc
cmp r13d, 0xffffffff
je 0x140069159
cmp r14d, r13d
jae 0x1400691cc
add r14d, 2
test edi, edi
jne 0x140069184
mov rcx, qword [0x140192da8]
movsxd r9, ebp
lea edx, [rdi + 8]
add r9, r9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
xor ecx, ecx
mov rbx, rax
movzx eax, word [rsp + 0x34]
cmp ax, 0xa
je 0x1400691cc
cmp ax, 0xd
je 0x1400691a4
mov word [r12 + rbx], ax
inc esi
inc ebp
add r12, 2
dec edi
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x34]
mov r8d, 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
jne 0x140069147
mov r15d, dword [rsp + 0xa8]
movsxd rax, esi
mov edx, r15d
mov word [rbx + rax*2], cx
mov rcx, rbx
call fcn.140104180
jmp 0x1400692b4
mov r8, rcx
mov rcx, qword [0x140192da8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15d, dword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, rax
mov r13d, edi
cmp r15d, 0xffffffff
je 0x14006921e
cmp r14d, r15d
jae 0x140069288
xor ecx, ecx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea r8d, [rcx + 1]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140069288
cmp dword [rsp + 0x38], 1
jne 0x140069288
inc r14d
test edi, edi
jne 0x14006926c
mov rcx, qword [0x140192da8]
lea edx, [rdi + 8]
movsxd r9, r13d
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
mov rbx, rax
mov al, byte [rsp + 0x30]
cmp al, 0xa
je 0x140069288
cmp al, 0xd
je 0x140069213
mov byte [r12 + rbx], al
inc esi
inc r13d
inc r12
dec edi
jmp 0x140069213
mov r15d, dword [rsp + 0xa8]
xor ecx, ecx
cmp dword [rsp + 0x98], 0x18
movsxd rax, esi
mov edx, r15d
mov byte [rax + rbx], cl
mov rcx, rbx
jne 0x1400692af
call fcn.1401041e0
jmp 0x1400692b4
call fcn.140103fb0
mov rcx, qword [0x140192da8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140068c74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
jle 0x140068cdb
mov rcx, qword [rbp + 0x18]
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
mov r8d, edi
movsxd rdx, ebx
lea r9, [rsp + 0x50]
sub r8d, ebx
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140068ccd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140068cd7
add ebx, dword [rsp + 0x50]
cmp ebx, edi
jge 0x140068cdb
jmp 0x140068c98
add ebx, dword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140068d2c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x140196100]
call fcn.14008cc64
xor ebp, ebp
or esi, 0xffffffff
mov r14, rax
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x140068e29
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x140068d83
add rax, 2
cmp word [rax], 0x20
je 0x140068d79
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x140068dc1
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x140068e01
cmp cx, r9w
je 0x140068db3
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140068da1
cmp word [rax], bp
je 0x140068e01
mov rcx, rax
add rax, 2
jmp 0x140068e09
test dx, dx
je 0x140068e06
mov rbx, rax
cmp dx, 0x20
je 0x140068db3
add rax, 2
cmp word [rax], r9w
jne 0x140068df7
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x140068e01
cmp cx, r9w
je 0x140068df7
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140068de5
movzx edx, word [rax]
test dx, dx
jne 0x140068dc9
jmp 0x140068db3
mov rcx, rax
jmp 0x140068e09
mov r8d, ebp
cmp dword [r14], esi
jne 0x140068e13
test rdi, rdi
jne 0x140068e33
test r8d, r8d
je 0x140068e1a
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x140068d73
test rdi, rdi
jne 0x140068e48
movsxd rax, esi
jmp 0x140068e4a
test rbx, rbx
je 0x140068e48
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x140068e4a
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140068e60
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140196100]
call fcn.14008cc64
xor ecx, ecx
add rsp, 0x28
jmp fcn.140068d2c
Function at 0x140068e7c
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
lea rcx, [rax + 0x10]
xor ebp, ebp
mov dword [rax + 0x10], ebp
call fcn.140068d2c
mov esi, dword [rsp + 0x38]
mov ecx, esi
mov edx, ebx
mov rdi, rax
call fcn.14008eae0
mov ecx, ebp
jmp 0x140068ed2
test esi, esi
je 0x140068ed7
movzx edx, word [rdi]
cmp dx, 0x22
jne 0x140068ec5
inc ecx
jmp 0x140068ecc
mov word [rax], dx
add rax, 2
add rdi, 2
dec esi
cmp word [rdi], bp
jne 0x140068eb4
mov word [rax], bp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14008ef40

Function at 0x140068f80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ebp, ebp
mov edi, eax
test eax, eax
je 0x140068fae
dec edi
mov edx, ebx
mov ecx, edi
call fcn.14008eae0
lea r8d, [rdi + 1]
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rsi, qword [rsp + 0x40]
movsxd rcx, edi
mov word [rbx + rcx*2], bp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400690ac
Capabilities:
Read file on windows

Disassembly:
test byte [rcx + 0x28], 0x80
mov r9d, edx
mov edx, 2
je 0x140068b09
mov edx, DispGetIDsOfNames
jmp 0x140068b21
test dword [rcx + 0x28], 0x100
jne 0x140068b21
test dword [rcx + 0x28], 0x200
mov eax, DispInvoke
cmovne edx, eax
mov rcx, qword [rcx + 0x18]
or r8d, 0xffffffff
jmp 0x1400690ac
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor eax, eax
mov ecx, 0x1000
mov r15d, r9d
mov r13d, r8d
mov edi, ecx
mov esi, eax
mov r14d, eax
mov r12d, eax
cmp edx, 0x18
je 0x1400691eb
cmp edx, 2
je 0x1400691eb
mov rcx, qword [0x140192da8]
xor edx, edx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
lea r8d, [r12 + 2]
lea rdx, [rsp + 0x34]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
je 0x1400691d4
mov r15, qword [rsp + 0x90]
mov ebp, edi
cmp dword [rsp + 0x38], 2
jne 0x1400691cc
cmp r13d, 0xffffffff
je 0x140069159
cmp r14d, r13d
jae 0x1400691cc
add r14d, 2
test edi, edi
jne 0x140069184
mov rcx, qword [0x140192da8]
movsxd r9, ebp
lea edx, [rdi + 8]
add r9, r9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
xor ecx, ecx
mov rbx, rax
movzx eax, word [rsp + 0x34]
cmp ax, 0xa
je 0x1400691cc
cmp ax, 0xd
je 0x1400691a4
mov word [r12 + rbx], ax
inc esi
inc ebp
add r12, 2
dec edi
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x34]
mov r8d, 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
jne 0x140069147
mov r15d, dword [rsp + 0xa8]
movsxd rax, esi
mov edx, r15d
mov word [rbx + rax*2], cx
mov rcx, rbx
call fcn.140104180
jmp 0x1400692b4
mov r8, rcx
mov rcx, qword [0x140192da8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15d, dword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, rax
mov r13d, edi
cmp r15d, 0xffffffff
je 0x14006921e
cmp r14d, r15d
jae 0x140069288
xor ecx, ecx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea r8d, [rcx + 1]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140069288
cmp dword [rsp + 0x38], 1
jne 0x140069288
inc r14d
test edi, edi
jne 0x14006926c
mov rcx, qword [0x140192da8]
lea edx, [rdi + 8]
movsxd r9, r13d
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
mov rbx, rax
mov al, byte [rsp + 0x30]
cmp al, 0xa
je 0x140069288
cmp al, 0xd
je 0x140069213
mov byte [r12 + rbx], al
inc esi
inc r13d
inc r12
dec edi
jmp 0x140069213
mov r15d, dword [rsp + 0xa8]
xor ecx, ecx
cmp dword [rsp + 0x98], 0x18
movsxd rax, esi
mov edx, r15d
mov byte [rax + rbx], cl
mov rcx, rbx
jne 0x1400692af
call fcn.1401041e0
jmp 0x1400692b4
call fcn.140103fb0
mov rcx, qword [0x140192da8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006df48
Capabilities:
Reference http user-agent string

Disassembly:
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor edx, edx
jmp 0x14006df64
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x1401961e0]
mov r12, r8
mov r14d, edx
xor ebx, ebx
call fcn.14008cc64
mov r15, rax
test rbp, rbp
je 0x14006e048
mov rcx, qword [0x140192da8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea esi, [rbx + 1]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], esi
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, r12
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov qword [rdi + 0x60], rax
mov eax, dword [r15]
mov dword [rdi + 0x44], eax
mov eax, dword [r15 + 4]
mov dword [rdi + 0x90], esi
mov dword [rdi + 0x48], eax
test sil, r14b
je 0x14006e035
lea rax, [rsp + 0x60]
lea r8, [0x14006e238]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006e028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006e02c
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x14006e040
mov rbx, rdi
jmp 0x14006e048
mov rcx, rdi
call fcn.14006e064
mov rbx, rax
mov rcx, rdi
call fcn.14006e858
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14006df58
Capabilities:
Reference http user-agent string

Disassembly:
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
jmp 0x14006df64

Function at 0x14006df64
Capabilities:
Create thread

Disassembly:
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor edx, edx
jmp 0x14006df64
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x1401961e0]
mov r12, r8
mov r14d, edx
xor ebx, ebx
call fcn.14008cc64
mov r15, rax
test rbp, rbp
je 0x14006e048
mov rcx, qword [0x140192da8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea esi, [rbx + 1]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], esi
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, r12
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov qword [rdi + 0x60], rax
mov eax, dword [r15]
mov dword [rdi + 0x44], eax
mov eax, dword [r15 + 4]
mov dword [rdi + 0x90], esi
mov dword [rdi + 0x48], eax
test sil, r14b
je 0x14006e035
lea rax, [rsp + 0x60]
lea r8, [0x14006e238]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006e028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006e02c
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x14006e040
mov rbx, rdi
jmp 0x14006e048
mov rcx, rdi
call fcn.14006e064
mov rbx, rax
mov rcx, rdi
call fcn.14006e858
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14006e4cc
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x14006e4e8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x1401961e0]
mov r12, r9
mov r14d, r8d
mov rsi, rdx
xor ebx, ebx
call fcn.14008cc64
mov r15, rax
test rbp, rbp
je 0x14006e5d2
test rsi, rsi
je 0x14006e5d2
mov rcx, qword [0x140192da8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], ebx
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, rsi
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov rcx, r12
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov qword [rdi + 0x60], rax
mov eax, dword [r15]
mov dword [rdi + 0x44], eax
mov eax, dword [r15 + 4]
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x48], eax
test r14b, 1
je 0x14006e5bf
lea rax, [rsp + 0x60]
lea r8, [0x14006e7d8]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006e5ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x14006e5d2
mov rcx, rdi
call fcn.14006e5ec
movsxd rbx, eax
mov rcx, rdi
call fcn.14006e858
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14006e4dc
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
jmp 0x14006e4e8

Function at 0x14006e4e8
Capabilities:
Create thread

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x14006e4e8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x1401961e0]
mov r12, r9
mov r14d, r8d
mov rsi, rdx
xor ebx, ebx
call fcn.14008cc64
mov r15, rax
test rbp, rbp
je 0x14006e5d2
test rsi, rsi
je 0x14006e5d2
mov rcx, qword [0x140192da8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], ebx
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, rsi
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov rcx, r12
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov qword [rdi + 0x60], rax
mov eax, dword [r15]
mov dword [rdi + 0x44], eax
mov eax, dword [r15 + 4]
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x48], eax
test r14b, 1
je 0x14006e5bf
lea rax, [rsp + 0x60]
lea r8, [0x14006e7d8]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006e5ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x14006e5d2
mov rcx, rdi
call fcn.14006e5ec
movsxd rbx, eax
mov rcx, rdi
call fcn.14006e858
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14006e5ec
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, qword [rcx + 0x10]
mov rdi, rcx
mov rcx, qword [rcx + 8]
xor ebx, ebx
mov esi, ebx
call fcn.140104360
mov rcx, qword [rdi + 0x60]
mov r12, rax
call fcn.140104360
mov r13, rax
call fcn.1400c8640
mov rbp, rax
test rax, rax
je 0x14006e79a
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0xc0000000
mov rcx, r15
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14006e780
test byte [rdi + 0x40], 2
mov qword [rdi + 0x18], rax
jne 0x14006e68c
lea edx, [rbx + 0x34]
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.1400cb1b0
mov r8, qword [0x140193650]
test r8, r8
je 0x14006e6a5
mov edx, 0x2714
mov rcx, rbp
call fcn.1400cb1b0
mov r8, qword [0x140193658]
test r8, r8
je 0x14006e6db
cmp qword [0x140193660], rbx
je 0x14006e6db
mov edx, 0x27bf
mov rcx, rbp
call fcn.1400cb1b0
mov r8, qword [0x140193660]
mov edx, 0x27c0
mov rcx, rbp
call fcn.1400cb1b0
mov r8, r12
mov edx, 0x2712
mov rcx, rbp
call fcn.1400cb1b0
mov r8, r13
mov edx, 0x2722
mov rcx, rbp
call fcn.1400cb1b0
lea r8, [0x14006e7e8]
mov edx, 0x4e2b
mov rcx, rbp
call fcn.1400cb1b0
mov r8, rdi
mov edx, 0x2711
mov rcx, rbp
call fcn.1400cb1b0
mov r8d, dword [rdi + 0x44]
mov edx, 0x9c
mov rcx, rbp
call fcn.1400cb1b0
mov r8d, dword [rdi + 0x48]
mov edx, 0x9b
mov rcx, rbp
call fcn.1400cb1b0
mov edx, 0x63
mov rcx, rbp
lea r8d, [rdx - 0x62]
call fcn.1400cb1b0
mov rcx, rbp
call fcn.1400c8870
test eax, eax
jne 0x14006e76a
cmp dword [rdi + 4], 0xfffffffb
mov eax, 1
cmovne esi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x14006e780
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbp
call fcn.1400c83d0
mov eax, 1
cmp esi, eax
jne 0x14006e79a
mov dword [rdi + 4], 0xfffffffe
jmp 0x14006e7a7
cmp dword [rdi + 4], 0xfffffffb
setne bl
add ebx, 0xfffffffc
mov dword [rdi + 4], ebx
mov rcx, r12
call fcn.140104350
mov rcx, r13
call fcn.140104350
lea r11, [rsp + 0x40]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006ee1c
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, ecx
mov rcx, qword [0x1401961e0]
mov rsi, r9
mov r14, r8
mov r15, rdx
xor ebx, ebx
call fcn.14008cc64
mov r12, rax
test r15, r15
je 0x14006ef5e
mov rcx, qword [0x140192da8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ebp, [rbx + 1]
mov rcx, r15
or dword [rax + 4], 0xffffffff
mov dword [rax], ebp
mov rdi, rax
call sub.msvcrt.dll__wcsdup
lea rcx, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov ecx, dword [rsp + 0x80]
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x40], ecx
mov eax, dword [r12]
mov dword [rdi + 0x44], eax
mov eax, dword [r12 + 4]
mov dword [rdi + 0x80], r13d
mov dword [rdi + 0x48], eax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x78], rax
test bpl, cl
je 0x14006ef4f
test rsi, rsi
je 0x14006ef08
mov rcx, qword [0x140192da8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14006ef02
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.msvcrt.dll_memcpy
cmp qword [rdi + 0x70], rbx
je 0x14006ef45
lea rax, [rsp + 0x68]
lea r8, [0x14006ef80]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006ef3d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006ef41
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x14006ef5b
mov rcx, rdi
call fcn.14006e858
jmp 0x14006ef5e
mov rcx, rdi
mov qword [rdi + 0x70], r14
call fcn.14006e944
mov rbx, rdi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006f268
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1c0
mov ebx, reloc.WS2_32.dll_recv
lea r8, [0x14006f17c]
lea ecx, [rbx + 0x28]
mov edx, ebx
call fcn.14008d59c
xor r8d, r8d
xor edx, edx
mov ecx, ebx
mov qword [0x140193670], rax
call fcn.14008ccfc
xor ebx, ebx
cmp word [0x140193668], bx
mov qword [0x140196220], rax
jne 0x14006f393
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea edi, [rbx + 1]
mov word [0x140193668], di
test eax, eax
je 0x14006f2d9
mov word [0x140193668], bx
lea rcx, str.ws2_32.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x140193698], rax
test rax, rax
je 0x14006f393
lea rdx, [0x1401326e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140193698]
lea rdx, [0x1401326f8]
mov qword [0x140193678], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140193698]
lea rdx, str.getnameinfo
mov qword [0x140193680], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140193698]
lea rdx, str.WSAStringToAddressA
mov qword [0x140193688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140193678], rbx
mov qword [0x140193690], rax
je 0x14006f393
cmp qword [0x140193680], rbx
je 0x14006f393
cmp qword [0x140193688], rbx
je 0x14006f393
mov ecx, dword [0x14019366c]
test rax, rax
cmovne ecx, edi
mov dword [0x14019366c], ecx
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rdi
ret

Function at 0x14006f644
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x140196260]
call fcn.14008d474
xor ebp, ebp
mov rsi, rax
test rax, rax
je 0x14006f6c4
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14006f689
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14006f6c4
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.14008eae0
lea r8d, [rdi + 1]
mov word [rax], bp
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
call sub.msvcrt.dll_wcslen
sub edi, eax
mov ecx, edi
call fcn.14008ef40
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret