joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000608c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140007980
nop
cmp dword [0x1400316d8], 1
je 0x140006038
mov dword [0x1400316d4], 1
mov byte [0x1400316d0], r12b
test ebx, ebx
jne 0x140006024
mov rcx, qword [0x140032800]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006011
mov rcx, qword [0x1400327f8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140005fb0
call fcn.140002da8
cmp qword [rdi], rax
jne 0x140005fb0
jmp 0x140005f96
cmp rdi, rsi
jb 0x140006011
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002da8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140032800]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400327f8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140005fef
cmp r13, rax
je 0x14000600f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140005f96
lea rdx, [0x140027778]
lea rcx, [0x140027668]
call fcn.140005d50
lea rdx, [0x140027998]
lea rcx, [0x140027888]
call fcn.140005d50
nop
test r12d, r12d
je 0x140006047
mov ecx, 8
call fcn.140007860
test r12d, r12d
jne 0x140006072
mov dword [0x1400316d8], 1
lea ecx, [r12 + 8]
call fcn.140007860
mov ecx, r15d
call fcn.140005ce4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140005f00

Function at 0x140006098
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140005f00
Function at 0x14000b12c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002da8
xor ebx, ebx
mov rdi, rax
cmp qword [0x140031e18], rbx
jne 0x14000b232
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000b307
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000b307
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140031e18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140031e20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140031e28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140031e38], rax
test rax, rax
je 0x14000b229
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140031e30], rax
jmp 0x14000b239
mov rax, qword [0x140031e30]
jmp 0x14000b240
mov rax, qword [0x140031e30]
mov r11, qword [0x140031e38]
cmp rax, rdi
je 0x14000b2a8
cmp r11, rdi
je 0x14000b2a8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140031e38]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000b2a8
test rax, rax
je 0x14000b2a8
call rsi
test rax, rax
je 0x14000b2a2
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000b2a2
test byte [rsp + 0x38], 1
jne 0x14000b2a8
bts ebp, 0x15
jmp 0x14000b2e6
mov rcx, qword [0x140031e20]
cmp rcx, rdi
je 0x14000b2e6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000b2e6
call rax
mov rbx, rax
test rax, rax
je 0x14000b2e6
mov rcx, qword [0x140031e28]
cmp rcx, rdi
je 0x14000b2e6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000b2e6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140031e18]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000b307
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000b309
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000b85f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140030358]
jne 0x14000774a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007746
repz ret
ror rcx, 0x10
jmp 0x14000b7b8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140031ee0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140031fd8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000b83d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140031ee0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000b85f
mov rax, qword [rsp + 0x88]
mov qword [0x140031fd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140031f78], rax
mov rax, qword [0x140031fd8]
mov qword [0x140031e50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140031f60], rax
mov dword [0x140031e40], 0xc0000409
mov dword [0x140031e44], 1
mov rax, qword [0x140030358]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140030360]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140031ed8], eax
mov ecx, 1
call fcn.140016f84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140028fa8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140031ed8], 0
jne 0x14000b8e6
mov ecx, 1
call fcn.140016f84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14005fe6c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005feb4
lea ebx, [rsi + 0xd]
jmp 0x14005ff1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005ff1f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005ff11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005ff1f
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140060260
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10
invalid
invalid

Function at 0x140060a48
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x140060a9e
mov ecx, 1
call fcn.140060cf8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
or edx, eax
invalid
Function at 0x1400111ef
Capabilities:
Terminate process

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

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014160
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014180
xor al, al
jmp 0x140014201
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014193
xor al, al
jmp 0x140014201
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400141bd
xor al, al
jmp 0x140014201
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400141d1
xor al, al
jmp 0x140014201
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400141e3
xor al, al
jmp 0x140014201
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400141ff
xor al, al
jmp 0x140014201
mov al, 1
add rsp, 0x38
ret
Function at 0x14000491c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x48], 0
mov edi, r8d
mov rbx, rdx
test rdx, rdx
je 0x1400049ca
mov rdx, rcx
mov rcx, qword [0x14006a740]
call fcn.1400136dc
mov rsi, rax
test rax, rax
je 0x1400049ca
mov rcx, rbx
cmp edi, 0x19
jne 0x140004980
call sub.msvcrt.dll_wcslen
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400049ca
cmp edi, 2
jne 0x14000498c
call fcn.140050330
jmp 0x140004991
call fcn.1400506d0
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_strlen
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
cmp edi, 2
jne 0x1400049c5
call fcn.140050320
jmp 0x1400049ca
call fcn.1400506c0
movsxd rax, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140004a20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdx, rcx
mov rcx, qword [0x14006a740]
mov edi, r8d
xor ebx, ebx
call fcn.1400136dc
test rax, rax
je 0x140004a6b
mov rcx, qword [rax]
lea r9, [rsp + 0x58]
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
cmovne ebx, dword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400054a4
Capabilities:
Read file on windows

Disassembly:
mov rcx, qword [rcx + 0x18]
jmp fcn.1400055b8

Function at 0x1400055b8
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
xor eax, eax
mov r12, rcx
mov ecx, 0x1000
mov r15d, r8d
mov r14d, edx
mov edi, ecx
mov esi, eax
mov r13d, eax
cmp edx, 0x18
je 0x1400056cf
cmp edx, 2
je 0x1400056cf
mov rcx, qword [0x140069c14]
xor edx, edx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp - 0x14]
lea r8d, [r13 + 2]
lea rdx, [rbp - 0x18]
xor r14d, r14d
mov rcx, r12
mov rbx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400056b7
mov r13, qword [rbp + 0x48]
xor r15d, r15d
mov r12d, edi
cmp dword [rbp - 0x14], 2
jne 0x1400056b0
test edi, edi
jne 0x140005670
mov rcx, qword [0x140069c14]
movsxd r9, r12d
lea edx, [rdi + 8]
add r9, r9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
mov rbx, rax
movzx eax, word [rbp - 0x18]
cmp ax, 0xa
je 0x1400056b0
cmp ax, 0xd
je 0x140005690
mov word [r14 + rbx], ax
inc esi
inc r12d
add r14, 2
dec edi
lea r9, [rbp - 0x14]
lea rdx, [rbp - 0x18]
mov r8d, 2
mov rcx, r13
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140005645
mov r15d, dword [rbp + 0x58]
xor r14d, r14d
movsxd rax, esi
mov edx, r15d
mov rcx, rbx
mov word [rbx + rax*2], r14w
call fcn.140050840
jmp 0x140005797
mov r8, rcx
mov rcx, qword [0x140069c14]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
and qword [rsp + 0x20], rsi
lea r9, [rbp - 0x14]
lea rdx, [rbp + 0x60]
mov r8d, 1
mov rcx, r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005778
mov r15, qword [rbp + 0x48]
mov r12d, edi
xor r14d, r14d
cmp dword [rbp - 0x14], 1
jne 0x140005770
test edi, edi
jne 0x140005736
mov rcx, qword [0x140069c14]
lea edx, [rdi + 8]
movsxd r9, r12d
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
mov rbx, rax
mov al, byte [rbp + 0x60]
cmp al, 0xa
je 0x140005770
cmp al, 0xd
je 0x140005750
mov byte [r13 + rbx], al
inc esi
inc r12d
inc r13
dec edi
lea r9, [rbp - 0x14]
lea rdx, [rbp + 0x60]
mov r8d, 1
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000570e
mov r14d, dword [rbp + 0x50]
mov r15d, dword [rbp + 0x58]
movsxd rax, esi
mov edx, r15d
mov rcx, rbx
mov byte [rax + rbx], 0
cmp r14d, 0x18
jne 0x140005792
call fcn.140050550
jmp 0x140005797
call fcn.140050410
mov rcx, qword [0x140069c14]
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 rbx
pop rbp
ret
Function at 0x140007794
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400077a4
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 0x140007886
test rdx, rdx
je 0x140007886
mov rcx, qword [0x140069c14]
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, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov qword [rdi + 0x60], rax
mov eax, dword [0x140067940]
mov dword [rdi + 0x44], eax
mov eax, dword [0x140069ff8]
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x48], eax
test r14b, 1
je 0x140007873
lea rax, [rsp + 0x50]
lea r8, [0x140007a70]
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 0x14000787e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140007886
mov rcx, rdi
call fcn.1400078a4
movsxd rbx, eax
mov rcx, rdi
call fcn.1400076f8
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 0x1400077a4
Capabilities:
Create thread

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400077a4
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 0x140007886
test rdx, rdx
je 0x140007886
mov rcx, qword [0x140069c14]
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, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov qword [rdi + 0x60], rax
mov eax, dword [0x140067940]
mov dword [rdi + 0x44], eax
mov eax, dword [0x140069ff8]
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x48], eax
test r14b, 1
je 0x140007873
lea rax, [rsp + 0x50]
lea r8, [0x140007a70]
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 0x14000787e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140007886
mov rcx, rdi
call fcn.1400078a4
movsxd rbx, eax
mov rcx, rdi
call fcn.1400076f8
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 0x1400078a4
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.1400506d0
mov rcx, qword [rdi + 0x60]
mov r12, rax
call fcn.1400506d0
mov r13, rax
call fcn.140014cb0
mov rbp, rax
test rax, rax
je 0x140007a30
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 0x140007a16
test byte [rdi + 0x40], 2
mov qword [rdi + 0x18], rax
jne 0x140007944
lea edx, [rbx + 0x34]
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.140017820
mov r8, qword [0x140069fe0]
test r8, r8
je 0x14000795d
mov edx, 0x2714
mov rcx, rbp
call fcn.140017820
mov r8, qword [0x140069fe8]
test r8, r8
je 0x140007993
cmp qword [0x140069ff0], rbx
je 0x140007993
mov edx, 0x27bf
mov rcx, rbp
call fcn.140017820
mov r8, qword [0x140069ff0]
mov edx, 0x27c0
mov rcx, rbp
call fcn.140017820
mov r8, r12
mov edx, 0x2712
mov rcx, rbp
call fcn.140017820
mov r8, r13
mov edx, 0x2722
mov rcx, rbp
call fcn.140017820
lea r8, [0x140007a80]
mov edx, 0x4e2b
mov rcx, rbp
call fcn.140017820
mov r8, rdi
mov edx, 0x2711
mov rcx, rbp
call fcn.140017820
mov edx, 0x63
mov rcx, rbp
lea r8d, [rdx - 0x62]
call fcn.140017820
mov rcx, rbp
call fcn.140014ee0
test eax, eax
jne 0x140007a00
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 0x140007a16
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbp
call fcn.140014a40
mov eax, 1
cmp esi, eax
jne 0x140007a30
mov dword [rdi + 4], 0xfffffffe
jmp 0x140007a3d
cmp dword [rdi + 4], 0xfffffffb
setne bl
add ebx, 0xfffffffc
mov dword [rdi + 4], ebx
mov rcx, r12
call fcn.1400506c0
mov rcx, r13
call fcn.1400506c0
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 0x140007f7c
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov rsi, r9
mov r14, r8
mov r15, rdx
mov r12d, ecx
test rdx, rdx
je 0x1400080ac
mov rcx, qword [0x140069c14]
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 [0x140067940]
mov dword [rdi + 0x44], eax
mov eax, dword [0x140069ff8]
mov dword [rdi + 0x80], r12d
mov dword [rdi + 0x48], eax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x78], rax
test bpl, cl
je 0x14000809d
test rsi, rsi
je 0x140008056
mov rcx, qword [0x140069c14]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x140008050
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.msvcrt.dll_memcpy
cmp qword [rdi + 0x70], rbx
je 0x140008093
lea rax, [rsp + 0x68]
lea r8, [0x1400080c8]
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 0x14000808b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000808f
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x1400080a9
mov rcx, rdi
call fcn.1400076f8
jmp 0x1400080ac
mov rcx, rdi
mov qword [rdi + 0x70], r14
call fcn.140007ac4
mov rbx, rdi
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400082dc
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1c0
mov ebx, reloc.WS2_32.dll_recv
lea r8, [0x1400081f0]
lea ecx, [rbx + 0x28]
mov edx, ebx
call fcn.1400137a8
xor r8d, r8d
xor edx, edx
mov ecx, ebx
mov qword [0x14006a008], rax
call fcn.140013628
xor ebx, ebx
cmp word [0x14006a000], bx
mov qword [0x14006a8c0], rax
jne 0x1400083ff
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea edi, [rbx + 1]
mov word [0x14006a000], di
test eax, eax
je 0x14000834d
mov word [0x14006a000], bx
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14006a030], rax
test rax, rax
je 0x1400083ff
lea rdx, [0x140057080]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14006a030]
lea rdx, [0x140057090]
mov qword [0x14006a010], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14006a030]
lea rdx, str.getnameinfo
mov qword [0x14006a018], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14006a030]
lea rdx, str.WSAStringToAddressA
mov qword [0x14006a020], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14006a010], rbx
mov qword [0x14006a028], rax
je 0x1400083ff
cmp qword [0x14006a018], rbx
je 0x1400083ff
cmp qword [0x14006a020], rbx
je 0x1400083ff
mov ecx, dword [0x14006a004]
test rax, rax
cmovne ecx, edi
mov dword [0x14006a004], ecx
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rdi
ret