joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ea60
Capabilities:
Get graphical window text

Disassembly:
push rdi
mov eax, 0x1050
call fcn.1401686c0
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1070], rbx
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x40]
lea edx, [rbx + 0xd]
mov r8d, 0x7ff
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x40], bx
je 0x14004eaea
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14004eae0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140006f10
nop
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1050
pop rdi
ret

Function at 0x14004f990
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x14004f9c5
mov rax, qword [rcx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x120], rax
test rax, rax
je 0x14004fa5f
mov qword [rbx + 0x10], rdi
test rdi, rdi
je 0x14004fa0a
nop dword [rax]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
jne 0x14004f9f0
lea rcx, [rbx + 0x18]
mov edx, 0x80
mov r8, rsi
test rsi, rsi
jne 0x14004fa22
lea r8, str.Operation_progress...
call fcn.14018fc10
xor eax, eax
lea r8, [0x140057180]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x120]
mov qword [rbx + 0x118], rax
test rax, rax
jne 0x14004fa71
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14004faad
mov rcx, qword [rbx + 0x118]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140059bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx], 0
je 0x1400119d9
cmp rdx, 1
jne 0x1400119c7
add rcx, 0x90
jmp 0x140059c10
cmp rdx, 2
jne 0x1400119d9
add rcx, 0x90
jmp 0x140059bc0
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140059c05
xor r9d, r9d
xor r8d, r8d
mov edx, 0x89a
call fcn.14000f5d0
xor edx, edx
cmp rax, 1
jne 0x140059c05
mov rax, qword [rbx + 0x78]
mov rcx, rbx
inc rax
div qword [rbx + 0x70]
mov qword [rbx + 0x78], rdx
add rsp, 0x20
pop rbx
jmp fcn.1400594e0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140059c58
xor r9d, r9d
xor r8d, r8d
mov edx, 0x89a
call fcn.14000f5d0
cmp rax, 1
jne 0x140059c58
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x140059c44
mov rax, qword [rbx + 0x70]
dec rax
mov rcx, rbx
mov qword [rbx + 0x78], rax
add rsp, 0x20
pop rbx
jmp fcn.1400594e0
add rsp, 0x20
pop rbx
ret

Function at 0x140059c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx], 0
je 0x1400119d9
cmp rdx, 1
jne 0x1400119c7
add rcx, 0x90
jmp 0x140059c10
cmp rdx, 2
jne 0x1400119d9
add rcx, 0x90
jmp 0x140059bc0
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140059c05
xor r9d, r9d
xor r8d, r8d
mov edx, 0x89a
call fcn.14000f5d0
xor edx, edx
cmp rax, 1
jne 0x140059c05
mov rax, qword [rbx + 0x78]
mov rcx, rbx
inc rax
div qword [rbx + 0x70]
mov qword [rbx + 0x78], rdx
add rsp, 0x20
pop rbx
jmp fcn.1400594e0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140059c58
xor r9d, r9d
xor r8d, r8d
mov edx, 0x89a
call fcn.14000f5d0
cmp rax, 1
jne 0x140059c58
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x140059c44
mov rax, qword [rbx + 0x70]
dec rax
mov rcx, rbx
mov qword [rbx + 0x78], rax
add rsp, 0x20
pop rbx
jmp fcn.1400594e0
add rsp, 0x20
pop rbx
ret
Function at 0x14005cd80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov rax, qword [rdx + 8]
cmp qword [rcx + 8], rax
jne 0x14005a2f8
mov rcx, qword [rcx]
lea r9, [rsp + 0x40]
mov r8, qword [rdx]
xor eax, eax
mov rdx, rcx
mov byte [rsp + 0x20], al
mov rcx, qword [rcx]
mov r8, qword [r8]
call fcn.14005aa40
test al, al
je 0x14005a2f8
mov al, 1
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rbx, qword [rcx]
mov rax, rsi
mov rdi, qword [rdx]
sub rax, rbx
mov rcx, qword [rdx + 8]
sub rcx, rdi
xor rcx, rax
test rcx, 0xfffffffffffffff0
jne 0x14005a36e
cmp rbx, rsi
je 0x14005a35c
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.14005cd80
test al, al
je 0x14005a36e
add rbx, 0x10
add rdi, 0x10
cmp rbx, rsi
jne 0x14005a340
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
movzx r8d, byte [rcx]
movzx eax, byte [rdx]
cmp r8b, al
jne 0x14005ce1d
movzx eax, r8b
cmp eax, 7
ja case.default.0x14005cdb3
lea r9, [0x140000000]
mov r8d, dword [r9 + rax*4 + 0x5ced8]
add r8, r9
jmp r8
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp 0x14005a300
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp 0x14005a2c0
mov al, 1
add rsp, 0x28
ret
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call fcn.140033290
test eax, eax
sete al
add rsp, 0x28
ret
movzx eax, byte [rdx + 8]
cmp byte [rcx + 8], al
sete al
add rsp, 0x28
ret
movsd xmm0, qword [rcx + 8]
ucomisd xmm0, qword [rdx + 8]
jp 0x14005ce32
jne 0x14005ce32
mov eax, 1
add rsp, 0x28
ret
cmp r8b, 5
jne 0x14005ce51
cmp al, 7
jne 0x14005ce39
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rcx + 8]
jmp 0x14005ce0a
xor eax, eax
add rsp, 0x28
ret
cmp al, 6
jne case.default.0x14005cdb3
mov rax, qword [rdx + 8]
cmp qword [rcx + 8], rax
sete al
add rsp, 0x28
ret
cmp r8b, 7
jne 0x14005ce9a
cmp al, 5
jne 0x14005ce6f
movsd xmm0, qword [rcx + 8]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rdx + 8]
ucomisd xmm0, xmm1
jmp 0x14005ce0f
cmp al, 6
jne case.default.0x14005cdb3
mov rax, qword [rdx + 8]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x14005ce8c
addsd xmm1, qword [0x1401e7140]
movsd xmm0, qword [rcx + 8]
ucomisd xmm0, xmm1
jmp 0x14005ce0f
cmp r8b, 6
jne case.default.0x14005cdb3
cmp al, 7
jne 0x14005cec6
mov rax, qword [rcx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14005ce0a
addsd xmm0, qword [0x1401e7140]
jmp 0x14005ce0a
cmp al, 5
je case.0x14005cdb3.5
xor al, al
add rsp, 0x28
ret
Function at 0x1400628c0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov dword [rsp + 0x48], 0x30
mov dword [rsp + 0x4c], 4
lea r9, [rsp + 0x48]
mov edx, 0x43f
mov r8d, 0xd4d
mov rcx, qword [rcx + 0x90]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rsp + 0x58]
and al, 1
je 0x140062968
mov rcx, qword [rbx + 0xa0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110a
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8b, 1
mov rdx, rax
mov rcx, qword [rbx + 0xa0]
call fcn.140122f10
jmp 0x140062b41
lea r9, [rbp - 0x80]
mov edx, InitCommonControls
mov r8d, 0x104
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
cmp word [rbp - 0x80], 0
jne 0x140062998
call fcn.140060620
jmp 0x140062b41
call fcn.140060620
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110a
mov rcx, qword [rbx + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140062b41
lea r14, [rbx + 0x118]
mov rcx, r14
call fcn.1401223c0
mov rax, qword [rbx + 0x208]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov r15, qword [rax + 0xd0]
mov ecx, 0x20
call fcn.140167f20
mov rsi, rax
mov qword [rsp + 0x38], rax
xor edi, edi
test rax, rax
je 0x140062a1f
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
mov word [rax], di
lea r8d, [rdi + 2]
lea rdx, [0x1401e6e80]
mov rcx, rax
call fcn.140006f10
jmp 0x140062a22
mov rsi, rdi
mov qword [rsp + 0x38], rsi
lea rcx, [rbx + 0x1f0]
lea rdx, [rsp + 0x38]
call fcn.140060410
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call fcn.1401216b0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp word [rbp - 0x80], 0
jne 0x140062a7c
mov r8, rdi
jmp 0x140062a8f
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140062a84
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140006f10
nop
mov r9d, 2
lea r8, [rsp + 0x48]
mov rdx, r14
lea rcx, [rbx + 0xa8]
call fcn.140122aa0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140062ad6
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140007680
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
mov rax, qword [r14]
mov dl, 1
mov rcx, r14
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110a
mov rcx, qword [rbx + 0x130]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rbx + 0x130]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0xa8]
xor edx, edx
lea rcx, [rbx + 0xa8]
call qword [rax + 0x18]
mov qword [rbx + 0xa0], r14
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140168660
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140066e50
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rdx
mov rdi, rcx
mov qword [rcx], r8
cmp qword [rdx + 0x18], 8
jb 0x140066e79
mov rcx, qword [rdx]
jmp 0x140066e7c
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140066ec0
mov ecx, 0xa0
call fcn.140167f20
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140066ea6
mov rdx, rbx
mov rcx, rax
call fcn.140063670
nop
mov qword [rdi + 0x38], rax
mov rcx, rax
call fcn.140115c30
test al, al
je 0x140066ec2
mov rcx, rdi
call fcn.1400652f0
jmp 0x140066ec2
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140068680
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov dword [rsp + 0x30], 3
mov rbx, rcx
mov dword [rsp + 0x28], edx
mov rcx, qword [rcx + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdx
xor r9d, r9d
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, qword [rcx + 0x18]
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SetCapture]
call fcn.14000cdd0
mov r8, qword [rbx]
lea rdx, [0x140069190]
xor r9d, r9d
mov edi, dword [rax + 0x332b4]
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1402a36c0], rax
test rax, rax
jne 0x140068747
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetLastError___returned__lu
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, InitCommonControls
lea r8, str.SetWindowsHookEx_MOUSE__failed_on_Gripper::create__
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x1400687a8
cmp edi, 0xa
jge 0x1400687a8
mov r8, qword [rbx]
lea rdx, [0x140069140]
xor r9d, r9d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1402a36c8], rax
test rax, rax
jne 0x1400687a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetLastError___returned__lu
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, InitCommonControls
lea r8, str.SetWindowsHookEx_KEYBOARD__failed_on_Gripper::create__
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, rbx
call fcn.140069230
mov rcx, qword [rbx + 0x68]
lea rdx, [rsp + 0x48]
cmp byte [rcx + 0x34], 1
jne 0x1400687d6
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x1400687ef
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rbx + 0x68]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x48]
mov dword [rbx + 0x70], eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x4c]
mov dword [rbx + 0x74], eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
Function at 0x14007f280
Capabilities:
Check if file exists
Encrypt data using speck
Get graphical window text
Hash data with md5
Open clipboard
Persist via app paths registry key
Query or enumerate registry value
Read clipboard data
Set registry value
Write clipboard data

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov r14d, edx
mov rbx, rcx
cmp edx, 2
jne 0x14007f2e3
mov rax, qword [rcx + 0x600]
cmp qword [rax + 0x20], 1
jne 0x14007f2e3
mov rcx, qword [rcx + 0x890]
lea rax, [rbx + 0x6b0]
cmp rcx, rax
jne 0x14007f2bb
mov eax, 0x610
jmp 0x14007f2d0
lea rax, [rbx + 0x610]
cmp rcx, rax
jne 0x14007f448
mov eax, 0x6b0
lea rcx, [rax + rbx]
mov rax, qword [rax + rbx]
call qword [rax + 0x58]
test al, al
je 0x14007f448
mov rax, qword [rbx + 0x890]
mov rcx, qword [rbx + 0x608]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x48], rsi
mov rsi, qword [rax + 0x38]
mov qword [rsp + 0x50], rdi
mov rdx, rsi
mov qword [rsp + 0x20], r15
mov edi, ebp
mov r15d, dword [rbx + 0x982fc]
test r15d, r15d
sete dil
call fcn.140041760
cmp eax, 0xffffffff
je 0x14007f33a
cmp dword [rbx + 0x982fc], ebp
sete bpl
mov r8d, ebp
jmp 0x14007f3ba
mov rcx, qword [rbx + 0x890]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
je 0x14007f368
mov rcx, qword [rbx + 0x898]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
je 0x14007f368
mov rcx, qword [rbx + 0x898]
call fcn.1400fea50
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140088dc0
call fcn.1400417e0
mov rcx, qword [rbx + 0x890]
call fcn.1400fea50
mov rdx, qword [rbx + 0x890]
mov rcx, rsi
call fcn.14001f610
mov r8, qword [rbx + 0x898]
mov rdx, rax
mov rcx, rsi
call fcn.1400214c0
mov rcx, qword [rbx + 0x898]
call fcn.1400fe8e0
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.14007a000
neg r15d
mov r15, qword [rsp + 0x20]
sbb ecx, ecx
add ecx, 2
test byte [rbx + 0x982f8], cl
jne 0x14007f3e4
mov edx, edi
mov rcx, rbx
call fcn.14008f490
xor bpl, bpl
cmp r14d, 2
jne 0x14007f416
call fcn.1400417e0
mov rdx, qword [rbx + 0x890]
xor r9d, r9d
mov r8d, dword [rbx + 0x982fc]
mov rcx, rbx
movzx ebp, byte [rsi + 0x110]
mov rdx, qword [rdx + 0x38]
call fcn.1400af1c0
mov edx, edi
mov rcx, rbx
call fcn.14008f780
mov rdi, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
je 0x14007f448
mov edx, 0xac41
mov rcx, rbx
add rsp, 0x28
pop r14
pop rbx
jmp fcn.1400a4840
add rsp, 0x28
pop r14
pop rbx
ret
Function at 0x140080640
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, r8
mov r15, rdx
xor bpl, bpl
xor r14b, r14b
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140187ea0
xor r13d, r13d
mov ebx, r13d
mov ecx, dword [0x1402a5b68]
mov rax, qword gs:[0x58]
mov esi, 4
add rsi, qword [rax + rcx*8]
mov eax, dword [rsi]
cmp dword [0x1402a3470], eax
jle 0x140080575
lea rcx, [0x1402a3470]
call fcn.1401683f4
cmp dword [0x1402a3470], 0xffffffff
jne 0x140080575
xorps xmm0, xmm0
movdqa xmmword [0x1402a3430], xmm0
mov qword [0x1402a3448], r13
xorps xmm1, xmm1
movdqa xmmword [0x1402a3450], xmm1
mov qword [0x1402a3460], r13
mov qword [0x1402a3468], r13
lea rcx, [0x1401ce3d0]
call fcn.140168204
nop
lea rcx, [0x1402a3470]
call fcn.140168394
cmp rbx, qword [0x1402a3468]
jae 0x140080602
call fcn.1400417e0
mov rcx, rax
mov rdx, rbx
call fcn.14001efb0
mov rdi, rax
cmp byte [rax + 0x48], 0
je 0x1400805fa
mov r14b, 1
lea rax, [0x1401d3618]
cmp dword [rdi + 0x4c], 0
lea rcx, str._utf8
cmovne rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, r12
mov r8, r15
lea rdx, str._s_s_03d_s.dump
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdi, qword [rdi + 0x10]
call fcn.1400417e0
mov rcx, rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rdx, rdi
call fcn.140020a10
or bpl, al
inc rbx
jmp 0x140080512
test bpl, bpl
jne 0x140080610
test r14b, r14b
movzx eax, r13b
jne 0x140080612
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
jb 0x14008065c
mov rcx, qword [rdx]
jmp 0x14008065f
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp qword [rbx + 0x18], 8
jb 0x140080671
mov rbx, qword [rbx]
lea r8, [0x1402034a0]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400804a0
Function at 0x140082df0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x4b0
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r14, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rdi, rax
cmp word [rax], 0x2e
jne 0x1400830d6
mov qword [rsp + 0x4e8], rsi
call fcn.14000cdd0
lea rdx, [rdi + 2]
mov rcx, rax
call fcn.1400ce920
mov esi, eax
lea ecx, [rax - 8]
cmp ecx, 1
ja 0x140082e64
lea rdx, [0x1401d4adc]
mov rcx, rbx
call fcn.14018f348
mov rbx, rax
test rax, rax
jne 0x140082e6c
or eax, 0xffffffff
jmp 0x140082fdd
mov r9, rbx
mov qword [rsp + 0x4e0], rbp
mov edx, 1
lea rcx, [rsp + 0xa0]
mov r8d, 0x400
call fcn.14018f5e0
mov rcx, rbx
mov rbp, rax
call fcn.14018f120
lea rdi, [r14 + 0x750]
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov edx, 0x7d4
call fcn.14000f5d0
lea r9, [rsp + 0xa0]
mov r8, rbp
mov edx, 0x8ea
mov rcx, rdi
call fcn.14000f5d0
xor r9d, r9d
mov edx, 0x896
mov r8d, 0x600000
mov rcx, rdi
call fcn.14000f5d0
lea r9, [rbp - 1]
xor r8d, r8d
mov edx, 0xa7e
mov rcx, rdi
call fcn.14000f5d0
mov edx, 0x895
mov rcx, rdi
cmp esi, 9
jne 0x140083001
lea r9, str.__xml___t_version___t____t_________t_encoding___t____t_________t_.__
lea r8d, [rsi + 0x49]
call fcn.14000f5d0
add rax, 2
cmp rax, 1
jbe 0x1400830ce
lea r9, str.encoding___t____t____.__
mov edx, 0x895
lea r8d, [rsi + 0x14]
mov rcx, rdi
call fcn.14000f5d0
lea r9, str._._
mov edx, 0x895
lea r8d, [rsi - 5]
mov rcx, rdi
call fcn.14000f5d0
lea r9, str._a_zA_Z0_9___
mov edx, 0x895
lea r8d, [rsi + 5]
mov rcx, rdi
call fcn.14000f5d0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88f
mov rcx, rdi
call fcn.14000f5d0
xor r9d, r9d
movsxd rbx, eax
xor r8d, r8d
mov edx, 0x891
mov rcx, rdi
call fcn.14000f5d0
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x80
jae 0x1400830ce
mov r8, rbx
mov r9, rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400fc770
lea rdx, [rsp + 0x20]
lea rcx, [0x1402a32e0]
call fcn.140042be0
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
mov rbp, qword [rsp + 0x4e0]
mov rsi, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140168660
add rsp, 0x4b0
pop r14
pop rdi
pop rbx
ret
lea r9, str._meta___t_http_equiv___t____t__Content_Type___t__content___t_____text_html____t_charset___t____t_.______
mov r8d, 0x7b
call fcn.14000f5d0
add eax, 2
cmp eax, 1
ja 0x140083041
lea r9, str._meta___t_content___t_____text_html____t_charset___t____t_.___t__http_equiv___t____t__Content_Type___t____
mov edx, 0x895
mov r8d, 0x7c
mov rcx, rdi
call fcn.14000f5d0
add eax, 2
cmp eax, 1
jbe 0x1400830ce
lea r9, str.charset___t____t____
mov edx, 0x895
mov r8d, 0x1a
mov rcx, rdi
call fcn.14000f5d0
lea r9, [0x140202580]
mov edx, 0x895
mov r8d, 9
mov rcx, rdi
call fcn.14000f5d0
lea r9, str.___t_
mov edx, 0x895
mov r8d, 8
mov rcx, rdi
call fcn.14000f5d0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88f
mov rcx, rdi
call fcn.14000f5d0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x891
mov rcx, rdi
mov rbx, rax
call fcn.14000f5d0
movsxd r8, ebx
mov rcx, rax
sub rcx, r8
cmp rcx, 0x80
jb 0x140082fac
or eax, 0xffffffff
jmp 0x140082fd5
or eax, 0xffffffff
jmp 0x140082fe5