joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180013b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x3a0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x388], rbx
mov qword [rbp + 0x390], rdi
mov rax, qword [0x18005cf60]
xor rax, rbp
mov qword [rbp + 0x360], rax
mov rdi, rcx
mov word [rbp + 0x20], 0x4f53
mov dword [rbp + 0x25], 0x5c455241
mov byte [rbp + 0x29], 0
mov word [rbp + 0x23], 0x5754
mov byte [rbp + 0x22], 0x46
mov dword [rbp + 0x11], 0x732573
mov byte [rbp + 0x10], 0x25
call fcn.180013a30
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x104
mov ebx, eax
call fcn.180016220
mov ecx, dword [rsp]
sub rsp, 0x20
lea r10, [rsp + 0x30]
mov ecx, dword [r10]
mov r9d, ebx
lea rdx, str.RSpeedupTab
mov r8d, 0x18
mov rcx, r10
call fcn.1800137b0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.180014320
lea rax, [rbp + 8]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000001
call fcn.180012f80
test eax, eax
jne 0x180013d22
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x104
call fcn.180016220
mov rcx, qword [rbp + 8]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x250]
mov dword [rbp + 0x1a], 0x736c61
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov word [rbp + 0x18], 0x7668
call fcn.180013040
test eax, eax
jne 0x180013d19
cmp dword [rbp + 4], eax
jbe 0x180013d19
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.180016220
lea r9, [rbp]
mov word [rbp], 0x6425
or r8, 0xffffffffffffffff
mov byte [rbp + 2], 0
mov edx, 0x104
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 0x140]
call fcn.180014320
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x250]
call fcn.180013330
test rax, rax
je 0x180013d19
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov eax, 1
jmp 0x180013d2b
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov rcx, rdi
call qword [0x18005da10]
mov rcx, qword [rbp + 0x360]
xor rcx, rbp
call fcn.1800150b0
mov rbx, qword [rbp + 0x388]
mov rdi, qword [rbp + 0x390]
lea rsp, [rbp + 0x370]
pop rbp
ret
Function at 0x180013d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x3a0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x388], rbx
mov qword [rbp + 0x390], rdi
mov rax, qword [0x18005cf60]
xor rax, rbp
mov qword [rbp + 0x360], rax
mov rdi, rcx
mov dword [rbp + 0x22], 0x41575446
mov word [rbp + 0x20], 0x4f53
mov dword [rbp + 0x26], 0x5c4552
mov word [rbp + 0x10], 0x7325
mov word [rbp + 0x13], 0x73
mov byte [rbp + 0x12], 0x25
call fcn.180013a30
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x104
mov ebx, eax
call fcn.180016220
mov eax, dword [rsp]
sub rsp, 0x20
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov r9d, ebx
lea rdx, str.RSpeedupTab
mov r8d, 0x18
call fcn.1800137b0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.180014320
lea rax, [rbp + 8]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000001
call fcn.180012f80
test eax, eax
jne 0x180013efa
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x104
call fcn.180016220
mov rcx, qword [rbp + 8]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x250]
mov dword [rbp + 0x1a], 0x736c61
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov word [rbp + 0x18], 0x7668
call fcn.180013040
test eax, eax
jne 0x180013ef1
cmp dword [rbp + 4], eax
jbe 0x180013ef1
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.180016220
lea r9, [rbp]
mov word [rbp], 0x6425
or r8, 0xffffffffffffffff
mov byte [rbp + 2], 0
mov edx, 0x104
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 0x140]
call fcn.180014320
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x250]
call fcn.180013330
test rax, rax
je 0x180013ef1
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov rax, rdi
jmp 0x180013f03
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov rcx, rdi
call qword [0x18005da30]
mov rcx, qword [rbp + 0x360]
xor rcx, rbp
call fcn.1800150b0
mov rbx, qword [rbp + 0x388]
mov rdi, qword [rbp + 0x390]
lea rsp, [rbp + 0x370]
pop rbp
ret
Function at 0x180013f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x3a0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x388], rbx
mov qword [rbp + 0x390], rdi
mov rax, qword [0x18005cf60]
xor rax, rbp
mov qword [rbp + 0x360], rax
mov rdi, rcx
mov dword [rbp + 0x21], 0x5754464f
mov dword [rbp + 0x25], 0x5c455241
mov byte [rbp + 0x20], 0x53
mov byte [rbp + 0x29], 0
mov word [rbp + 0x10], 0x7325
mov word [rbp + 0x13], 0x73
mov byte [rbp + 0x12], 0x25
call fcn.180013a30
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x104
mov ebx, eax
call fcn.180016220
mov ecx, dword [rsp]
sub rsp, 0x20
lea r10, [rsp + 0x30]
mov ecx, dword [r10]
mov r9d, ebx
lea rdx, str.RSpeedupTab
mov r8d, 0x18
mov rcx, r10
call fcn.1800137b0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.180014320
lea rax, [rbp + 8]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000001
call fcn.180012f80
test eax, eax
jne 0x1800140d9
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x104
call fcn.180016220
mov rcx, qword [rbp + 8]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x250]
mov word [rbp + 0x1b], 0x736c
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov word [rbp + 0x18], 0x7668
mov byte [rbp + 0x1d], 0
mov byte [rbp + 0x1a], 0x61
call fcn.180013040
test eax, eax
jne 0x1800140d0
cmp dword [rbp + 4], eax
jbe 0x1800140d0
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.180016220
lea r9, [rbp]
mov word [rbp], 0x6425
or r8, 0xffffffffffffffff
mov byte [rbp + 2], 0
mov edx, 0x104
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 0x140]
call fcn.180014320
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x250]
call fcn.180013330
test rax, rax
je 0x1800140d0
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov eax, 1
jmp 0x1800140e2
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov rcx, rdi
call qword [0x18005d9c8]
mov rcx, qword [rbp + 0x360]
xor rcx, rbp
call fcn.1800150b0
mov rbx, qword [rbp + 0x388]
mov rdi, qword [rbp + 0x390]
lea rsp, [rbp + 0x370]
pop rbp
ret
Function at 0x180014110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x3b8
lea rbp, [rsp + 0x40]
mov rax, qword [0x18005cf60]
xor rax, rbp
mov qword [rbp + 0x360], rax
mov r15d, r9d
mov word [rbp + 0x22], 0x5446
mov r14d, r8d
mov word [rbp + 0x28], 0x5c
mov rsi, rdx
mov word [rbp + 0x25], 0x5241
mov rdi, rcx
mov word [rbp + 0x20], 0x4f53
mov byte [rbp + 0x27], 0x45
mov byte [rbp + 0x24], 0x57
mov dword [rbp + 0x10], 0x73257325
mov byte [rbp + 0x14], 0
call fcn.180013a30
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x104
mov ebx, eax
call fcn.180016220
mov ecx, dword [rsp]
sub rsp, 0x20
lea r10, [rsp + 0x40]
mov ecx, dword [r10]
mov r9d, ebx
lea rdx, str.RSpeedupTab
mov r8d, 0x18
mov rcx, r10
call fcn.1800137b0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.180014320
lea rax, [rbp + 8]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000001
call fcn.180012f80
test eax, eax
jne 0x1800142b9
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x104
call fcn.180016220
mov rcx, qword [rbp + 8]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x250]
mov dword [rbp + 0x1a], 0x736c61
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov word [rbp + 0x18], 0x7668
call fcn.180013040
test eax, eax
jne 0x1800142b0
cmp dword [rbp + 4], eax
jbe 0x1800142b0
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.180016220
lea r9, [rbp]
mov word [rbp], 0x6425
or r8, 0xffffffffffffffff
mov byte [rbp + 2], 0
mov edx, 0x104
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 0x140]
call fcn.180014320
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x250]
call fcn.180013330
test rax, rax
je 0x1800142b0
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov eax, 1
jmp 0x1800142e9
mov rcx, qword [rbp + 8]
call fcn.180012ee0
mov eax, dword [rbp + 0x3e0]
mov r9d, r15d
mov dword [rsp + 0x30], eax
mov r8d, r14d
mov eax, dword [rbp + 0x3d8]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov eax, dword [rbp + 0x3d0]
mov dword [rsp + 0x20], eax
call qword [0x18005da70]
mov rcx, qword [rbp + 0x360]
xor rcx, rbp
call fcn.1800150b0
lea rsp, [rbp + 0x378]
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180014310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x18005cf60]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r15, r9
mov r14, r8
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
call fcn.1800126d0
mov rdi, rax
test rax, rax
je 0x1800127be
lea rdx, [rsp + 0x20]
mov word [rsp + 0x2c], 0x7845
mov rcx, rax
mov byte [rsp + 0x2e], bl
mov dword [rsp + 0x27], 0x6f6f4874
mov dword [rsp + 0x23], 0x78654e6c
mov word [rsp + 0x21], 0x6c61
mov byte [rsp + 0x2b], 0x6b
mov byte [rsp + 0x20], 0x43
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800127b5
mov r9, r15
mov r8, r14
mov edx, ebp
mov rcx, rsi
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800150b0
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9, r8
mov r8, rdx
mov edx, ecx
xor ecx, ecx
jmp 0x180012730
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
pop rax
std
xchg esi, eax
invalid
Function at 0x140003450
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x1401dd4d0]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140004330
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x1400043a7
movsxd rdx, ecx
lea rcx, [0x14000428c]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x1401dfd10]
test rbx, rbx
je 0x14000441a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000439d
cmp byte [rbx + 0x20], 0
je 0x14000439d
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140004363
jmp 0x14000441a
mov rbx, qword [0x1401dfd10]
test rbx, rbx
je 0x14000441a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140004412
cmp byte [rbx + 0x21], 0
je 0x1400043d6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140004402
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1401dfd10]
call fcn.1400150ec
mov rbx, rdi
test rdi, rdi
jne 0x1400043b3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140004b50
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1401dfd28], 0
jne 0x140004b75
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1401dfd28], 1
mov dword [0x1401dfd2c], eax
mov rcx, qword [0x1401dfbc0]
xor edx, edx
mov r8d, 0x90
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1401dfd2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, eax
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp 0x140004d30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1401dfd28], 0
mov ebx, ecx
jne 0x140004d54
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x140004d7c
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
lea rdx, [rdi + 8]
mov r8d, 0x11
nop word [rax + rax]
imul eax, ebx, 0x53a9b4fb
mov ecx, 1
mov ebx, 1
sub ecx, eax
lea rdx, [rdx + 4]
mov dword [rdx + 0x40], ecx
imul eax, ecx, 0x53a9b4fb
sub ebx, eax
mov dword [rdx - 4], ebx
dec r8
jne 0x140004d90
lea esi, [r8 + 0x1f]
mov dword [rdi], r8d
mov dword [rdi + 4], 0xa
lea ebp, [rsi - 0xf]
nop word [rax + rax]
movsxd r11, dword [rdi]
movsxd rbx, dword [rdi + 4]
mov r10d, dword [rdi + rbx*4 + 8]
mov r9d, dword [rdi + r11*4 + 8]
mov eax, dword [rdi + r11*4 + 0x4c]
ror r9d, 5
lea rcx, [rdi + r11*4]
lea r8, [rdi + r11*4]
ror eax, 0xd
add r9d, r10d
add eax, dword [rdi + rbx*4 + 0x4c]
dec r11d
mov dword [r8 + 0x4c], r9d
cmovs r11d, ebp
dec ebx
mov dword [rcx + 8], eax
cmovs ebx, ebp
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
dec rsi
jne 0x140004dd0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004d30
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1401dfd28], 0
jne 0x140004b75
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1401dfd28], 1
mov dword [0x1401dfd2c], eax
mov rcx, qword [0x1401dfbc0]
xor edx, edx
mov r8d, 0x90
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1401dfd2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, eax
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp 0x140004d30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1401dfd28], 0
mov ebx, ecx
jne 0x140004d54
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x140004d7c
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
lea rdx, [rdi + 8]
mov r8d, 0x11
nop word [rax + rax]
imul eax, ebx, 0x53a9b4fb
mov ecx, 1
mov ebx, 1
sub ecx, eax
lea rdx, [rdx + 4]
mov dword [rdx + 0x40], ecx
imul eax, ecx, 0x53a9b4fb
sub ebx, eax
mov dword [rdx - 4], ebx
dec r8
jne 0x140004d90
lea esi, [r8 + 0x1f]
mov dword [rdi], r8d
mov dword [rdi + 4], 0xa
lea ebp, [rsi - 0xf]
nop word [rax + rax]
movsxd r11, dword [rdi]
movsxd rbx, dword [rdi + 4]
mov r10d, dword [rdi + rbx*4 + 8]
mov r9d, dword [rdi + r11*4 + 8]
mov eax, dword [rdi + r11*4 + 0x4c]
ror r9d, 5
lea rcx, [rdi + r11*4]
lea r8, [rdi + r11*4]
ror eax, 0xd
add r9d, r10d
add eax, dword [rdi + rbx*4 + 0x4c]
dec r11d
mov dword [r8 + 0x4c], r9d
cmovs r11d, ebp
dec ebx
mov dword [rcx + 8], eax
cmovs ebx, ebp
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
dec rsi
jne 0x140004dd0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140004e30
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1401dfd28], 0
mov rbx, rcx
jne 0x140004e47
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, rax
test rax, rax
jne 0x140004e6f
call fcn.140004b50
mov ecx, dword [0x1401dfd2c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, rax
movsxd r8, dword [r9]
movsxd rdx, dword [r9 + 4]
mov eax, 0x10
mov r10d, dword [r9 + r8*4 + 0x4c]
mov r11d, dword [r9 + r8*4 + 8]
ror r10d, 0xd
add r10d, dword [r9 + rdx*4 + 0x4c]
ror r11d, 5
add r11d, dword [r9 + rdx*4 + 8]
mov dword [r9 + r8*4 + 8], r10d
mov dword [r9 + r8*4 + 0x4c], r11d
dec r8d
mov ecx, r11d
cmovs r8d, eax
dec edx
cmovs edx, eax
mov dword [r9], r8d
mov dword [r9 + 4], edx
inc rbx
je 0x140004ee8
mov edx, r10d
mov r8, rbx
mov eax, ebx
shr r8, 0x20
imul rax, rdx
shr rax, 0x20
imul rcx, r8
imul rdx, r8
shr rcx, 0x20
add rax, rcx
add rax, rdx
add rsp, 0x20
pop rbx
ret
mov eax, r10d
shl rax, 0x20
and rax, rcx
add rsp, 0x20
pop rbx
ret
Function at 0x140006298
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400062a8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x140006378
test rdx, rdx
je 0x140006378
mov rcx, qword [0x1401dfbc0]
lea edx, [rbx + 8]
mov r8d, 0x90
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, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov qword [rdi + 0x58], rax
test r14b, 1
je 0x140006365
lea rax, [rsp + 0x50]
lea r8, [0x14000654c]
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 0x140006370
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140006378
mov rcx, rdi
call fcn.140006394
movsxd rbx, eax
mov rcx, rdi
call fcn.1400065cc
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400062a8
Capabilities:
Create thread

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400062a8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x140006378
test rdx, rdx
je 0x140006378
mov rcx, qword [0x1401dfbc0]
lea edx, [rbx + 8]
mov r8d, 0x90
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, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov qword [rdi + 0x58], rax
test r14b, 1
je 0x140006365
lea rax, [rsp + 0x50]
lea r8, [0x14000654c]
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 0x140006370
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140006378
mov rcx, rdi
call fcn.140006394
movsxd rbx, eax
mov rcx, rdi
call fcn.1400065cc
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140006394
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.14006b6d0
mov rcx, qword [rdi + 0x58]
mov r12, rax
call fcn.14006b6d0
mov r13, rax
call fcn.14002f950
mov rbp, rax
test rax, rax
je 0x14000650f
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 0x1400064f5
test byte [rdi + 0x40], 2
mov qword [rdi + 0x18], rax
jne 0x140006434
lea edx, [rbx + 0x34]
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.1400324c0
mov r8, qword [0x1401dfd60]
test r8, r8
je 0x14000644d
mov edx, 0x2714
mov rcx, rbp
call fcn.1400324c0
mov r8, qword [0x1401dfd68]
test r8, r8
je 0x140006483
cmp qword [0x1401dfd70], rbx
je 0x140006483
mov edx, 0x27bf
mov rcx, rbp
call fcn.1400324c0
mov r8, qword [0x1401dfd70]
mov edx, 0x27c0
mov rcx, rbp
call fcn.1400324c0
mov r8, r12
mov edx, 0x2712
mov rcx, rbp
call fcn.1400324c0
mov r8, r13
mov edx, 0x2722
mov rcx, rbp
call fcn.1400324c0
lea r8, [0x14000655c]
mov edx, 0x4e2b
mov rcx, rbp
call fcn.1400324c0
mov r8, rdi
mov edx, 0x2711
mov rcx, rbp
call fcn.1400324c0
mov rcx, rbp
call fcn.14002fb80
test eax, eax
jne 0x1400064df
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 0x1400064f5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbp
call fcn.14002f6e0
mov eax, 1
cmp esi, eax
jne 0x14000650f
mov dword [rdi + 4], 0xfffffffe
jmp 0x14000651c
cmp dword [rdi + 4], 0xfffffffb
setne bl
add ebx, 0xfffffffc
mov dword [rdi + 4], ebx
mov rcx, r12
call fcn.14006b6c0
mov rcx, r13
call fcn.14006b6c0
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