joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400432c8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14003a0fc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140043369
cmp ebx, dword [rsp + 0x30]
je 0x140043362
test esi, esi
je 0x140043362
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14004333d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14004334a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140043327
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14004334e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14004336b
mov eax, 1
jmp 0x14004336b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140044600
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140044630
xor eax, eax
jmp 0x1400446f3
mov rbp, rbx
cmp word [rax], si
je 0x140044655
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004463c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140044638
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400448f8
movsxd r14, eax
test eax, eax
jne 0x140044693
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140044629
mov rcx, r14
call fcn.1400362bc
mov rdi, rax
test rax, rax
jne 0x1400446ac
xor ecx, ecx
call fcn.140036280
jmp 0x140044688
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400448f8
test eax, eax
jne 0x1400446dd
mov rcx, rdi
call fcn.140036280
jmp 0x1400446e7
xor ecx, ecx
call fcn.140036280
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140044710
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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140044797
mov rsi, rbx
cmp word [rax], bp
je 0x140044756
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140044740
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004473c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400362bc
mov rdi, rax
test rax, rax
je 0x140044784
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140052f00
mov rbp, rdi
xor ecx, ecx
call fcn.140036280
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004e9c0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140036dd8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004ea4a
cmp byte [rbp - 0x21], r15b
je 0x14004ea45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004ea80
call fcn.14003b818
test eax, eax
jne 0x14004ea6c
cmp byte [rbp - 0x21], r15b
je 0x14004ea64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004ea80
cmp byte [rbp - 0x21], r15b
je 0x14004ea7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140036c5c
test eax, eax
jne 0x14004eb20
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140036dd8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004eabf
cmp byte [rbp - 0x21], r15b
je 0x14004eaf4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004eaf4
call fcn.14003b818
test eax, eax
jne 0x14004eae0
cmp byte [rbp - 0x21], r15b
je 0x14004ead9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14004eaf4
cmp byte [rbp - 0x21], r15b
je 0x14004eaf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140036c5c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14004eb20
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14004eb23
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14004eb31
mov rcx, rdi
call fcn.140036280
cmp byte [rbp + 0x3f], r15b
je 0x14004eb40
mov rcx, qword [rbp + 0x27]
call fcn.140036280
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140050f98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402a83f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140050fef
cmp word [rdx], r13w
jne 0x140050fef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140050ff4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140051119
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005113a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005102d
mov rdx, r9
mov word [rbx], cx
jmp 0x140051054
cmp r9, r8
jae 0x140051064
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005100e
jmp 0x140051119
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005110e
cmp dword [rsp + 0x80], esi
je 0x14005110e
lea r8, [0x1402a83f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400510e6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400510b6
mov word [rbx], r13w
jmp 0x140051116
mov ecx, reloc.WS2_32.dll_listen
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400510c3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140051116
cmp word [rsp + 0x70], r13w
jne 0x1400510f3
cmp rbx, r14
je 0x1400510b0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140052534
cmp word [rsp + 0x70], r13w
je 0x140051119
mov ecx, reloc.WS2_32.dll_listen
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402a83f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140051113
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140051119
Function at 0x1400628a8
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 0x14006296c
lea rcx, [0x1402af660]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402a8bb8]
jmp 0x140062932
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14006292f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1402a8bb8]
mov rdx, rsi
call fcn.1400a5974
jmp 0x140062932
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400628ff
mov rdi, qword [reloc.WS2_32.dll_accept]
lea rcx, [0x1402a8bb8]
lea rdx, [rdi + 1]
mov qword [reloc.WS2_32.dll_accept], rdx
lea edx, [rbx + 0x20]
call fcn.1400a59bc
lea rcx, [0x1402af660]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140062d94
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140062acc
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1402af660]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402a8bb8]
jmp 0x140062dd0
cmp qword [rbx + 0x18], rdi
je 0x140062dd7
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140062dc7
jmp 0x140062df1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1402a8bb8]
call fcn.1400a5974
lea rcx, [0x1402af660]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400821a8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14029fd68]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edi, edi
mov r13, r8
cmp dword [rcx + 0x20], 1
mov rbx, rdx
mov r12, rcx
mov r15d, edi
jne 0x140082366
test rdx, rdx
je 0x140082366
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 7]
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140082366
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [0x1402a74e8]
xor edx, edx
mov eax, eax
mov r8d, 0x200000
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14008235d
call fcn.1400e2210
mov rsi, rax
test rax, rax
je 0x14008234b
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1401a3ce8
mov edx, 0x1a4
mov rcx, rsi
call fcn.1400e27b0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400e2ec0
mov rax, qword [r12 + 0x48]
mov ecx, dword [rax + 0x10]
dec ecx
test ecx, 0xfffffffd
je 0x1400822b3
mov rdx, r13
mov rcx, rsi
call fcn.1400e1b60
jmp 0x1400822d1
mov rcx, r13
call fcn.14017f210
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call fcn.1400e27a0
mov rcx, rbx
call fcn.14017f200
mov rbx, qword [rsp + 0x48]
mov rcx, rsi
mov rdx, rbx
call fcn.1400e27f0
mov edx, 0x8000
mov rcx, rsi
call fcn.1400e25c0
mov rcx, qword [r12]
mov rdx, rsi
call fcn.1400e2eb0
jmp 0x140082318
mov rcx, qword [r12]
mov rdx, r14
movsxd r8, eax
call fcn.1400e2e30
movsxd rcx, dword [rsp + 0x40]
cmp rax, rcx
jne 0x14008233c
add r15, rcx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, 0x200000
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x40]
test eax, eax
jg 0x1400822fc
mov rcx, rsi
call fcn.1400e1ed0
cmp r15, rbx
sete dil
mov rcx, qword [0x1402a74e8]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14017f910
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140083770
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x1402af8e0]
call fcn.1400a4e74
test rax, rax
je 0x1400837a0
mov rdx, qword [rax + 0x10]
mov r8d, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14008460c
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.1400a62b0
cmp dword [rcx + 0x4c], 0x18
mov rax, rdx
mov rcx, rax
mov edx, r8d
je fcn.14017f640
jmp fcn.14017f2f0
Function at 0x140083ee4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov ebp, r9d
mov rdx, rcx
mov r15d, r8d
mov rcx, qword [0x1402af8e0]
xor edi, edi
call fcn.1400a4e74
mov rsi, rax
test rax, rax
je 0x14008407d
test r14, r14
je 0x14008407d
mov r8, qword [rax + 0x30]
mov dword [rax + 0x70], edi
mov dword [rax + 0x50], 0xa
test r8, r8
je 0x140083f4d
mov rcx, qword [0x1402a74e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsi + 0x38]
test r8, r8
je 0x140083f65
mov rcx, qword [0x1402a74e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsi + 0x40]
test r8, r8
je 0x140083f7d
mov rcx, qword [0x1402a74e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x80]
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rdi
mov dword [rsi + 0x48], ebp
test rcx, rcx
je 0x140083fb1
call fcn.14017f7c0
mov rcx, rax
mov rbx, rax
call fcn.140084564
mov rcx, rbx
mov qword [rsi + 0x30], rax
call fcn.14017f7b0
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140083fda
call fcn.14017f7c0
mov rcx, rax
mov rbx, rax
call fcn.140084564
mov rcx, rbx
mov qword [rsi + 0x38], rax
call fcn.14017f7b0
mov rcx, r14
call fcn.14017f7c0
mov rcx, rax
mov rbx, rax
call fcn.14019f7d0
mov rcx, qword [0x1402a74e8]
xor edx, edx
lea r8, [rax + 0x80]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rcx, str.smtp:___s:_d
test bpl, 4
lea rdx, str.smtps:___s:_d
mov qword [rsi + 0x40], rax
cmove rdx, rcx
mov r9d, r15d
mov rcx, rax
mov r8, rbx
call fcn.140062850
mov rcx, rbx
call fcn.14017f7b0
test bpl, 1
je 0x140084073
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140084320]
mov edx, 0x20000
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14008407d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x14008407d
mov rcx, rsi
call fcn.140084120
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movsxd rax, edi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14008742c
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [rcx], 1
jne 0x14008743e
mov rcx, qword [rcx + 8]
test rcx, rcx
jne fcn.1400a62e0
mov ecx, edx
jmp fcn.1400a62b0

Function at 0x1400879ac
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rcx + 0x10]
lea r9, [rax + 8]
mov rdx, qword [rcx + 8]
mov rdi, rcx
mov rcx, qword [rcx]
xor esi, esi
mov r8d, ebx
mov qword [rax - 0x18], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x40], ebx
mov rbx, qword [rsp + 0x48]
mov dword [rdi + 0x10], esi
sete sil
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14008b708
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
mov r12d, ecx
mov rsi, r9
mov rcx, qword [0x1402af9a0]
mov rbp, r8
mov r14, rdx
xor ebx, ebx
call fcn.1400a4c6c
mov r15, rax
test r14, r14
je 0x14008b841
mov rcx, qword [0x1402a74e8]
lea edx, [rbx + 8]
mov r8d, 0x98
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, r14
mov rdi, rax
or dword [rax + 4], 0xffffffff
mov dword [rax], 1
call fcn.1401a3cf0
lea rcx, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
mov qword [rdi + 8], rax
call fcn.1401a3cf0
mov ecx, dword [rsp + 0x80]
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x40], ecx
mov eax, dword [r15]
mov dword [rdi + 0x44], eax
mov eax, dword [r15 + 4]
mov dword [rdi + 0x48], eax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x78], rax
mov dword [rdi + 0x80], r12d
mov qword [rdi + 0x88], rsi
test cl, 1
je 0x14008b832
test rsi, rsi
je 0x14008b7ed
mov rcx, qword [0x1402a74e8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14008b7e7
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.140052f00
cmp qword [rdi + 0x70], rbx
je 0x14008b828
lea rax, [rsp + 0x68]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14008b87c]
mov edx, 0x10000
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14008b822
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008b83e
cmp dword [rsp + 0x68], ebx
jne 0x14008b83e
mov rcx, rdi
call fcn.14008a434
jmp 0x14008b841
mov rcx, rdi
mov qword [rdi + 0x70], rbp
call fcn.14008b22c
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 0x14008d924
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14d, r9d
mov rsi, r8
mov rbp, rdx
test rdx, rdx
je 0x14008da1d
test r8, r8
je 0x14008da1d
mov rdx, rcx
mov rcx, qword [0x1402afa00]
call fcn.1400a4e74
mov rdi, rax
test rax, rax
je 0x14008da1d
or qword [rax + 0x40], 0xffffffffffffffff
test r14d, r14d
je 0x14008da0d
mov rcx, qword [0x1402a74e8]
lea r8d, [rbx + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, rsi
mov r14, rax
lea rcx, [rax + 8]
mov qword [rax], rdi
call fcn.1400a5ab0
mov rdx, rbp
lea rcx, [r14 + 0x10]
call fcn.1400a5ab0
lea rax, [rsp + 0x58]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x14008dc20]
mov edx, 0x10000
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14008d9e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
jmp 0x14008da1d
mov rcx, qword [r14 + 8]
call fcn.1400a5ce0
mov rcx, qword [r14 + 0x10]
call fcn.1400a5ce0
mov rcx, qword [0x1402a74e8]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14008da1d
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.14008da34
mov ebx, eax
mov rbp, qword [rsp + 0x60]
movsxd rax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14008da34
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x10b0
call fcn.14017fd70
sub rsp, rax
mov rax, qword [0x14029fd68]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rbx, rcx
mov rbp, r8
mov rcx, rdx
xor edi, edi
xor esi, esi
call fcn.14017f7c0
lea r8, [0x140226450]
mov rcx, rbx
lea rdx, str.TYPE
mov r14, rax
call fcn.14008e40c
test rax, rax
je 0x14008dbe8
lea rdx, [0x140226404]
mov rcx, rbx
call fcn.14008e2d4
test rax, rax
je 0x14008dbe8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008e5d0
test rax, rax
je 0x14008dbe8
mov r8, r14
lea rdx, str.RETR
mov rcx, rbx
call fcn.14008e40c
test rax, rax
je 0x14008dbcf
lea rdx, str.125_150
mov rcx, rbx
call fcn.14008e2d4
test rax, rax
je 0x14008dbcf
cmp dword [rbx + 0x30], esi
jne 0x14008db0a
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008e540
test rax, rax
je 0x14008dbcf
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov esi, 1
call fcn.14008e7c8
test rax, rax
je 0x14008dbcf
and qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
test rax, rax
je 0x14008dbcf
and qword [rbx + 0x40], rdi
lea rdx, [rsp + 0xa0]
and dword [rbx + 0x48], edi
lea rcx, [rsp + 0x50]
mov r8d, 0x1000
call fcn.14008e2e0
mov rdi, rax
jmp 0x14008dbc0
cmp dword [rbx + 0x48], 0
jne 0x14008dbc4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, edi
lea rdx, [rsp + 0xa0]
add qword [rbx + 0x40], rax
lea rcx, [rsp + 0x50]
mov r8d, 0x1000
call fcn.14008e2e0
mov edi, eax
test eax, eax
jne 0x14008db7a
mov rcx, rbp
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008e7b0
test esi, esi
je 0x14008dbe8
mov rcx, rbx
call fcn.14008e3b8
mov rcx, r14
call fcn.14017f7b0
mov ecx, edi
mov eax, edi
neg ecx
sbb rdx, rdx
add rdx, 0xfffffffffffffffe
mov qword [rbx + 0x40], rdx
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.14017f910
add rsp, 0x10b0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008dc9c
Capabilities:
Create thread

Disassembly:
xor r9d, r9d
jmp 0x14008dca4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14d, r9d
mov rbp, r8
mov rsi, rdx
test r8, r8
je 0x14008dd9d
test rdx, rdx
je 0x14008dd9d
mov rdx, rcx
mov rcx, qword [0x1402afa00]
call fcn.1400a4e74
mov rdi, rax
test rax, rax
je 0x14008dd9d
or qword [rax + 0x40], 0xffffffffffffffff
test r14d, r14d
je 0x14008dd8d
mov rcx, qword [0x1402a74e8]
lea r8d, [rbx + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, rsi
mov r14, rax
lea rcx, [rax + 8]
mov qword [rax], rdi
call fcn.1400a5ab0
mov rdx, rbp
lea rcx, [r14 + 0x10]
call fcn.1400a5ab0
lea rax, [rsp + 0x60]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x14008df8c]
mov edx, 0x4000
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14008dd67
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
jmp 0x14008dd9d
mov rcx, qword [r14 + 8]
call fcn.1400a5ce0
mov rcx, qword [r14 + 0x10]
call fcn.1400a5ce0
mov rcx, qword [0x1402a74e8]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14008dd9d
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14008ddb4
mov ebx, eax
mov rbp, qword [rsp + 0x58]
movsxd rax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret