joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dfb30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rdx
mov rsi, rcx
add rcx, 0x50
mov qword [rbp - 0x28], rcx
and dword [rbp - 0x20], 0
and dword [rbp - 0x1c], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x20], eax
test eax, eax
jne 0x1400dfb88
cmp dword [rbp - 0x1c], eax
jne 0x1400dfccb
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp - 0x1c], eax
test rbx, rbx
je 0x1400dfb9d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140118f85.0]
nop
mov qword [rbp + 0x30], rbx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rbp + rdx + 0x30]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400dfbad
mov r8, qword [rsi + 0x40]
and r8, rcx
add r8, r8
mov r9, qword [rsi + 0x28]
mov rax, qword [r9 + r8*8]
mov rdx, qword [rsi + 0x18]
cmp qword [r9 + r8*8], rdx
jne 0x1400dfbed
mov rcx, rdx
jmp 0x1400dfbf5
mov rcx, qword [r9 + r8*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400dfc0a
cmp qword [rax + 0x10], rbx
je 0x1400dfc05
mov rax, qword [rax]
jmp 0x1400dfbe2
mov rcx, rax
jmp 0x1400dfc10
mov rax, rdx
mov rcx, rdx
cmp rcx, rdx
jne 0x1400dfc7c
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov r14, qword [rdx]
mov r15, qword [r14 + 8]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, r14
call fcn.140085938
mov rdx, rax
mov rax, qword [rsi + 0x20]
movabs rcx, 0x7fffffffffffffe
sub rcx, rax
cmp rcx, 1
jb 0x1400dfcbe
inc rax
mov qword [rsi + 0x20], rax
mov qword [r14 + 8], rdx
mov qword [r15], rdx
mov r9, qword [rsi + 0x18]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x18]
lea rcx, [rsi + 0x10]
call fcn.1400e05c8
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x18], rbx
test rcx, rcx
je 0x1400dfc97
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [rbp - 0x28]
call fcn.1400261e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402328c4
int3
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140025d34
int3
Function at 0x1400e0304
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rbx, r8
mov rsi, rdx
mov r10, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rbx + 0x10]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x1400e0333
mov rdx, qword [r10 + 0x30]
and rdx, r8
add rdx, rdx
mov rcx, qword [r10 + 0x18]
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400e038b
cmp qword [rcx + rdx*8], rbx
jne 0x1400e0380
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r10 + 8]
mov rcx, qword [r10 + 0x18]
jmp 0x1400e0384
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400e0398
cmp qword [rcx + rdx*8], rbx
jne 0x1400e0398
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e03cd
and qword [rbx + 0x18], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov rcx, rbx
call fcn.140261814
mov qword [rsi], rdi
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e05c8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400e0600
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x1400e0645
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x1400e06aa
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x1400e0648
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e0692
and qword [rbx + 0x18], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov rcx, rbx
call fcn.140261814
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400e07cf
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x1400e06e4
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400e0704
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400e0733
cmp rax, rdx
jne 0x1400e070f
mov qword [r9 + r8*8], rbx
jmp 0x1400e0733
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400e0733
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140333fc4]
test rax, rax
jns 0x1400e0754
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1400e0765
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400e07c4
cmp rdx, 0x200
jae 0x1400e077d
shl rdx, 3
jmp 0x1400e078f
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400e078f
add rdx, rdx
mov rcx, rsi
call fcn.140017084
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400e07c4
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400e05c8
cmp rdi, r15
jne 0x1400e07a4
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400e2780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov r11, qword [r9 + 0x10]
jb 0x1400e27ad
mov r10, qword [r9]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r11, r11
je 0x1400e27dc
movzx eax, byte [rdx + r10]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r11
jb 0x1400e27be
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400e2814
cmp qword [rcx + rdx*8], rdi
jne 0x1400e2809
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400e280d
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400e2821
cmp qword [rcx + rdx*8], rdi
jne 0x1400e2821
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.1400e15b0
mov rcx, rdi
call fcn.140261814
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400fdae0
Capabilities:
Set http header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rcx, qword [rcx + 0x78]
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov r15, rdx
mov dword [rbp - 0x10], r12d
test rcx, rcx
je 0x1400fdb26
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400fdb1a
jmp 0x1400fdb29
mov rax, r12
movsxd rdx, eax
xor r8d, r8d
call fcn.14008f364
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400fdcaa
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140101724
test al, al
jne 0x1400fdb8e
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140101724
test al, al
jne 0x1400fdb8e
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400fdb86
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x1400fdb86
mov ecx, eax
mov rdi, rbx
add rcx, rcx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call fcn.140261814
mov edi, r12d
jmp 0x1400fdc6c
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400fdc99
mov edi, dword [rbp - 0x10]
cmp edi, 1
jbe 0x1400fdc6c
lea r14d, [rdi + 0xb]
mov ecx, r14d
add rcx, rcx
call fcn.140261ad4
mov rsi, rax
test rax, rax
je 0x1400fdc6c
test r14d, r14d
jle 0x1400fdbdd
movsxd rdx, r14d
lea r8, str.Cookie:
or r9, 0xffffffffffffffff
mov rcx, rax
call fcn.140261adc
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.140091380
mov r8d, r14d
lea rcx, [0x1402dec64]
mov rdx, rsi
call fcn.140091380
mov r9d, 0xa0000000
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400fdc64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r14d, eax
call fcn.140261814
test edi, edi
je 0x1400fdc44
mov rcx, rdi
xor eax, eax
add rcx, rcx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call fcn.140261814
test rbx, rbx
je 0x1400fdc51
mov rcx, rbx
call fcn.140261814
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400fdc5f
call fcn.140261814
mov eax, r14d
jmp 0x1400fdcac
mov rcx, rsi
call fcn.140261814
test rbx, rbx
je 0x1400fdc99
test edi, edi
je 0x1400fdc8c
mov ecx, edi
xor eax, eax
add rcx, rcx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call fcn.140261814
test rbx, rbx
je 0x1400fdc99
mov rcx, rbx
call fcn.140261814
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x1400fdcaa
mov rcx, rax
call fcn.140261814
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x1400fdccc
Capabilities:
Prepare http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r14d, r14d
mov rdi, r9
mov rbx, rcx
test r9, r9
jne 0x1400fdd05
lea eax, [r9 + 0x57]
jmp 0x1400fdea4
mov qword [r9], r14
mov al, byte [rcx + 0xd8]
neg al
sbb ecx, ecx
xor r9d, r9d
and ecx, 0x800000
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbx + 0xb8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15, str.SH_ErrorCode
mov esi, eax
lea r12, [0x1402b5988]
lea r13, str.Message
lea rcx, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
lea rdx, str._CWinHttpHelperBase__CreateRequest
test eax, eax
je 0x1400fddb7
mov dword [rbp - 0x30], eax
mov r8d, 0xf
lea rax, str.Error:__CreateRequest_failed_in_WinHttpOpenRequest.
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], rax
mov ecx, 0x5c8106
lea rax, [rbp - 0x40]
mov qword [rbp - 0x38], r15
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov word [rbp - 0x2c], r14w
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x20], r13
mov word [rbp - 0x10], r14w
call fcn.1400e0fe8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400fddca
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400fdea4
mov r8d, dword [rbx + 0xd0]
cmp byte [rbx + 0xda], r14b
je 0x1400fddeb
or r8d, 0x17e0c00
mov dword [rbx + 0xd0], r8d
mov rcx, qword [rdi]
mov rdx, qword [rbx + 0xf0]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x1400fde6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400fde6a
mov dword [rbp - 0x30], eax
mov ecx, 0x5c8107
lea rax, str.Error:__CreateRequest_failed_in_WinHttpSetStatusCallback.
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x18], rax
mov r8d, 0xf
lea rax, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
mov word [rbp - 0x2c], r14w
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, str._CWinHttpHelperBase__CreateRequest
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x20], r13
mov word [rbp - 0x10], r14w
call fcn.1400e0fe8
mov eax, ebx
jmp 0x1400fdea4
mov rcx, qword [rdi]
lea r8, [rbp + 0x48]
mov r9d, 8
mov qword [rbp + 0x48], rbx
lea edx, [r9 + 0x25]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400fddbf
cmp byte [rbp + 0x50], r14b
jne 0x1400fdea2
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1400fdae0
mov eax, esi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140105afc
Capabilities:
Get file size

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [r11 - 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
movzx r15d, r8w
cmp r15d, 4
jae 0x140105c29
mov eax, r8d
and eax, 0xffff0000
mov ecx, 0x7f0000
or eax, ecx
cmp eax, ecx
jne 0x140105c29
lea rdx, [r11 - 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140105b7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140105c2e
mov rax, qword [rsp + 0x20]
test rax, rax
jns 0x140105b8e
mov edi, 0x8000ffff
jmp 0x140105c2e
xor edi, edi
xor ecx, ecx
test r15d, r15d
setne cl
mov dword [rbx + 0x30], ecx
mov ecx, ebp
and ecx, 0x100000
mov dword [rbx + 0x34], ecx
mov qword [rbx + 0x70], rax
mov rcx, qword [rbx + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140105bc0
or qword [rbx + 0x28], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbx + 0x28], r14
mov rcx, qword [rbx + 0xc0]
cmp rcx, rsi
je 0x140105c0e
test rsi, rsi
je 0x140105bec
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x140105c07
and qword [rbx + 0xc0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov qword [rbx + 0xc0], rsi
bt ebp, 0x11
jb 0x140105c2e
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [rbx + 0x68], 1
jmp 0x140105c2e
mov edi, 0x80070057
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140106450
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xa0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15d, r9d
mov rsi, rdx
mov rdi, rcx
call fcn.140107080
mov r14, rax
xor r13b, r13b
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp - 0x29]
call fcn.14010dde4
lea rax, [0x1402bada8]
mov qword [rbp - 0x29], rax
mov eax, 0x10000
mov r12d, eax
cmp r15d, eax
cmovb r12d, r15d
mov rax, qword [rbp + 0x77]
mov qword [rbp - 1], rax
and dword [rbp + 0xf], 0
mov eax, r15d
mov edx, 1
test r15d, r15d
cmove eax, edx
mov qword [rbp + 7], rax
lea rcx, [rsi + r15]
mov qword [rbp + 0x5f], rcx
lea rax, [r14 + 0x10000]
cmp rcx, rax
jbe 0x140106517
lea rcx, [rbp - 0x29]
call fcn.140104ce8
mov ebx, eax
test eax, eax
js 0x14010661b
mov rax, qword [rdi]
mov r8, qword [rbp + 0x7f]
mov rdx, qword [rbp + 0x5f]
mov rcx, rdi
mov rax, qword [rax + 0x30]
call qword [case.0x140118f85.0]
test eax, eax
setns r13b
and qword [rbp - 0x39], 0
jmp 0x1401065d2
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
mov r8d, r12d
mov rdx, qword [rbp + 0x67]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
cmp dword [rdi + 0x34], 0
je 0x140106577
test eax, eax
jne 0x140106593
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14010657b
mov r9d, 1
lea r8, [rbp + 0x6f]
lea rdx, [rbp - 0x51]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x140106593
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1401065fe
mov ecx, dword [rbp + 0x6f]
sub r15d, ecx
mov rax, qword [rbp + 0x77]
add dword [rax], ecx
add qword [rbp + 0x67], rcx
add rsi, rcx
mov rax, rsi
cmp r14, rsi
cmova rax, r14
mov r14, rax
cmp r12d, ecx
jne 0x1401065f9
xor ebx, ebx
test r15d, r15d
je 0x1401065f4
mov eax, 0x10000
mov r12d, eax
cmp r15d, eax
cmovb r12d, r15d
and qword [rbp - 0x39], rbx
mov rax, rsi
shr rax, 0x20
mov dword [rbp - 0x41], esi
mov dword [rbp - 0x3d], eax
lea rcx, [rbp - 0x29]
call fcn.140104ce8
test eax, eax
mov ebx, eax
jns 0x140106521
jmp 0x1401065fe
xor r13b, r13b
jmp 0x1401065fe
mov ebx, 0x80004005
test r13b, r13b
je 0x14010661b
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
mov rax, qword [rax + 0x30]
call qword [case.0x140118f85.0]
jmp 0x14010661f
mov qword [rdi + 0x70], r14
lea rax, [0x1402badd0]
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140106650
and qword [rbp - 0x21], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
nop word [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140107080
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x38], 0
mov rbx, rcx
je 0x1401070c8
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1401070ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x1401070c8
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x1401070c8
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x70]
add rsp, 0x20
pop rbx
ret

Function at 0x14010bc8c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rsp + 0x230], rax
or rbx, 0xffffffffffffffff
xor esi, esi
mov r8, rcx
mov word [rsp + 0x20], si
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140261adc
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], si
jne 0x14010bcda
lea rdi, [rsp + 0x20]
mov ebp, 0x5c
lea rdi, [rdi + rbx*2]
lea rax, [rdi - 2]
cmp bp, word [rax]
jne 0x14010bd00
mov rdi, rax
mov word [rax], si
lea rax, [rsp + 0x20]
mov rbx, rdi
cmp rdi, rax
jbe 0x14010bd3b
cmp bp, word [rbx]
jne 0x14010bd23
lea rcx, [rsp + 0x20]
mov word [rbx], si
call fcn.14010bc3c
test eax, eax
jne 0x14010bd33
sub rbx, 2
lea rax, [rsp + 0x20]
cmp rbx, rax
jbe 0x14010bd36
jmp 0x14010bd0d
mov word [rbx], bp
cmp rbx, rdi
ja 0x14010bd6c
cmp word [rbx], si
jne 0x14010bd62
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14010bd5f
lea rcx, [rsp + 0x20]
call fcn.14010bc3c
test eax, eax
je 0x14010bd68
mov word [rbx], bp
add rbx, 2
jmp 0x14010bd36
xor eax, eax
jmp 0x14010bd71
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402361b0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14010c090
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x240
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebp, ebp
mov rbx, r9
mov rsi, rcx
cmp dword [rsp + 0x270], ebp
jg 0x14010c0cc
xor eax, eax
jmp 0x14010c188
cmp rbx, rsi
je 0x14010c0d5
mov word [r9], bp
cmp dword [rsp + 0x270], 0x104
jl 0x14010c0f7
xor r8d, r8d
lea rdx, [0x1402e3908]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x14010c188
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140238d40
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x1402e3908]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
test eax, eax
je 0x14010c186
or r9, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov rcx, r9
inc rcx
cmp word [rax + rcx*2], bp
jne 0x14010c133
cmp ecx, dword [rsp + 0x270]
jl 0x14010c171
mov rax, qword [str.x___]
lea rcx, str.x___
mov edx, 0x3ca797
mov rax, qword [rax]
call qword [case.0x140118f85.0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14010c0c5
movsxd rdx, dword [rsp + 0x270]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140261adc
mov eax, esi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402361b0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
Function at 0x14010c264
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r14, r8
mov rdi, rcx
add rcx, 0x68
mov qword [rbp - 0x28], rcx
xor ebx, ebx
mov qword [rbp - 0x20], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [rbx + 1]
lock xadd dword [rbp - 0x20], eax
test eax, eax
jne 0x14010c2bc
cmp dword [rbp - 0x1c], ebx
jne 0x14010c3d3
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp - 0x1c], eax
movabs rcx, 0xcbf29ce484222325
movzx eax, byte [rbp + rbx + 0x28]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc rbx
cmp rbx, 4
jb 0x14010c2c6
mov r8, qword [rdi + 0x30]
and r8, rcx
add r8, r8
mov r9, qword [rdi + 0x18]
mov rax, qword [r9 + r8*8]
mov rdx, qword [rdi + 8]
mov r10d, dword [rbp + 0x28]
cmp qword [r9 + r8*8], rdx
jne 0x14010c30a
mov rcx, rdx
jmp 0x14010c312
mov rcx, qword [r9 + r8*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14010c327
cmp dword [rax + 0x10], r10d
je 0x14010c322
mov rax, qword [rax]
jmp 0x14010c2ff
mov rcx, rax
jmp 0x14010c32d
mov rax, rdx
mov rcx, rdx
cmp rcx, rdx
jne 0x14010c398
lea rax, [rbp + 0x28]
mov qword [rbp + 0x20], rax
mov rbx, qword [rdx]
mov rsi, qword [rbx + 8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, rbx
call fcn.1400df010
mov rdx, rax
mov rax, qword [rdi + 0x10]
movabs rcx, 0x492492492492491
sub rcx, rax
cmp rcx, 1
jb 0x14010c3c3
inc rax
mov qword [rdi + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rsi], rdx
mov r9, qword [rdi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.14010c70c
mov rax, qword [rbp - 0x18]
lea rcx, [rax + 0x18]
mov rdx, r14
call fcn.14000b3a4
nop
lea rcx, [rbp - 0x28]
call fcn.1400261e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402328c4
nop
jmp 0x14010c3d2
nop
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140025d34
int3