joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013f80
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov rcx, qword [rcx + 0x378]
test rcx, rcx
je 0x14001403b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
lea r8d, [rbx + 0x1c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14001403b
cmp dword [rsp + 0x78], 0x1c
jne 0x14001403b
cmp dword [rsp + 0x44], 0xff23ff24
jne 0x14001403b
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rdx, [rsp + 0x44]
or ecx, 0xffffffff
call fcn.1400bae40
cmp dword [rsp + 0x40], eax
jne 0x14001403b
cmp dword [rsp + 0x50], 0
je 0x14001403b
xor edx, edx
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [rsp + 0x54]
add rcx, 0x1c
mov eax, eax
xor ebx, ebx
cmp rax, rcx
setae bl
mov dword [rsp + 0x30], ebx
mov eax, ebx
jmp 0x140014043
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140014380
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], 1
test rdx, rdx
jne 0x1400143d4
lea rcx, [rsp + 0x150]
call fcn.140092d60
lea rbx, [rsp + 0x150]
lea rcx, [rdi + 0x10]
cmp byte [rcx], 0
je 0x140014403
lea rdx, [rsp + 0x40]
nop
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
add rcx, 1
add rdx, 1
test al, al
jne 0x1400143f0
jmp 0x140014412
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140092f60
mov edx, 0x10
lea rcx, [rsp + 0x40]
call fcn.1400b6b50
test eax, eax
jne 0x140014432
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400b3390
lea r11, [rdi + 0x31c]
lea rax, [0x1400e8ea0]
cmp byte [r11], 0
cmovne rax, r11
lea rcx, [rdi + 0x114]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x40]
lea rdx, str._s_s._s
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, [rdi + 0x320]
lea r8, [0x1400e8e90]
cmp byte [r11], 0
cmovne r8, r11
lea rcx, [rdi + 0x218]
mov qword [rsp + 0x20], r8
mov r9, rbx
lea r8, [rsp + 0x40]
lea rdx, str._s_s._s
call qword [sym.imp.USER32.dll_wsprintfA]
nop
mov eax, 1
jmp 0x1400144b6
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x140014620
Capabilities:
Get common file path
Timestomp file

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x60]
call fcn.1400b3390
lea rdi, [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.kernel32.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1400e8f70]
mov dword [rdi + 7], eax
movzx eax, byte [0x1400e8f74]
mov byte [rdi + 0xb], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140014725
xor eax, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x14001471b
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret

Function at 0x140014770
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140014580
lea rcx, [rbx + 0x114]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rbx + 0x218]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400145d0
Function at 0x1400147b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rcx
xor edi, edi
call fcn.140014580
nop
xor edx, edx
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x14001487d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
lea r8d, [rdi + 0x10]
lea rdx, [rbx + 0x35c]
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140014879
cmp dword [rsp + 0x58], 0x10
jne 0x140014879
cmp dword [rbx + 0x360], 0xff23ff24
jne 0x140014879
cmp dword [rbx + 0x364], 0x30000
jne 0x140014879
lea rdx, [rbx + 0x360]
lea r8d, [rdi + 0xc]
or ecx, 0xffffffff
call fcn.1400bae40
cmp dword [rbx + 0x35c], eax
jne 0x140014879
mov rcx, rbx
call fcn.140013f80
mov edi, eax
mov dword [rsp + 0x30], eax
jmp 0x14001487d
mov dword [rsp + 0x30], edi
jmp 0x140014888
cmp qword [rbx + 0x3d0], 0
je 0x1400148bd
mov rcx, qword [rbx + 0x3d0]
mov r10, qword [rcx]
mov dword [rsp + 0x28], edi
mov eax, dword [rbx + 0x368]
mov dword [rsp + 0x20], eax
lea r9, str.RFH:__d_R__d
xor r8d, r8d
mov edx, 0x1000000
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rbx
call fcn.1400145d0
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140014920
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov ebx, edx
mov rsi, rcx
mov qword [rax - 0x38], 0
call fcn.140014580
nop
mov rcx, qword [rsi + 0x378]
test rcx, rcx
je 0x140014a78
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, 0x1c
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x378]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014a78
cmp dword [rsp + 0x80], 0x1c
jne 0x140014a78
cmp dword [rsp + 0x44], 0xff23ff24
jne 0x140014a78
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rdx, [rsp + 0x44]
or ecx, 0xffffffff
call fcn.1400bae40
cmp dword [rsp + 0x40], eax
jne 0x140014a78
cmp dword [rsp + 0x50], 0
je 0x140014a78
mov eax, dword [rsp + 0x58]
lea ecx, [rax + rbx + 0x1c]
call fcn.14008c4a0
mov rdi, rax
mov edx, dword [rsp + 0x4c]
add rdx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x54]
mov rcx, qword [rsi + 0x378]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014a70
mov r8d, dword [rsp + 0x54]
cmp dword [rsp + 0x80], r8d
jne 0x140014a70
mov edx, dword [rsp + 0x4c]
add rdx, rdi
mov r9d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.140014190
test eax, eax
je 0x140014a70
lea rcx, [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x10], rax
mov eax, dword [rcx + 0x18]
mov dword [rdi + 0x18], eax
mov qword [rsp + 0x30], rdi
jmp 0x140014aae
mov rcx, rdi
call fcn.14008c4f0
lea eax, [rbx + 0x1c]
mov ebx, eax
mov ecx, eax
call fcn.14008c4a0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov dword [rdi + 4], 0xff23ff24
mov dword [rdi + 8], 0x30000
mov dword [rdi + 0xc], 0x1c
jmp 0x140014aba
mov rcx, rsi
call fcn.1400145d0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x140014b40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rdi
mov r12, rdx
mov rdi, rcx
call fcn.140014580
nop
mov dword [rsp + 0x30], 0
mov ecx, dword [r12 + 0x50]
call fcn.14008c4a0
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [r12 + 0x48]
mov rcx, qword [rdi + 0x370]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [r12 + 0x4c]
mov rdx, rbx
mov rcx, qword [rdi + 0x370]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014be7
mov r8d, dword [r12 + 0x4c]
cmp dword [rsp + 0x70], r8d
jne 0x140014be7
mov r9d, dword [r12 + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140014190
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140014bf6
mov rcx, rbx
call fcn.14008c4f0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
jmp 0x140014c02
mov rcx, rdi
call fcn.1400145d0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
Function at 0x140015230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, r9
mov r12d, r8d
mov r13, rdx
mov rbx, rcx
call fcn.140014580
nop
cmp dword [rbx + 0xc], 0
jne 0x1400152ce
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400152d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x1400152c6
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400152d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400152d2
mov edi, dword [rsp + 0x30]
jmp 0x1400152dd
mov rcx, rbx
call fcn.1400145d0
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x140015710
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rdx
mov r13, rcx
xor edi, edi
mov dword [rsp + 0x44], edi
mov esi, edi
mov dword [rsp + 0x48], edi
lea rcx, [0x1400e8cc0]
lea r8, [rsp + 0x60]
nop
nop
nop
nop
movzx eax, byte [rcx]
mov byte [r8], al
add rcx, 1
add r8, 1
test al, al
jne 0x140015770
mov dword [rsp + 0x44], 0x104
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call fcn.140014c60
mov r14, rax
test rax, rax
je 0x140015862
mov rcx, rax
call fcn.140039050
mov r12, rax
test r12, r12
je 0x14001585a
mov rcx, r12
call fcn.140038640
mov rbx, rax
movzx eax, byte [rax + 0xc8]
cmp eax, 1
jne 0x14001580a
lea rcx, [rbx + 0xd4]
jmp 0x14001581b
cmp eax, 2
jne 0x140015818
mov rcx, qword [rbx + 0xd4]
jmp 0x14001581b
mov rcx, rdi
lea rdx, [rsp + 0x60]
call fcn.1400c1f80
test eax, eax
jne 0x14001583e
mov eax, dword [rbx + 0x14]
mov dword [r13 + 0x358], eax
mov edi, 1
mov dword [rsp + 0x40], edi
jmp 0x14001585a
mov eax, dword [rbx + 0x14]
cmp eax, esi
cmova esi, eax
mov dword [rsp + 0x48], esi
mov rdx, r12
mov rcx, r14
call fcn.140039060
mov r12, rax
jmp 0x1400157e5
mov rcx, r14
call fcn.1400151c0
test edi, edi
jne 0x14001592b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 0xdc]
mov qword [rsp + 0x50], rdi
mov rcx, rdi
call fcn.14008c4a0
mov rbx, rax
lea eax, [rsi + 1]
mov dword [r13 + 0x358], eax
mov dword [rbx + 8], edi
mov dword [rbx], 1
mov eax, dword [r13 + 0x358]
mov dword [rbx + 0x14], eax
xor ecx, ecx
call fcn.1400c2a40
mov dword [rbx + 0xc], eax
mov eax, dword [r13 + 0x358]
mov dword [rbx + 0x14], eax
and dword [rbx + 0xc8], 0xffffff00
mov eax, dword [rbx + 0xc8]
or eax, 1
mov dword [rbx + 0xc8], eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
mov dword [rbx + 0xd0], ecx
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0xd4]
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x140015900
mov rdx, rbx
mov rcx, r13
call fcn.1400154d0
mov edi, eax
mov dword [rsp + 0x40], eax
mov rcx, rbx
call fcn.14008c4f0
nop
mov eax, edi
jmp 0x140015933
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140015aa0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
call fcn.140014580
nop
or esi, 0xffffffff
cmp qword [rbx + 0x370], 0
je 0x140015b0b
mov rcx, rbx
call fcn.1400159a0
xor edx, edx
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov rcx, qword [rbx + 0x370]
call fcn.140014620
mov rcx, qword [rbx + 0x370]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x370], 0
cmp qword [rbx + 0x378], 0
je 0x140015b39
mov rcx, qword [rbx + 0x370]
call fcn.140014620
mov rcx, qword [rbx + 0x378]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x378], 0
test esi, esi
jne 0x140015b45
mov rcx, rbx
call fcn.140014770
lea rcx, [rbx + 0x380]
call fcn.1400142f0
lea rcx, [rbx + 0x3a8]
call fcn.1400142f0
nop
jmp 0x140015b65
mov qword [rbx + 0x370], 0
mov dword [rbx + 0x350], 0
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
jmp fcn.1400145d0

Function at 0x140016890
Capabilities:
Get graphical window text

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov esi, r8d
mov r12, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400169a6
test rdx, rdx
je 0x1400169a6
test r8d, r8d
je 0x1400169a6
mov r8, rsi
shl r8, 2
xor edx, edx
mov rcx, r12
call fcn.1400c2840
mov r11, qword [0x140160e18]
mov qword [rsp + 0x78], r11
mov ecx, 0x104
call fcn.14008c4a0
mov r13, rax
mov r8d, 0x104
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rbx, r13
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
nop
nop
movzx edx, byte [rbx]
test dl, dl
je 0x140016977
cmp edi, esi
jae 0x140016977
cmp dl, 0x20
jne 0x140016962
mov rcx, qword [rsp + 0x78]
cmp qword [rcx - 0x10], 0
je 0x140016956
call fcn.1400c2e70
mov rcx, qword [rsp + 0x78]
call fcn.1400c2e70
mov dword [r12 + rdi*4], eax
add edi, 1
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x78]
call fcn.14002e250
jmp 0x14001696c
lea rcx, [rsp + 0x78]
call fcn.14002d5c0
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x140016920
mov rcx, qword [rsp + 0x78]
cmp qword [rcx - 0x10], 0
je 0x140016990
cmp edi, esi
jae 0x140016990
call fcn.1400c2e70
mov dword [r12 + rdi*4], eax
mov rcx, r13
call fcn.14008c4f0
nop
lea rcx, [rsp + 0x78]
call fcn.14002d2c0
nop
jmp 0x1400169a6
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x14001e2e0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x44], 0
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov edx, 0x3ea
jne 0x14001e336
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x403
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 3
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
jmp 0x14001e37b
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x403
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 3
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r8d, r8d
mov edx, 0xcf
cmp dword [rbx + 0x48], r8d
mov rcx, rax
sete r8b
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x20]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [rbx + 0x48]
neg ecx
mov rcx, rax
sbb edx, edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 3
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rbx + 0x150], 0
jne 0x14001e40e
mov rcx, qword [rbx + 0x20]
mov edx, 0x3eb
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x20
pop rbx
ret

Function at 0x1400207d0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov edx, 0x7f
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x184
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
movsxd rdx, ebx
lea rcx, [0x1400203b0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
add rsp, 0x30
pop rbx
ret
Function at 0x140025550
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400c2840
mov edx, 0x4fa3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 6
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rsp + rcx + 0x3f]
mov edx, 0x4fa4
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 7
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rsp + rcx + 0x3f]
mov edx, 0x4fa5
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 6
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x150]
call fcn.1400c2840
mov edx, 0x4fa2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x2d
lea rdx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [rsi + 0x40]
mov r9, qword [rdx + 0x298]
add r9, 0x2581
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025120
mov dword [rsp + 0x30], eax
jmp 0x14002569d
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002b3b0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
test rdx, rdx
mov rbx, rcx
je 0x14002b43e
add rcx, 0x18
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x14002b3d0
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x11c], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbx + 0x120]
lea r8, str.xxutfsvr__04x
mov edx, 0x40
mov r9d, eax
call fcn.1400c32b0
mov rcx, rbx
call fcn.14002b230
test eax, eax
je 0x14002b43e
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14002b43e
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14002b43e
mov rcx, rbx
call fcn.14002b310
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14002e8a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400b3390
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.mswebhlp.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1400ed280]
mov dword [rdi + 7], eax
movzx eax, byte [0x1400ed284]
mov byte [rdi + 0xb], al
lea rcx, [rsp + 0x30]
call fcn.1400b6a90
mov esi, 1
test eax, eax
cmovne ebx, esi
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400b3390
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.urlmkpl.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1400ed270]
mov dword [rdi + 7], eax
lea rcx, [rsp + 0x30]
call fcn.1400b6a90
test eax, eax
cmovne ebx, esi
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x14002e987
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14002e9e0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400b3390
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.mswebhlp.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1400ed280]
mov dword [rdi + 7], eax
movzx eax, byte [0x1400ed284]
mov byte [rdi + 0xb], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x14002eab2
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400b3390
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.urlmkpl.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1400ed270]
mov dword [rdi + 7], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14002eb13
lea rdx, [0x1400ed1f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14002eb09
lea r9, [rsp + 0x20]
mov edx, 1
mov ecx, 0x231242a
mov r8d, 0x2346
call rdi
test eax, eax
je 0x14002eb09
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov edx, 0x231242a
call qword [rax + 0x28]
lea r9, [rsp + 0x20]
xor edx, edx
mov ecx, 0x231242a
mov r8d, 0x2346
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret