joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401df230
Capabilities:
Find taskbar

Disassembly:
push r15
sub rsp, 0xa0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rcx
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1401df481
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401df481
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401df481
lea r9, str.Notification_Area
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x90], rdi
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rdi, rax
test rax, rax
jne 0x1401df2e8
lea r8, str.ToolbarWindow32
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rdi, rax
test rax, rax
je 0x1401df479
lea rdx, [rsp + 0x34]
mov rcx, rdi
mov qword [rsp + 0xc0], rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x1401df471
xor edx, edx
mov r9d, 0x1000
mov rcx, rax
lea r8d, [rdx + 0x20]
mov qword [rsp + 0x80], r14
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1401df460
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1401df44b
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x88], r12
xor r12d, r12d
mov esi, eax
mov ebx, r12d
nop dword [rax]
mov r9, r14
mov r8, rbx
mov edx, 0x417
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
jne 0x1401df427
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x20
mov rdx, r14
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov r9d, 0x10
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x30]
mov rcx, qword [r15 + 8]
call fcn.1400fdce0
test rax, rax
je 0x1401df427
mov rcx, rax
call fcn.1401de6e0
inc rbx
dec rsi
jne 0x1401df390
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xb8]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0xa0
pop r15
ret
Function at 0x1401dfa00
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov rdi, r9
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
mov eax, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x40], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x38], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1401dfa4e
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rdi]
test eax, eax
je 0x1401dfa41
add dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x1401e02f0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
movabs rax, 0x5c003a003f
mov qword [rsp + 0x68], rax
cmp dword [rcx + 0xc], 0
jg 0x1401e03a2
lea rcx, [rsp + 0x40]
call fcn.1401e6d00
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401e9030
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rsp + 0x48]
call fcn.14029b4d8
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401ea290
nop
lea rdx, [0x1403e2d68]
lea rcx, [rsp + 0x40]
call fcn.14029f768
int3
mov rax, qword [rcx]
movzx ecx, word [rax]
mov word [rsp + 0x68], cx
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1401e0493
lea rbp, vtable.HitmanPro35::FileSystemBase.0
cmp dword [rbx + 0x14], 1
jne 0x1401e040e
mov ecx, 0x10
call fcn.14029806c
test rax, rax
je 0x1401e0474
mov qword [rax], rbp
jmp 0x1401e046e
xor ecx, ecx
lea rdx, [rsp + 0x70]
lea r8, [0x140330520]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1401e047b
cmp rcx, 5
jne 0x1401e0420
movzx edi, word [rsp + 0x68]
xor r8d, r8d
movzx ecx, di
call fcn.140175400
mov rsi, rax
test rax, rax
je 0x1401e047b
mov ecx, 0x20
call fcn.14029806c
test rax, rax
je 0x1401e0474
lea rcx, vtable.HitmanPro35::FileSystemNtfs.0
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], di
mov qword [rax + 8], rbx
jmp 0x1401e0476
xor eax, eax
test rax, rax
jne 0x1401e0495
mov ecx, 0x10
call fcn.14029806c
test rax, rax
je 0x1401e0493
mov qword [rax], rbp
mov qword [rax + 8], rbx
jmp 0x1401e0495
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401e1800
Capabilities:
Get disk size

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rbx, rcx
mov rax, qword [rcx + 0x10]
mov r8d, dword [rax + 0x654]
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x48]
call fcn.1401e94c0
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 3]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401e1874
or rbx, rax
jmp 0x1401e18de
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1401e18b7
or rbx, 0xffffffffffffffff
jmp 0x1401e18d4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
movsxd rcx, eax
mov rax, qword [rsp + 0x78]
cqo
idiv rcx
lea rbx, [rax - 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401e18ef
mov rcx, qword [rsp + 0x48]
call fcn.140298600
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1401e1b00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rbx, rcx
xor r14b, r14b
mov eax, dword [0x1403fe608]
lea r15, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401e1b56
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], r15
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
xor esi, esi
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e1cdc
lea ecx, [rsi + 0x10]
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401e1ba4
mov rax, qword [rbp + 0x50]
mov qword [rdi], r15
mov qword [rdi + 8], rax
jmp 0x1401e1ba7
mov rdi, rsi
test rdi, rdi
je 0x1401e1cdc
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.EnableDHCP
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15d, 1
test ebx, ebx
jne 0x1401e1cd0
lea rax, [0x140323de0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
cmp dword [rbp + 0x38], ebx
je 0x1401e1c54
mov rsi, qword [0x1403ec168]
test rsi, rsi
je 0x1401e1c8e
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401e1c20
test ebx, ebx
jle 0x1401e1c8e
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x20]
call fcn.14029b4d8
mov edx, ebx
jmp 0x1401e1c85
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1401e9030
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r9d, 0x1d
lea r8, str.208.67.222.222_208.67.220.220
mov rcx, qword [rbp - 0x20]
call fcn.14029b4d8
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1401ea290
mov eax, dword [rbp - 0x14]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.NameServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmove r14d, r15d
cmp dword [rbp - 0x18], 0
jle 0x1401e1cd0
mov rcx, qword [rbp - 0x20]
call fcn.140298600
mov r8, qword [rdi]
mov edx, r15d
mov rcx, rdi
call qword [r8]
movzx eax, r14b
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401e22e0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
xor sil, sil
add rcx, 8
xor r8d, r8d
mov dl, 1
call fcn.1400ecf50
mov rdi, rax
test rax, rax
je 0x1401e23fc
xor ebp, ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401e23ee
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 4]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401e23ee
lea rax, [0x140323de0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0x38]
lea rdx, str.ProxyServer
mov rcx, rdi
call fcn.1400d5720
test al, al
je 0x1401e23da
lea rdx, str.ProxyServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov sil, 1
cmp dword [rsp + 0x40], 0
jle 0x1401e23ee
mov rcx, qword [rsp + 0x38]
call fcn.140298600
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
movzx eax, sil
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401e6040
Capabilities:
Get graphical window text

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rsi, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
cmp qword [rcx + 8], rbp
je 0x1401e6127
lea r15, [0x140323de0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1401e60d4
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov rdi, qword [rsp + 0x30]
mov ebx, dword [rsp + 0x38]
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov rcx, rax
lea r8d, [rbx + 1]
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov qword [rsi + 8], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401e60e5
mov qword [rsi], r15
jmp 0x1401e610b
mov rcx, rsi
call fcn.1401e9030
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rsi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.14029b4d8
mov edx, dword [rsp + 0x3c]
mov rcx, rsi
call fcn.1401ea290
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e6133
mov rcx, qword [rsp + 0x30]
call fcn.140298600
jmp 0x1401e6133
lea rdx, [rcx + 0x40]
mov rcx, rsi
call fcn.1401e6f70
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1401f0050
Capabilities:
Receive http response

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
xor r9d, r9d
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401f009d
mov rcx, qword [rbx + 0xb0]
mov edx, dword [rbx + 0x78]
mov rax, qword [rcx + 0x18]
add rcx, 0x18
call qword [rax + 8]
test al, al
je 0x1401f0096
mov rax, qword [rbx + 0xb0]
mov eax, dword [rax + 0x58]
jmp 0x1401f00a3
mov eax, 0x2ee2
jmp 0x1401f00a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401f00be
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rcx + 0x5c]
mov dword [rcx + 0x5c], 0
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.1400edbb0
lea rdx, [0x1403e28f8]
lea rcx, [rsp + 0x20]
call fcn.14029f768
int3
Function at 0x1401f3c90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rcx
xor edx, edx
lea rax, vtable.Core::Windows::Forms::EventHandlerList.0
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], rdx
mov qword [rcx + 0x30], rdx
mov qword [rbx + 0x48], rdx
lea rcx, [0x140323de0]
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x50], rdx
mov qword [rbx + 0x58], rdx
mov qword [rbx + 0x60], rdx
mov qword [rbx + 0x68], rdx
mov qword [rbx + 0x70], rdx
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x88], rdx
mov qword [rbx + 0x90], rdx
mov dword [rbx + 0x98], edx
lea rax, vtable.Core::Dictionary_int__class_Delegate_class_Core::Windows::Forms::Control____ptr64__class_Core::EventArgs____ptr64_____ptr64_.0
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x38], 0xffffffff
mov byte [rbx + 0x3f], 1
mov word [rbx + 0x3c], 0x101
lea rax, vtable.Core::Windows::Forms::RichTextBox.0
mov qword [rbx], rax
mov qword [rbx + 0xb8], rcx
mov qword [rbx + 0xc0], rdx
xor ecx, ecx
mov qword [rbx + 0xa8], 2
mov dword [rbx + 0xb0], 0xffffffff
mov word [rbx + 0xb4], 0x100
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0xff
mov rdi, rax
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x14033071c]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.14029cccc
lea r8, str.Riched20.dll
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.14029cccc
xor edx, edx
lea rcx, [rsp + 0xd0]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x1401f3e7f
lea r8, [rsp + 0x30]
lea rdx, str.RichEdit20W
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x1401f3e7f
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x208], rsi
lea rsi, str.CoreForms20.RichTextBox
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, rdi
mov qword [rbx + 0xa0], rax
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x1401f3e53
lea rax, [0x1401e68c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rsi, qword [rsp + 0x208]
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
ret
mov rax, rbx
jmp 0x1401f3e5e
Function at 0x1401f44e0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2f0], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov ebx, edx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1401f4678
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 1]
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1401f4678
mov r9d, ebx
lea r8, str.Illegal_enum_value:__d.
lea edx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400ca6e0
lea ecx, [rbp + 0x28]
call fcn.14029806c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401f465e
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f45a0
mov qword [rsp + 0x38], rbp
lea rsi, [0x140323de0]
test ebx, ebx
jne 0x1401f45c1
mov qword [rsp + 0x30], rsi
jmp 0x1401f45e8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov dword [rsp + 0x40], 2
lea rax, vtable.Core::Exception.0
mov qword [rdi], rax
mov qword [rdi + 0x10], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401f4619
mov qword [rdi + 8], rsi
jmp 0x1401f463d
lea rcx, [rdi + 8]
call fcn.1401e9030
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rdi + 0x10]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdi + 8]
call fcn.14029b4d8
mov edx, dword [rsp + 0x3c]
lea rcx, [rdi + 8]
call fcn.1401ea290
lea rax, vtable.Core::ArgumentException.0
mov qword [rdi], rax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rbp
jmp 0x1401f4661
mov rdi, rbp
mov qword [rsp + 0x48], rdi
lea rdx, [0x1403e2f30]
lea rcx, [rsp + 0x48]
call fcn.14029f768
nop
lea rax, [rsp + 0xa0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], bp
jne 0x1401f4684
mov qword [rdi + 8], rbp
test ebx, ebx
jne 0x1401f46a1
lea rsi, [0x140323de0]
mov qword [rdi], rsi
jmp 0x1401f46c6
mov edx, ebx
mov rcx, rdi
call fcn.1401e9030
movsxd r9, ebx
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
lea r8, [rsp + 0xa0]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, ebx
mov rcx, rdi
call fcn.1401ea290
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401f4700
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea rax, [0x140323de0]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov dword [rsp + 0x20], 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
mov edx, eax
mov rcx, rdi
call fcn.1401e9030
mov rdx, qword [rdi]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rcx, rdi
call fcn.1401ea290
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401f47c0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
mov rbx, rcx
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1401f6960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14d, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
lea rax, vtable.Core::FileStream.0
mov qword [rcx], rax
mov ebp, 0x80
cmp r9d, 2
jne 0x1401f69c3
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
cmovne ebp, eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, dword [rsp + 0x1d0]
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1401f6a52
mov word [rbx + 8], 0
mov byte [rbx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rdx, [0x1403e2ad8]
lea rcx, [rsp + 0x40]
call fcn.14029f768
int3
test esi, 0x80000000
setne al
mov byte [rbx + 8], al
mov edx, esi
shr edx, 0x1e
and dl, 1
mov byte [rbx + 9], dl
test esi, esi
setne dl
mov byte [rbx + 0xa], dl
cmp dword [rdi + 8], 0
jle 0x1401f6a7f
mov rcx, qword [rdi]
call fcn.140298600
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1401f6b90
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1401f6ba5
or eax, ecx
add rsp, 0x28
ret
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [rsp + 0x30]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1401f6c10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x1401f6c42
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x1401f6c2f
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401f6c2f
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret