joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f38f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1402cb740
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x10c8], rbx
mov qword [rsp + 0x10d0], rsi
mov qword [rsp + 0x10d8], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, rcx
lea r8, [rsp + 0x68]
lea rdx, str.SOFTWAREClassesInstallerProducts
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f3b25
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rsp + 0x60], r14d
jbe 0x1401f3b1a
lea r15, [0x140348ca0]
nop dword [rax]
mov r9d, 0x800
lea r8, [rbp + 0x790]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc edi
test eax, eax
jne 0x1401f3b09
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x790]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f3b10
mov dword [rsp + 0x64], 0x800
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403501b0]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x64], 0x800
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductIcon
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401f3afd
lea edx, [rax + 0x5c]
lea rcx, [rbp - 0x70]
call fcn.1402bcbec
test rax, rax
je 0x1401f3afd
mov word [rax + 2], r14w
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f3a90
mov qword [rsp + 0x78], r14
test ebx, ebx
jne 0x1401f3aaa
mov qword [rsp + 0x70], r15
jmp 0x1401f3ad0
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f5e30
nop
cmp dword [rsp + 0x78], 0
jle 0x1401f3afd
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401f3b10
cmp eax, 0x103
je 0x1401f3b1a
cmp edi, dword [rsp + 0x60]
jb 0x1401f39c0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x10a0]
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 0x1401f5350
Capabilities:
Find taskbar

Disassembly:
push r15
sub rsp, 0xa0
mov rax, qword [0x140418a10]
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 0x1401f55a1
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f55a1
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f55a1
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 0x1401f5408
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 0x1401f5599
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 0x1401f5591
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 0x1401f5580
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1401f556b
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 0x1401f5547
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.1400fd450
test rax, rax
je 0x1401f5547
mov rcx, rax
call fcn.1401f4800
inc rbx
dec rsi
jne 0x1401f54b0
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.1402b9610
add rsp, 0xa0
pop r15
ret
Function at 0x1401f5b20
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 0x1401f5b6e
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rdi]
test eax, eax
je 0x1401f5b61
add dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x1401f6410
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 [0x140418a10]
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 0x1401f64c2
lea rcx, [rsp + 0x40]
call fcn.1401fcf30
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.140200570
nop
lea rdx, [0x140410838]
lea rcx, [rsp + 0x40]
call fcn.1402c1558
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 0x1401f65bf
lea rbp, vtable.HitmanPro35::FileSystemBase.0
cmp dword [rbx + 0x14], 1
je 0x1401f658c
xor ecx, ecx
lea rdx, [rsp + 0x70]
lea r8, [0x1403562b0]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1401f65a7
cmp rcx, 5
jne 0x1401f6530
movzx edi, word [rsp + 0x68]
xor r8d, r8d
movzx ecx, di
call fcn.140186220
mov rsi, rax
test rax, rax
je 0x1401f6584
mov ecx, 0x20
call fcn.1402b968c
test rax, rax
je 0x1401f6584
mov qword [rax + 8], rbx
lea rcx, vtable.HitmanPro35::FileSystemNtfs.0
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], di
jmp 0x1401f6586
xor eax, eax
cmp dword [rbx + 0x14], 1
jne 0x1401f65a2
mov ecx, 0x10
call fcn.1402b968c
test rax, rax
je 0x1401f65a2
mov qword [rax + 8], rbx
mov qword [rax], rbp
test rax, rax
jne 0x1401f65c1
mov ecx, 0x10
call fcn.1402b968c
test rax, rax
je 0x1401f65bf
mov qword [rax], rbp
mov qword [rax + 8], rbx
jmp 0x1401f65c1
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402b9610
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 0x1401f7a90
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.1401ff700
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 0x1401f7b04
or rbx, rax
jmp 0x1401f7b6e
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 0x1401f7b47
or rbx, 0xffffffffffffffff
jmp 0x1401f7b64
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 0x1401f7b7f
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1401f7d90
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 [0x14042c9e0]
lea r15, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401f7de6
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], r15
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
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 [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401f7f6c
lea ecx, [rsi + 0x10]
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x1401f7e34
mov rax, qword [rbp + 0x50]
mov qword [rdi], r15
mov qword [rdi + 8], rax
jmp 0x1401f7e37
mov rdi, rsi
test rdi, rdi
je 0x1401f7f6c
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 0x1401f7f60
lea rax, [0x140348ca0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
cmp dword [rbp + 0x38], ebx
je 0x1401f7ee4
mov rsi, qword [0x14041a158]
test rsi, rsi
je 0x1401f7f1e
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401f7eb0
test ebx, ebx
jle 0x1401f7f1e
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x20]
call fcn.1402bd21c
mov edx, ebx
jmp 0x1401f7f15
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.140200570
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 0x1401f7f60
mov rcx, qword [rbp - 0x20]
call fcn.1402b9c20
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 0x1401f8570
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.1400ec370
mov rdi, rax
test rax, rax
je 0x1401f868c
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 0x1401f867e
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 0x1401f867e
lea rax, [0x140348ca0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0x38]
lea rdx, str.ProxyServer
mov rcx, rdi
call fcn.1400d8b50
test al, al
je 0x1401f866a
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 0x1401f867e
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
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 0x1401fc270
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 0x1401fc357
lea r15, [0x140348ca0]
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 0x1401fc304
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.140200570
mov qword [rsi + 8], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401fc315
mov qword [rsi], r15
jmp 0x1401fc33b
mov rcx, rsi
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x3c]
mov rcx, rsi
call fcn.140200570
nop
cmp dword [rsp + 0x38], 0
jle 0x1401fc363
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x1401fc363
lea rdx, [rcx + 0x40]
mov rcx, rsi
call fcn.1401fd1a0
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 0x140206330
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 0x14020637d
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 0x140206376
mov rax, qword [rbx + 0xb0]
mov eax, dword [rax + 0x58]
jmp 0x140206383
mov eax, 0x2ee2
jmp 0x140206383
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14020639e
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.1400ecfd0
lea rdx, [0x140410358]
lea rcx, [rsp + 0x20]
call fcn.1402c1558
int3
Function at 0x14020a0b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x140418a10]
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, [0x140348ca0]
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, [0x1403564ac]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402bbff0
lea r8, str.Riched20.dll
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402bbff0
xor edx, edx
lea rcx, [rsp + 0xd0]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14020a29f
lea r8, [rsp + 0x30]
lea rdx, str.RichEdit20W
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x14020a29f
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 0x14020a273
lea rax, [0x1401fcaf0]
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.1402b9610
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
ret
mov rax, rbx
jmp 0x14020a27e
Function at 0x14020a8a0
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 [0x140418a10]
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 0x14020aa38
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 0x14020aa38
mov r9d, ebx
lea r8, str.Illegal_enum_value:__d.
lea edx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400cac50
lea ecx, [rbp + 0x28]
call fcn.1402b968c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14020aa1e
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14020a960
mov qword [rsp + 0x38], rbp
lea rsi, [0x140348ca0]
test ebx, ebx
jne 0x14020a981
mov qword [rsp + 0x30], rsi
jmp 0x14020a9a8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
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 0x14020a9d9
mov qword [rdi + 8], rsi
jmp 0x14020a9fd
lea rcx, [rdi + 8]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x3c]
lea rcx, [rdi + 8]
call fcn.140200570
lea rax, vtable.Core::ArgumentException.0
mov qword [rdi], rax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rbp
jmp 0x14020aa21
mov rdi, rbp
mov qword [rsp + 0x48], rdi
lea rdx, [0x140410a00]
lea rcx, [rsp + 0x48]
call fcn.1402c1558
nop
lea rax, [rsp + 0xa0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14020aa44
mov qword [rdi + 8], rbp
test ebx, ebx
jne 0x14020aa61
lea rsi, [0x140348ca0]
mov qword [rdi], rsi
jmp 0x14020aa86
mov edx, ebx
mov rcx, rdi
call fcn.1401ff260
movsxd r9, ebx
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
lea r8, [rsp + 0xa0]
mov rcx, qword [rdi]
call fcn.1402bd21c
mov edx, ebx
mov rcx, rdi
call fcn.140200570
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14020aac0
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, [0x140348ca0]
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.1401ff260
mov rdx, qword [rdi]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rcx, rdi
call fcn.140200570
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14020ab80
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