joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006200
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, r9
mov r12, r8
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], rdx
mov qword [rbp - 1], r8
mov qword [rbp - 9], rbx
xor r14d, r14d
mov dword [rbp - 0x29], r14d
mov edi, r14d
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
mov dword [rbp - 0x31], r14d
lea r15, vtable.ES_CMN_FUNCS::BUFFER::CESHeapBuffer.0
mov qword [rbp - 0x49], r15
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
mov dword [rbp - 0x29], 1
nop word [rax + rax]
add edi, 0x400
lea rcx, [rbp - 0x49]
mov rax, qword [rbp - 0x49]
call qword [rax + 0x48]
mov edx, edi
lea rcx, [rbp - 0x49]
mov rax, qword [rbp - 0x49]
call qword [rax + 0x98]
mov r9, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x1400062c3
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x35], edi
cmp qword [rsi + 0x18], 8
jb 0x1400062cf
mov rax, qword [rsi]
jmp 0x1400062d2
mov rax, rsi
cmp qword [rbx + 0x18], 8
jb 0x1400062de
mov rdx, qword [rbx]
jmp 0x1400062e1
mov rdx, rbx
cmp qword [r12 + 0x18], 8
jb 0x1400062ef
mov rcx, qword [r12]
jmp 0x1400062f2
mov rcx, r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x14002f6b4]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
lea ecx, [rdi - 1]
lea eax, [rcx - 1]
cmp r11d, eax
je 0x140006290
cmp r11d, ecx
je 0x140006290
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x41]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r13
call fcn.140001e30
nop
mov qword [rbp - 0x49], r15
mov rdx, qword [rbp - 0x41]
test rdx, rdx
je 0x140006362
lea rcx, [rbp - 0x49]
call qword [0x140031a58]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
lea rax, vtable.ES_CMN_FUNCS::BUFFER::IESBuffer.0
mov qword [rbp - 0x49], rax
cmp qword [rsi + 0x18], 8
jb 0x14000637d
mov rcx, qword [rsi]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
mov word [rsi], r14w
cmp qword [r12 + 0x18], 8
jb 0x14000639f
mov rcx, qword [r12]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], r14
mov word [r12], r14w
cmp qword [rbx + 0x18], 8
jb 0x1400063c2
mov rcx, qword [rbx]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
mov rax, r13
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140029670
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140006e80
Capabilities:
Get file version info

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x48], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov word [rcx], si
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x18], 8
jb 0x140006ee6
mov rcx, qword [rdx]
jmp 0x140006ee9
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x140006f8f
mov eax, 2
mul rdi
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.140029624
mov r13, rax
cmp qword [rbx + 0x18], 8
jb 0x140006f25
mov rcx, qword [rbx]
jmp 0x140006f28
mov rcx, rbx
mov r9, rax
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140006f77
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x28]
lea rdx, str.StringFileInfo000004b0FileVersion
mov rcx, r13
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140006f77
xor eax, eax
mov rcx, r14
mov rdx, qword [rsp + 0x28]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r12
call fcn.140001e30
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
nop
jmp 0x140006f8f
cmp qword [rbx + 0x18], 8
jb 0x140006f9f
mov rcx, qword [rbx]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rax, r12
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140029670
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140007c40
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0x28], esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov word [rcx], si
mov dword [rbp + 0x28], 1
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
lea r12, vtable.ES_CMN_FUNCS::BUFFER::CESHeapBuffer.0
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x28]
call qword [0x140031a00]
mov edx, 0x20a
lea rcx, [rbp - 0x28]
mov rax, qword [rbp - 0x28]
call qword [rax + 0x98]
mov rdx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140007d7b
mov dword [rbp - 0x18], 0x20a
mov dword [rbp - 0x14], 0x20a
xor ecx, ecx
lea r9d, [rsi + 1]
lea r8d, [rsi + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rdx, qword [rbp - 0x20]
cmp eax, 1
jne 0x140007d39
test rdx, rdx
je 0x140007d28
mov r8d, 0x105
mov ecx, r8d
mov rax, rdx
mov edi, esi
nop dword [rax]
cmp word [rax], di
je 0x140007d10
add rax, 2
dec rcx
jne 0x140007d00
jmp 0x140007d15
test rcx, rcx
jne 0x140007d1f
mov edi, 0x80070057
mov r8, rsi
jmp 0x140007d22
sub r8, rcx
test edi, edi
jns 0x140007d32
jmp 0x140007d2d
mov edi, 0x80070057
mov r8, rsi
test edi, edi
jne 0x140007d5d
test r8, r8
je 0x140007d5d
test rdx, rdx
je 0x140007d7b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140001e30
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140007d7b
mov rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call qword [rax + 0xa0]
mov rdx, rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rdx
cmp qword [rbx + 0x10], 0
je 0x140007d9b
mov r8d, 0x11
lea rdx, str.EPSONEPSONSCAN2
mov rcx, rbx
call fcn.140001cd0
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x28], r12
test rdx, rdx
je 0x140007db1
lea rcx, [rbp - 0x28]
call qword [0x140031a58]
nop
jmp 0x140007db1
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x1400152b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x18]
mov rbx, rcx
cmp r8, qword [rcx + 0x10]
jb 0x1400152e5
mov rcx, qword [rcx + 8]
cmp r8, rcx
je 0x1400152e5
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], 0xff
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x14001531c
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x14001531c
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], 0xfe
inc qword [rbx + 0x18]
add rsp, 0x20
pop rbx
ret
Function at 0x140015540
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
add qword [rcx + 0x20], 0xfffffffffffffff0
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp qword [rax], 0
je 0x140015587
mov rcx, qword [rcx]
mov edx, 0xa
mov rcx, qword [rcx]
call fcn.140015fa0
mov r8, qword [rbx + 0x20]
mov eax, dword [rbx + 0x44]
sub r8, qword [rbx + 0x18]
movzx edx, word [rbx + 0x40]
mov rcx, qword [rbx]
shr r8, 4
imul r8, rax
call fcn.140016030
mov rcx, qword [rbx]
mov edx, 0x7d
mov rcx, qword [rcx]
call fcn.140015fa0
mov r11, qword [rbx + 0x18]
cmp qword [rbx + 0x20], r11
jne 0x1400155cd
mov rax, qword [rbx]
mov rbx, qword [rax]
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400155cd
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140015fa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [rcx + 0x18]
movzx edi, dx
mov rbx, rcx
cmp r8, qword [rcx + 0x10]
jb 0x140015fdc
mov rcx, qword [rcx + 8]
cmp r8, rcx
je 0x140015fdc
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], dil
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x140016013
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x140016013
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
shr di, 8
mov byte [rax], dil
inc qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140016030
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x140016101
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
movzx esi, dx
mov rdi, r8
movzx ebp, dx
mov r12, rcx
shr si, 8
nop word [rax + rax]
mov rbx, qword [r12]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x1400160a0
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400160a0
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], bpl
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x1400160d7
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400160d7
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], sil
inc qword [rbx + 0x18]
dec rdi
jne 0x140016070
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
repz ret
Function at 0x1400178d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, qword [rdx + 0x10]
mov r8, rdx
movabs rax, 0xcccccccccccccccd
xor r10d, r10d
mov r11, rcx
mov r9d, 0x811c9dc5
mul rbx
shr rdx, 3
inc rdx
test rbx, rbx
je 0x14001792a
mov rcx, qword [r8 + 0x18]
cmp rcx, 8
jb 0x140017910
mov rax, qword [r8]
jmp 0x140017913
mov rax, r8
movzx eax, word [rax + r10*2]
imul r9, r9, 0x1000193
add r10, rdx
xor r9, rax
cmp r10, rbx
jb 0x140017905
mov rdx, qword [r11 + 0x40]
mov rax, rdx
and rax, r9
cmp qword [r11 + 0x48], rax
ja 0x140017947
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
mov rbx, qword [rsp + 8]
ret

Function at 0x14001c0f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
add qword [rcx + 0x20], 0xfffffffffffffff0
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp qword [rax], 0
je 0x14001c137
mov rcx, qword [rcx]
mov edx, 0xa
mov rcx, qword [rcx]
call fcn.140015fa0
mov r8, qword [rbx + 0x20]
mov eax, dword [rbx + 0x44]
sub r8, qword [rbx + 0x18]
movzx edx, word [rbx + 0x40]
mov rcx, qword [rbx]
shr r8, 4
imul r8, rax
call fcn.140016030
mov rcx, qword [rbx]
mov edx, 0x5d
mov rcx, qword [rcx]
call fcn.140015fa0
mov r11, qword [rbx + 0x18]
cmp qword [rbx + 0x20], r11
jne 0x14001c17d
mov rax, qword [rbx]
mov rbx, qword [rax]
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x14001c17d
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400216a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x40
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, edx
mov r12, rcx
lea rdx, [rsp + 0x20]
test eax, eax
jns 0x1400216d2
mov byte [rsp + 0x20], 0x2d
lea rdx, [rsp + 0x21]
neg eax
mov ecx, eax
call fcn.1400142d0
lea rsi, [rsp + 0x20]
mov rbp, rax
lea rax, [rsp + 0x20]
cmp rax, rbp
je 0x140021792
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
nop dword [rax]
mov rcx, qword [r12]
movsx edi, byte [rsi]
mov rbx, qword [rcx]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x140021736
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x140021736
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], dil
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x14002176d
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x14002176d
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
shr di, 8
inc rsi
mov byte [rax], dil
inc qword [rbx + 0x18]
cmp rsi, rbp
jne 0x140021700
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140029670
add rsp, 0x40
pop r12
pop rsi
pop rbp
ret
Function at 0x1400217b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x40
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, edx
mov r12, rcx
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400142d0
lea rsi, [rsp + 0x20]
mov rbp, rax
lea rax, [rsp + 0x20]
cmp rax, rbp
je 0x140021892
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
nop dword [rax]
mov rcx, qword [r12]
movsx edi, byte [rsi]
mov rbx, qword [rcx]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x140021836
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x140021836
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], dil
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x14002186d
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x14002186d
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
shr di, 8
inc rsi
mov byte [rax], dil
inc qword [rbx + 0x18]
cmp rsi, rbp
jne 0x140021800
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140029670
add rsp, 0x40
pop r12
pop rsi
pop rbp
ret

Function at 0x1400218b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r12
sub rsp, 0x50
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorpd xmm0, xmm0
mov r12, rcx
lea rbx, [rsp + 0x28]
ucomisd xmm1, xmm0
jp 0x1400218f3
jne 0x1400218f3
mov word [rsp + 0x28], 0x2e30
mov byte [rsp + 0x2a], 0x30
lea rbp, [rsp + 0x2b]
jmp 0x140021935
comisd xmm0, xmm1
jbe 0x14002190b
xorpd xmm1, xmmword [0x140032a20]
mov byte [rsp + 0x28], 0x2d
lea rbx, [rsp + 0x29]
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x20]
movapd xmm0, xmm1
mov rdx, rbx
call fcn.140014910
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call fcn.140014ba0
mov rbp, rax
lea rax, [rsp + 0x28]
lea rsi, [rsp + 0x28]
cmp rax, rbp
je 0x1400219e0
mov qword [rsp + 0x80], rdi
mov rcx, qword [r12]
movsx edi, byte [rsi]
mov rbx, qword [rcx]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x140021986
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x140021986
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
mov byte [rax], dil
inc qword [rbx + 0x18]
mov r8, qword [rbx + 0x18]
cmp r8, qword [rbx + 0x10]
jb 0x1400219bd
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1400219bd
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call qword [sym.imp.MSVCR100.dll_fwrite]
mov r11, qword [rbx + 8]
mov qword [rbx + 0x18], r11
mov rax, qword [rbx + 0x18]
shr di, 8
inc rsi
mov byte [rax], dil
inc qword [rbx + 0x18]
cmp rsi, rbp
jne 0x140021950
mov rdi, qword [rsp + 0x80]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140029670
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r12
pop rsi
pop rbp
ret
Function at 0x140029c8b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140042020]
jne 0x14002968a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029686
repz ret
ror rcx, 0x10
jmp 0x140029be4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400452a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140045398]
mov qword [rsp + 0x58], rax
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 0x140029c69
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, [0x1400452a0]
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 0x140029c8b
mov rax, qword [rsp + 0x88]
mov qword [0x140045398], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140045338], rax
mov rax, qword [0x140045398]
mov qword [0x140045210], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140045320], rax
mov dword [0x140045200], 0xc0000409
mov dword [0x140045204], 1
mov rax, qword [0x140042020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140042028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140045298], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002e6c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140045298], 0
jne 0x140029d12
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x1400012f0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x120], rax
movsxd rdi, ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rcx, [rsp + 0x20]
mov eax, 0x29f1868f
imul r8d
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1869f
lea rdx, str.GET___d_HTTP_1.1_r_n
sub r8d, eax
call fcn.140001010
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140001356
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
lea rdx, str.HOST:__r_n
lea rcx, [rsp + 0x20]
call fcn.140001010
lea rax, [rsp + 0x20]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001390
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
lea rdx, str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__Trident_4.0__.NET_CLR_1.1.4322__.NET_CLR_2.0.503l3__.NET_CLR_3.0.4506.2152__.NET_CLR_3.5.30729__MSOffice_12__r_n
lea rcx, [rsp + 0x20]
call fcn.140001010
lea rcx, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rcx + r8], 0
jne 0x1400013c4
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rcx, [rsp + 0x20]
mov eax, 0x29f1868f
imul r8d
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1869f
lea rdx, str.Content_Length:__d_r_n
sub r8d, eax
add r8d, 0x3e8
call fcn.140001010
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001420
mov r8, rbx
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140002c90
mov rbx, qword [rsp + 0x148]
add rsp, 0x130
pop rdi
ret
Function at 0x140003608
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003652
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003652
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003652
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003652
cmp dword [rcx + 0x84], 0xe
jbe 0x140003652
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003654
xor al, al
add rsp, 0x28
ret
Function at 0x1400d5940
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rcx
mov rax, qword [0x1401d5b48]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.1400d4240
mov rbx, rax
call fcn.1400d4250
mov r15, rax
call fcn.1400d4280
mov rsi, rax
call fcn.1400d4290
mov rdi, rax
mov rcx, rbx
mov rdx, r15
call fcn.1400d7600
mov rbx, rax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400d57c0
test eax, eax
je 0x1400d59bf
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110e30
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14014bebc
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
xor ecx, ecx
mov r8d, 3
mov r9d, 1
call fcn.1400d7ec0
cmp rax, 0xffffffffffffffff
je 0x1400d5a34
mov r14, rax
xor ecx, ecx
call fcn.1400d42d0
cdqe
sub rbx, rsi
add rbx, r14
add rax, rbx
add rax, 0x58
mov qword [0x1401eda98], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110e30
mov rcx, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400d7380
call fcn.14014b784
mov ecx, dword [rax]
call fcn.14014bd88
mov rsi, rax
mov ecx, 2
call fcn.14014b5c4
lea rdx, str.LLVM_Profile_Error:_Unable_to_mmap_profile:__s_n
mov rcx, rax
mov r8, rsi
call fcn.1400d3e40
jmp 0x1400d59a5
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401d5b48]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + rdx]
dec rcx
neg rdx
and rcx, rdx
and rdx, rsi
xor esi, esi
sub rdx, rcx
jbe 0x1400d73ce
mov r8d, 4
call fcn.1400d8000
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140110e30
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret