joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d8f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14001d918
mov eax, 0
jmp 0x14001d966
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14001d941
mov eax, 0
jmp 0x14001d966
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14001d961
mov eax, 0
jmp 0x14001d966
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14001d96c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001d9ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14001d9e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14001d9e1
mov rax, qword [rbp - 8]
jmp 0x14001d9ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14001d9b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000a370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rsi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov qword [rsp + 0x98], rdx
lea rax, str.apic
mov qword [rsp + 0x48], rax
call fcn.14004f2c0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x48]
call fcn.14004f6b0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
shl qword [rsp + 0x98], 1
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sub.ADVAPI32.dll_CryptAcquireContextW
test rax, rax
je 0x14000a420
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14000a440
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.14004f680
mov rax, rbx
add rsp, 0x78
pop rbx
pop rsi
ret
mov qword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sub.ADVAPI32.dll_CryptAcquireContextW
jmp 0x14000a3f3
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
call sub.ADVAPI32.dll_CryptCreateHash
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x14000a480
mov rcx, qword [rsp + 0x50]
xor edx, edx
call sub.ADVAPI32.dll_CryptReleaseContext
jmp 0x14000a3fd
mov rcx, qword [rsp + 0x48]
call fcn.14004c720
mov r8, rax
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
mov rdx, qword [rsp + 0x48]
call sub.ADVAPI32.dll_CryptHashData
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov edx, 0x6801
call sub.ADVAPI32.dll_CryptDeriveKey
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14000a4e0
mov rcx, qword [rsp + 0x68]
call sub.ADVAPI32.dll_CryptDestroyHash
jmp 0x14000a469
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 1
xor edx, edx
call sub.ADVAPI32.dll_CryptEncrypt
test rax, rax
je 0x14000a522
mov qword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x58]
call sub.ADVAPI32.dll_CryptDestroyKey
jmp 0x14000a4cd
Function at 0x140011b40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140011ad0
mov rcx, qword [0x14017aba8]
call sub.KERNEL32.dll_HeapDestroy
movsxd rcx, dword [0x14017abb0]
add rsp, 0x28
jmp 0x14001c6b1
jmp qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14001c360
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x140000000], 0x5a4d
je 0x14001c39d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x14001c42b
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14001c3c1
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001c42b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x14001c408
cmp ecx, 0x20b
je 0x14001c3e0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001c42b
cmp dword [rax + 0x84], 0xe
ja 0x14001c3f4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001c42b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x14001c42b
cmp dword [rax + 0x74], 0xe
ja 0x14001c419
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001c42b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x14017d7e0], 0xffffffffffffffff
mov qword [0x14017d800], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x14017ac90]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x14017ac94]
mov dword [rcx], eax
call fcn.14001c650
cmp dword [0x14017d820], 0
jne 0x14001c485
lea rcx, [0x14001c660]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x1401589a8]
lea rcx, [0x1401589a0]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x14017ac98]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x14017ac9c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x140158998]
lea rcx, [0x140158990]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x14001c526
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x14001c516
cmp al, 0x22
je 0x14001c516
jmp 0x14001c500
cmp byte [r8], 0x22
jne 0x14001c536
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14001c536
cmp byte [r8], 0x20
jbe 0x14001c536
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14001c526
movzx eax, byte [r8]
test al, al
je 0x14001c54c
cmp al, 0x20
ja 0x14001c54c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x14001c536
test byte [rsp + 0x8c], 1
je 0x14001c561
movzx r9d, word [rsp + 0x90]
jmp 0x14001c567
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.1400181a0
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x14001c583
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x14001c5a7
mov eax, edi
jmp 0x14001c5b0
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x14001d078
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14001d13e
lea rcx, [0x14017d860]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14017acb0]
jmp 0x14001d102
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14001d0ff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x14017acb0]
mov rdx, rsi
call fcn.14004ebb8
jmp 0x14001d102
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14001d0cf
mov rdx, qword [reloc.WS2_32.dll_accept]
lea rcx, [0x14017acb0]
mov rdi, rdx
inc rdx
mov qword [reloc.WS2_32.dll_accept], rdx
lea edx, [rbx + 0x20]
call fcn.14004ec00
lea rcx, [0x14017d860]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x14001ea40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14001eab7
movsxd rdx, ecx
lea rcx, [0x14001e99c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x14017b000]
test rbx, rbx
je 0x14001eb2a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14001eaad
cmp byte [rbx + 0x20], 0
je 0x14001eaad
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 0x14001ea73
jmp 0x14001eb2a
mov rbx, qword [0x14017b000]
test rbx, rbx
je 0x14001eb2a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14001eb22
cmp byte [rbx + 0x21], 0
je 0x14001eae6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14001eb12
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, [0x14017b000]
call fcn.14004ebb8
mov rbx, rdi
test rdi, rdi
jne 0x14001eac3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f2c8
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 0x14001f32f
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 0x14001f321
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14001f32b
add ebx, dword [rsp + 0x50]
cmp ebx, edi
jge 0x14001f32f
jmp 0x14001f2ec
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 0x14001f3a4
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 [0x14017d9c0]
call fcn.14004df94
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 0x14001f4a1
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x14001f3fb
add rax, 2
cmp word [rax], 0x20
je 0x14001f3f1
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x14001f439
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14001f479
cmp cx, r9w
je 0x14001f42b
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14001f419
cmp word [rax], bp
je 0x14001f479
mov rcx, rax
add rax, 2
jmp 0x14001f481
test dx, dx
je 0x14001f47e
mov rbx, rax
cmp dx, 0x20
je 0x14001f42b
add rax, 2
cmp word [rax], r9w
jne 0x14001f46f
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x14001f479
cmp cx, r9w
je 0x14001f46f
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14001f45d
movzx edx, word [rax]
test dx, dx
jne 0x14001f441
jmp 0x14001f42b
mov rcx, rax
jmp 0x14001f481
mov r8d, ebp
cmp dword [r14], esi
jne 0x14001f48b
test rdi, rdi
jne 0x14001f4ab
test r8d, r8d
je 0x14001f492
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x14001f3eb
test rdi, rdi
jne 0x14001f4c0
movsxd rax, esi
jmp 0x14001f4c2
test rbx, rbx
je 0x14001f4c0
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x14001f4c2
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 0x14001f4d8
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14017d9c0]
call fcn.14004df94
xor ecx, ecx
add rsp, 0x28
jmp fcn.14001f3a4
Function at 0x14001f4f4
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.14001f3a4
mov esi, dword [rsp + 0x38]
mov ecx, esi
mov edx, ebx
mov rdi, rax
call fcn.14004f9f0
mov ecx, ebp
jmp 0x14001f54a
test esi, esi
je 0x14001f54f
movzx edx, word [rdi]
cmp dx, 0x22
jne 0x14001f53d
inc ecx
jmp 0x14001f544
mov word [rax], dx
add rax, 2
add rdi, 2
dec esi
cmp word [rdi], bp
jne 0x14001f52c
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.14004fb30

Function at 0x14001f5f8
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 0x14001f626
dec edi
mov edx, ebx
mov ecx, edi
call fcn.14004f9f0
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 0x1400242bc
Capabilities:
Reference http user-agent string

Disassembly:
mov r9d, edx
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor edx, edx
jmp 0x1400242d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
xor esi, esi
mov edi, r9d
mov rbx, r8
mov ebp, edx
test rcx, rcx
je 0x140024476
call fcn.140107120
mov rcx, rbx
mov r14, rax
call fcn.140107120
mov r15, rax
call fcn.1400cb510
mov rbx, rax
test rax, rax
je 0x140024462
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x90
call fcn.14001c91b
mov rcx, qword [0x14017aba8]
xor edx, edx
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002445a
mov qword [rsp + 0x48], 0x400
test bpl, 2
jne 0x140024375
lea edx, [rsi + 0x34]
lea r8d, [rsi + 1]
mov rcx, rbx
call fcn.1400ce080
mov r8, qword [0x14017b518]
test r8, r8
je 0x14002438e
mov edx, 0x2714
mov rcx, rbx
call fcn.1400ce080
mov r8, qword [0x14017b520]
test r8, r8
je 0x1400243c4
cmp qword [0x14017b528], rsi
je 0x1400243c4
mov edx, 0x27bf
mov rcx, rbx
call fcn.1400ce080
mov r8, qword [0x14017b528]
mov edx, 0x27c0
mov rcx, rbx
call fcn.1400ce080
mov edx, 0x2c
mov rcx, rbx
lea r8d, [rdx - 0x2b]
call fcn.1400ce080
mov r8, r14
mov edx, 0x2712
mov rcx, rbx
call fcn.1400ce080
mov r8, r15
mov edx, 0x2722
mov rcx, rbx
call fcn.1400ce080
lea r8, [0x14002449c]
mov edx, 0x4e6f
mov rcx, rbx
call fcn.1400ce080
lea r8, [rsp + 0x20]
mov edx, 0x272d
mov rcx, rbx
call fcn.1400ce080
mov rcx, rbx
call fcn.1400cb740
test eax, eax
jne 0x140024446
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x68]
mov edx, edi
mov byte [rax + rcx], sil
mov rcx, qword [rsp + 0x40]
call fcn.140106fa0
mov esi, 1
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x14017aba8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbx
call fcn.1400cb2a0
mov rcx, r14
call fcn.140107110
mov rcx, r15
call fcn.140107110
test esi, esi
jne 0x14002447d
mov ecx, edi
call fcn.14004fb70
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140024524
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x140024534
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 0x140024604
test rdx, rdx
je 0x140024604
mov rcx, qword [0x14017aba8]
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 0x1400245f1
lea rax, [rsp + 0x50]
lea r8, [0x1400247d8]
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 0x1400245fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140024604
mov rcx, rdi
call fcn.140024620
movsxd rbx, eax
mov rcx, rdi
call fcn.140024b88
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 0x140024534
Capabilities:
Create thread

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x140024534
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 0x140024604
test rdx, rdx
je 0x140024604
mov rcx, qword [0x14017aba8]
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 0x1400245f1
lea rax, [rsp + 0x50]
lea r8, [0x1400247d8]
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 0x1400245fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x140024604
mov rcx, rdi
call fcn.140024620
movsxd rbx, eax
mov rcx, rdi
call fcn.140024b88
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 0x140024620
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.140107120
mov rcx, qword [rdi + 0x58]
mov r12, rax
call fcn.140107120
mov r13, rax
call fcn.1400cb510
mov rbp, rax
test rax, rax
je 0x14002479b
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 0x140024781
test byte [rdi + 0x40], 2
mov qword [rdi + 0x18], rax
jne 0x1400246c0
lea edx, [rbx + 0x34]
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.1400ce080
mov r8, qword [0x14017b518]
test r8, r8
je 0x1400246d9
mov edx, 0x2714
mov rcx, rbp
call fcn.1400ce080
mov r8, qword [0x14017b520]
test r8, r8
je 0x14002470f
cmp qword [0x14017b528], rbx
je 0x14002470f
mov edx, 0x27bf
mov rcx, rbp
call fcn.1400ce080
mov r8, qword [0x14017b528]
mov edx, 0x27c0
mov rcx, rbp
call fcn.1400ce080
mov r8, r12
mov edx, 0x2712
mov rcx, rbp
call fcn.1400ce080
mov r8, r13
mov edx, 0x2722
mov rcx, rbp
call fcn.1400ce080
lea r8, [0x1400247e8]
mov edx, 0x4e2b
mov rcx, rbp
call fcn.1400ce080
mov r8, rdi
mov edx, 0x2711
mov rcx, rbp
call fcn.1400ce080
mov rcx, rbp
call fcn.1400cb740
test eax, eax
jne 0x14002476b
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 0x140024781
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbp
call fcn.1400cb2a0
mov eax, 1
cmp esi, eax
jne 0x14002479b
mov dword [rdi + 4], 0xfffffffe
jmp 0x1400247a8
cmp dword [rdi + 4], 0xfffffffb
setne bl
add ebx, 0xfffffffc
mov dword [rdi + 4], ebx
mov rcx, r12
call fcn.140107110
mov rcx, r13
call fcn.140107110
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 0x14002482c
Capabilities:
Reference http user-agent string

Disassembly:
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor edx, edx
jmp 0x140024848
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, r8
mov r14d, edx
mov rbp, rcx
test rcx, rcx
je 0x140024912
mov rcx, qword [0x14017aba8]
lea edx, [rbx + 8]
mov r8d, 0x90
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, r15
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x88], esi
mov qword [rdi + 0x58], rax
test sil, r14b
je 0x1400248ff
lea rax, [rsp + 0x50]
lea r8, [0x140024ac0]
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 0x1400248f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400248f6
mov esi, dword [rsp + 0x50]
test esi, esi
je 0x14002490a
mov rbx, rdi
jmp 0x140024912
mov rcx, rdi
call fcn.140024930
mov rbx, rax
mov rcx, rdi
call fcn.140024b88
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 0x14002483c
Capabilities:
Reference http user-agent string

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

Function at 0x140024848
Capabilities:
Create thread

Disassembly:
lea r8, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor edx, edx
jmp 0x140024848
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, r8
mov r14d, edx
mov rbp, rcx
test rcx, rcx
je 0x140024912
mov rcx, qword [0x14017aba8]
lea edx, [rbx + 8]
mov r8d, 0x90
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, r15
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x88], esi
mov qword [rdi + 0x58], rax
test sil, r14b
je 0x1400248ff
lea rax, [rsp + 0x50]
lea r8, [0x140024ac0]
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 0x1400248f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400248f6
mov esi, dword [rsp + 0x50]
test esi, esi
je 0x14002490a
mov rbx, rdi
jmp 0x140024912
mov rcx, rdi
call fcn.140024930
mov rbx, rax
mov rcx, rdi
call fcn.140024b88
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