joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400290d0
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rsi, rcx
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov edx, 0x80
lea rcx, [rbp + 0xf]
call fcn.140031390
nop
lea r8, [rbp + 0xf]
mov edx, 0x2d
mov rcx, qword [rsi + 0x58]
call fcn.140058070
lea rcx, [rbp + 0x3f]
call fcn.14002dd80
lea rcx, [rbp + 0xf]
call fcn.140025730
mov rdx, rax
lea rcx, [rbp + 0x3f]
call fcn.14002e560
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
mov edx, 0x80
lea rcx, [rbp + 0x27]
call fcn.140031390
nop
lea r8, [rbp + 0x27]
mov edx, 0x2a
mov rcx, qword [rsi + 0x58]
call fcn.140058070
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov edx, 0x100
lea rcx, [rbp - 9]
call fcn.140033c10
nop
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov edx, 0x100
lea rcx, [rbp - 0x21]
call fcn.140033c10
nop
lea rcx, [rbp + 0x3f]
call fcn.14002e290
test eax, eax
je 0x1400291dc
lea rdx, [0x1400af3b0]
lea rcx, [rbp - 9]
call fcn.140032800
jmp 0x1400292bd
xor r8d, r8d
mov rdx, qword [0x1400e6be0]
lea rcx, [rbp + 0x27]
call fcn.140032480
test eax, eax
je 0x140029222
mov edx, 0x27a0
lea rcx, [rbp - 0x21]
call fcn.140033cf0
mov rbx, qword [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.140025730
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 9]
call fcn.140032800
jmp 0x1400292bd
mov rcx, qword [rsi + 0x40]
cmp dword [rcx + 0x10c], 0
je 0x14002928c
cmp dword [rcx + 0x114], 0
je 0x14002928c
call fcn.140011f00
lea rcx, [rbp - 0x21]
test eax, eax
je 0x140029285
mov edx, 0x281d
call fcn.140033cf0
mov rbx, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.140025730
mov rdx, rax
lea r9, [0x14009c9b0]
mov qword [rsp + 0x20], r9
mov r9, rbx
mov r8, rdi
lea rcx, [rbp - 9]
call fcn.140032800
mov edx, 5
jmp 0x1400292bf
mov edx, 0x281c
jmp 0x14002924a
mov edx, 0x279a
lea rcx, [rbp - 0x21]
call fcn.140033cf0
mov rbx, qword [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.140025730
mov rdx, rax
lea r9, [0x14009c9b0]
mov r8, rbx
lea rcx, [rbp - 9]
call fcn.140032800
xor edx, edx
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x1401a1120], eax
cmp qword [0x1401a0d40], 0
je 0x1400292ed
mov r8d, 0x448
mov rdx, qword [rsi + 0x28]
lea rcx, [rbp - 9]
call fcn.140035170
nop
lea rcx, [rbp - 0x21]
call fcn.140033ca0
nop
lea rcx, [rbp - 9]
call fcn.140033ca0
nop
lea rcx, [rbp + 0x27]
call fcn.140031450
nop
lea rcx, [rbp + 0xf]
call fcn.140031450
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002ce00
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov edx, 0x415
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 0xd
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r9d, 1
mov rcx, rbx
mov r8, rax
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
call fcn.140038b00
mov rcx, qword [rdi + 0x28]
mov r8, rax
mov edx, 0x3f7
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_SetDlgItemTextW]

Function at 0x14002d840
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, edx
cmp dword [rcx], 0
jne 0x14002d872
xor eax, eax
jmp 0x14002d928
mov edx, 7
mov ecx, 0x18
test eax, eax
cmovne edx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002d86b
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov edx, 0x80
lea rcx, [rsp + 0x38]
call fcn.140031390
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140031610
lea rdx, [0x14009c254]
lea rcx, [rsp + 0x38]
call fcn.140031610
lea rdx, str.PopChar.lnk
lea rcx, [rsp + 0x38]
call fcn.140031610
mov r8d, 0x80
lea rdx, [0x14009ca48]
mov rcx, qword [rsp + 0x40]
call fcn.14006762c
test rax, rax
jne 0x14002d90f
xor ebx, ebx
jmp 0x14002d91c
mov rcx, rax
call fcn.1400676b8
mov ebx, 1
lea rcx, [rsp + 0x38]
call fcn.140031450
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x270
pop rbx
ret

Function at 0x14002d950
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
call fcn.14002d840
test eax, eax
je 0x14002d972
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14002d840

Function at 0x14002d990
Capabilities:
Delete file
Get common file path

Disassembly:
sub rsp, 0x278
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, edx
cmp dword [rcx], 0
jne 0x14002d9d3
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x278
ret
mov edx, 7
mov ecx, 0x18
test eax, eax
cmovne edx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002d9b9
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov edx, 0x80
lea rcx, [rsp + 0x38]
call fcn.140031390
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140031610
lea rdx, [0x14009c254]
lea rcx, [rsp + 0x38]
call fcn.140031610
lea rdx, str.PopChar.lnk
lea rcx, [rsp + 0x38]
call fcn.140031610
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x38]
call fcn.140031450
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x278
ret
Function at 0x14002da90
Capabilities:
Delete file
Get common file path

Disassembly:
mov edx, 1
jmp fcn.14002d990

Function at 0x14002dab0
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
cmp dword [rcx], 0
jne 0x14002daf7
xor eax, eax
jmp 0x14002dcac
mov edx, 1
call fcn.14002d840
test eax, eax
je 0x14002db0f
mov eax, 1
jmp 0x14002dcac
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov edx, 0x80
lea rcx, [rsp + 0x60]
call fcn.140033c10
nop
lea rcx, [rsp + 0x60]
call fcn.140034050
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14002db60
xor ebx, ebx
jmp 0x14002dca0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov edx, 0x80
lea rcx, [rsp + 0x48]
call fcn.140031390
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140031610
lea rdx, [0x14009c254]
lea rcx, [rsp + 0x48]
call fcn.140031610
lea rdx, str.PopChar.lnk
lea rcx, [rsp + 0x48]
call fcn.140031610
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
cmp dword [rbx], 0
jne 0x14002dbca
mov ebx, 0xffffffff
jmp 0x14002dc91
xor ebx, ebx
mov qword [rsp + 0x38], rbx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test eax, eax
js 0x14002dc91
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400bbc70]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400bbc90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x14002dc8a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, str.Shortcut_to_PopChar
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, str._autorun
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400bbc80]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14002dc7f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, rdi
call qword [rax + 0x30]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rsp + 0x48]
call fcn.140031450
not ebx
shr ebx, 0x1f
lea rcx, [rsp + 0x60]
call fcn.140033ca0
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp dword [0x1401a1570], 0
je 0x140037fdb
mov rcx, qword [rcx + 0x18]
mov edx, 0x17
lea r8d, [rdx - 0x16]
jmp fcn.140058290
mov rcx, qword [rcx + 0x80]
jmp 0x14002dab0
Function at 0x14002dce0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x14002dd60]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14002dd36
inc dword [0x1401a0e10]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x48
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x48
ret

Function at 0x14002f070
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8d, 0x208
mov rbx, rcx
call fcn.14002ef50
test eax, eax
jne 0x14002f0af
mov eax, 1
jmp 0x14002f1fa
mov qword [rsp + 0x288], rbp
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x298], rdi
xor r9d, r9d
xor edi, edi
mov qword [rsp + 0x268], r14
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14002f1e0
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0xc], edi
test rdx, rdx
jne 0x14002f11e
mov ecx, 0x200
call fcn.14005dd54
mov qword [rbx + 0x18], rax
mov rdx, rax
lea r9, [rbx + 0xc]
mov qword [rsp + 0x20], rdi
mov r8d, 0x200
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f1e0
mov qword [rsp + 0x290], rsi
mov qword [rsp + 0x260], r15
mov r15, qword [0x1401a1610]
mov rsi, qword [r15 + 0x58]
mov rcx, rsi
call fcn.14002e830
mov rcx, rbx
mov dword [rbx + 8], edi
mov dword [rbx + 0x20], edi
call fcn.14002ea30
mov eax, dword [rbx + 0xc]
cmp dword [rbx + 8], eax
jae 0x14002f1b4
mov rcx, rbx
call fcn.14002eba0
mov rcx, rbx
test eax, eax
jne 0x14002f1ac
call fcn.14002fa50
mov ecx, eax
mov edi, eax
call fcn.140035600
test eax, eax
jne 0x14002f1a2
mov edx, edi
mov rcx, rsi
call fcn.14002e840
mov eax, dword [rbx + 0xc]
cmp dword [rbx + 8], eax
jb 0x14002f177
jmp 0x14002f1b4
mov rdx, rsi
call fcn.14002f220
mov rcx, qword [r15 + 0x18]
mov rdx, rsi
call fcn.1400584c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x260]
mov eax, 1
mov rsi, qword [rsp + 0x290]
jmp 0x14002f1e2
xor eax, eax
mov rdi, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x288]
mov r14, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x270
pop rbx
ret
Function at 0x14002fd80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r9d, 1
mov r8d, 0x208
lea rdx, [rsp + 0x70]
call fcn.14002ef50
test eax, eax
jne 0x14002fdde
mov eax, 1
jmp 0x14002ffe1
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x14002fe21
xor eax, eax
jmp 0x14002ffe1
mov rax, qword [0x1401a1610]
mov rsi, qword [rax + 0x58]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov edx, 0x200
lea rcx, [rsp + 0x58]
call fcn.140031390
nop
mov edx, 0xfeff
lea rcx, [rsp + 0x58]
call fcn.140031690
mov rcx, rsi
call fcn.14002e7d0
mov ebp, eax
mov ebx, r14d
test eax, eax
jle 0x14002fed8
mov r15d, 0x2800
mov r13d, 0x3ff
mov r12d, 0x2400
nop
mov edx, ebx
mov rcx, rsi
call fcn.14002e800
test eax, eax
jne 0x14002fecd
mov edx, ebx
mov rcx, rsi
call fcn.14002e7b0
mov edi, eax
lea rcx, [rsp + 0x58]
cmp eax, 0xffff
jbe 0x14002fec5
lea edx, [rax - 0x10000]
shr edx, 0xa
sub dx, r15w
and di, r13w
sub di, r12w
call fcn.140031690
lea rcx, [rsp + 0x58]
movzx edx, di
call fcn.140031690
inc ebx
cmp ebx, ebp
jl 0x14002fe80
mov r12, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14002e7a0
test eax, eax
je 0x14002ff7b
mov rcx, rsi
call fcn.14002e7d0
mov r15d, eax
test eax, eax
jle 0x14002ff7b
lea rdx, str._n_Ligatures_:_n
lea rcx, [rsp + 0x58]
call fcn.140031610
mov edi, r14d
mov ebx, r14d
mov edx, ebx
mov rcx, rsi
call fcn.14002e800
test eax, eax
je 0x14002ff74
inc edi
mov edx, ebx
mov rcx, rsi
call fcn.14002e7c0
xor edx, edx
mov rcx, rax
call fcn.140003c10
mov rbp, rax
lea rcx, [rsp + 0x58]
cmp edi, 1
lea rdx, [0x1400b0188]
jg 0x14002ff51
lea rdx, [0x1400b0190]
call fcn.140031610
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.140031590
lea rdx, [0x1400b0194]
lea rcx, [rsp + 0x58]
call fcn.140031610
inc ebx
cmp ebx, r15d
jl 0x14002ff12
mov eax, dword [rsp + 0x6c]
lea ebx, [rax + rax]
mov dword [rsp + 0x50], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
test eax, eax
jne 0x14002ffc2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002ffd4
cmp dword [rsp + 0x50], ebx
jne 0x14002ffba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14d, 1
lea rcx, [rsp + 0x58]
call fcn.140031450
mov eax, r14d
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400338c0
Capabilities:
Read clipboard data

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [0x1401a1128], rax
add rsp, 0x28
ret

Function at 0x140033960
Capabilities:
Open clipboard

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_OpenClipboard]
mov dword [0x1401a1120], eax
add rsp, 0x28
ret

Function at 0x1400339a0
Capabilities:
Write clipboard data

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_SetClipboardData]
mov qword [0x1401a1128], rax
add rsp, 0x28
ret

Function at 0x1400339e0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor eax, eax
mov dword [0x1401a1118], 0
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0x118
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov dword [0x1401a111c], 0
call fcn.140061460
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140033bea
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033bea
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x140033a8e
call rax
jmp 0x140033a94
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x60], 2
jne 0x140033be0
mov eax, dword [rsp + 0x54]
cmp eax, 4
jbe 0x140033be0
mov ecx, dword [rsp + 0x58]
mov dword [0x1401a111c], ecx
mov dword [0x1401a1118], eax
cmp eax, 0xa
jne 0x140033ae7
test ecx, ecx
jne 0x140033bea
mov dword [0x140186700], ecx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
cmp eax, 6
jne 0x140033b8b
cmp ecx, 3
jne 0x140033b17
mov dword [0x140186700], 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
cmp ecx, 2
jne 0x140033b3a
mov dword [0x140186700], ecx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
cmp ecx, 1
jne 0x140033b61
mov dword [0x140186700], 3
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
test ecx, ecx
jne 0x140033bea
mov dword [0x140186700], 4
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
cmp eax, 5
jne 0x140033bea
lea eax, [rcx - 1]
cmp eax, 1
ja 0x140033bba
mov dword [0x140186700], 5
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
test ecx, ecx
jne 0x140033bea
mov dword [0x140186700], 6
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
mov dword [0x140186700], 7
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x188
ret
Function at 0x140033ee0
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x50
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov edx, 0x80
lea rcx, [r11 - 0x28]
call fcn.140031390
lea rsi, vtable.PCW::RedmondString.0
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140032950
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edi, edi
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x28]
lea rdx, [0x1400b6048]
mov rcx, rax
call fcn.140066560
test rax, rax
je 0x140033f6f
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140031da0
mov r10, qword [rsp + 0x38]
mov eax, edi
movsxd r11, dword [rsp + 0x44]
test r11, r11
jle 0x140033fb8
mov rdx, rdi
mov r9, rdi
nop word [rax + rax]
movzx r8d, word [r10 + rdx*2]
cmp r8w, 0x22
je 0x140033fb0
cmp eax, dword [rbx + 0x10]
jge 0x140033fdc
mov rcx, qword [rbx + 8]
mov word [r9 + rcx], r8w
inc eax
add r9, 2
inc rdx
cmp rdx, r11
jl 0x140033f90
movsxd rcx, eax
test eax, eax
jle 0x140033fd2
nop
cmp word [r10 + rcx*2], 0x5c
je 0x140033fd2
dec eax
dec rcx
test rcx, rcx
jg 0x140033fc0
mov ecx, dword [rbx + 0x10]
sub ecx, 2
cmp eax, ecx
jl 0x140033fe6
mov rcx, rbx
call fcn.140032950
jmp 0x140034017
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov rax, qword [rbx + 8]
mov word [rax + rcx*2 + 2], di
mov rcx, rbx
call fcn.1400317a0
lea rdx, str.PopChar.exe
mov rcx, rbx
call fcn.140031610
nop
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140031450
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140034050
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.140032950
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [0x1400b6048]
call fcn.140066560
test rax, rax
je 0x1400340a0
mov rdx, rax
mov rcx, rbx
call fcn.140031da0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x30
pop rbx
ret
Function at 0x1400340c0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
mov r11, rax
test rax, rax
je 0x14003411d
mov r10d, 0x7fffffff
mov r8, rax
mov r9d, r10d
cmp word [r8], si
je 0x140034101
add r8, 2
sub r9, 1
jne 0x1400340f1
test r9, r9
mov eax, 0x80070057
cmovne eax, esi
je 0x140034113
sub r10, r9
jmp 0x140034116
mov r10, rsi
test r9, r9
jne 0x140034125
jmp 0x140034122
mov eax, 0x80070057
mov r10, rsi
test eax, eax
jne 0x1400341d9
mov rcx, rsi
mov r8d, esi
test r10, r10
je 0x140034163
mov r9, rsi
nop dword [rax + rax]
movzx edx, word [r11 + rcx*2]
inc rcx
cmp dx, 0x22
je 0x14003415e
mov rax, qword [rbx + 8]
inc r8d
mov word [r9 + rax], dx
add r9, 2
cmp rcx, r10
jb 0x140034140
movsxd rax, r8d
test r8d, r8d
jle 0x140034183
nop dword [rax + rax]
cmp word [r11 + rax*2], 0x5c
je 0x140034183
dec r8d
dec rax
test rax, rax
jg 0x140034170
mov rcx, qword [rbx + 8]
movzx eax, word [rdi]
movsxd rdx, r8d
inc r8d
mov word [rcx + rdx*2], ax
lea rdx, [rdi + 2]
cmp word [rdx], si
je 0x1400341c6
movsxd rax, r8d
lea r9, [rax + rax]
cmp r8d, dword [rbx + 0x10]
jge 0x1400341c6
movzx eax, word [rdx]
inc r8d
mov rcx, qword [rbx + 8]
add rdx, 2
mov word [r9 + rcx], ax
add r9, 2
cmp word [rdx], si
jne 0x1400341a4
mov rax, qword [rbx + 8]
movsxd rcx, r8d
mov word [rax + rcx*2], si
mov rcx, rbx
call fcn.1400317a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400348f0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, dword [rcx + 0x10]
mov rax, rdx
mov rdx, qword [rcx + 8]
mov rbx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rbx + 0x14], eax
add rsp, 0x20
pop rbx
ret

Function at 0x140034920
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x10]
mov rax, rdx
mov r9, qword [rcx + 8]
mov rbx, rcx
mov rcx, rax
mov edx, 0xd
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbx + 0x14], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400366f0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov ebx, ecx
cmp dword [0x1401a15e0], edi
jne 0x140036726
cmp dword [0x1401a15e4], edi
jne 0x140036756
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
mov ecx, 9
cmp cx, ax
je 0x140036756
mov rcx, qword [0x1401a11c8]
test rcx, rcx
je 0x140036756
xor r9d, r9d
movzx edx, bx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [0x1401a1128], rax
test rax, rax
jne 0x14003677c
mov rcx, qword [0x1401a11c0]
xor r9d, r9d
movzx edx, bx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [0x1401a1128], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140036790
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
cmp dword [0x1401a15e0], 0
jne 0x1400367ca
cmp dword [0x1401a15e4], 0
jne 0x1400367be
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
mov ecx, 7
cmp cx, ax
je 0x1400367ca
lea rax, [0x1400aec34]
add rsp, 0x28
ret
lea rax, [0x1400aec3c]
add rsp, 0x28
ret

Function at 0x140036a90
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
cmp dword [0x1401a15e0], 0
je 0x140036aa7
mov eax, 7
add rsp, 0x28
ret
cmp dword [0x1401a15e4], 0
je 0x140036aba
mov eax, 9
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
add rsp, 0x28
ret