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

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x5387a3
cmp byte [ebx + 0xd7], 0
jne 0x5387a3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00408494
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x538790
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5387b0
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004086ec
jmp 0x5387b0
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004086ec
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x539f88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x539ff6
mov eax, esi
call fcn.0049a240
test al, al
je 0x539ff6
mov eax, dword [ebx + 0x88]
call fcn.00499e94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x539ff6
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x539fea
push 0
mov eax, dword [ebx + 0x88]
call fcn.00499e94
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00490cfc
jmp 0x539ff6
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00539dc0
pop esi
pop ebx
ret
Function at 0x554a78
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x554ba0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00554964
mov eax, dword [esi]
call fcn.0040a294
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41ada0]
call fcn.0040a448
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404874
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404874
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040a294
mov dword [ebp - 0xc], eax
mov eax, dword [0x75f404]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00544c90
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00405148
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040a294
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.00544c6c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.005447e8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00544c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554ba7
lea eax, [ebp - 4]
mov edx, dword [0x41ada0]
call fcn.0040a454
ret
Function at 0x5c5ee0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x114], 6
setae byte [ebp - 1]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x5c98f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x114], 5
ja 0x5c992e
cmp dword [ebp - 0x114], 5
jne 0x5c992a
cmp dword [ebp - 0x110], 1
jae 0x5c992e
xor eax, eax
jmp 0x5c9930
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x5d7288
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408f4c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5d72ae
test byte [ebp - 0xc], 0x10
jne 0x5d72b2
xor eax, eax
jmp 0x5d72b4
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x5dfa88
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x110], 5
ja 0x5dfac6
cmp dword [ebp - 0x110], 5
jne 0x5dfac2
cmp dword [ebp - 0x10c], 1
jae 0x5dfac6
xor eax, eax
jmp 0x5dfac8
mov al, 1
mov byte [0x7655f0], al
mov esp, ebp
pop ebp
ret

Function at 0x5e8008
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x118], 5
ja 0x5e8046
cmp dword [ebp - 0x118], 5
jne 0x5e8042
cmp dword [ebp - 0x114], 1
jae 0x5e8046
xor eax, eax
jmp 0x5e8048
mov al, 1
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x5e806d
cmp byte [ebp - 2], 0
je 0x5e8064
mov eax, dword [0x75f14c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x5e8068
xor eax, eax
jmp 0x5e806a
mov al, 1
mov byte [ebp - 2], al
mov eax, 0x5e80ac
call fcn.00428264
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
setg byte [ebp - 3]
mov al, byte [ebp - 3]
and al, byte [ebp - 2]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x5e91f8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x114], 5
ja 0x5e9236
cmp dword [ebp - 0x114], 5
jne 0x5e9232
cmp dword [ebp - 0x110], 1
jae 0x5e9236
xor eax, eax
jmp 0x5e9238
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x5ec77c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
test dl, dl
je 0x5ec791
add esp, 0xfffffff0
call fcn.00406ca0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049cb54
mov edx, 0x62
mov eax, dword [ebp - 4]
call fcn.00490418
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0049044c
mov eax, dword [ebp - 4]
mov byte [eax + 0x284], 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0x288]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004064fc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x11c], 5
ja 0x5ec813
cmp dword [ebp - 0x11c], 5
jne 0x5ec80f
cmp dword [ebp - 0x118], 1
jae 0x5ec813
xor eax, eax
jmp 0x5ec815
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x28c], al
mov eax, dword [ebp - 4]
mov edx, dword [0x5ec884]
not edx
and edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x28f], 0
mov dl, 1
mov eax, dword [0x46efb8]
call fcn.00477fd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x294], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x299], 0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x5ec87d
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x5fdf08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov cx, word [ebp - 0xa]
mov eax, dword [ebp - 4]
call fcn.004ad76c
mov eax, dword [ebp - 8]
cmp word [eax], 0x73
jne 0x5fdf71
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x5fdf71
push 0xa4
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x5fdf71
push 0xa5
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x5fdf71
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x11c]
mov esp, ebp
pop ebp
ret

Function at 0x600d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x600d86
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x600d86
xor eax, eax
jmp 0x600d88
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x6034a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004083f0
xor eax, eax
push ebp
push 0x60355f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
call fcn.004225b8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x603549
mov eax, dword [ebp - 0x10]
call fcn.00404678
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x603570
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x603541
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x603541
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603566
lea eax, [ebp - 4]
call fcn.0040830c
ret

Function at 0x6035cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x6035f2
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x6035f2
xor eax, eax
jmp 0x6035f4
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x603600
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
test dl, dl
je 0x603612
add esp, 0xfffffff0
call fcn.00406ca0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cdd50
push 2
call sub.user32.dll_GetSystemMetrics
add eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x338], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x33f], 0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004987c4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049a0ac
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x118]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0049a070
mov eax, dword [ebp - 4]
mov byte [eax + 0x33d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x314], 0x1fffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x33c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x346], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x344], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x340], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x32c], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x330], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x31c], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x324], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x328], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x334], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x320], 0x1fffffff
call sub.kernel32.dll_GetVersion
mov dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 5
ja 0x60374c
cmp dword [ebp - 0x18], 5
jne 0x603748
cmp dword [ebp - 0x1c], 1
jae 0x60374c
xor eax, eax
jmp 0x60374e
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x33e], al
mov eax, 0x6037b0
call fcn.006034a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
setg al
mov edx, dword [ebp - 4]
mov byte [edx + 0x318], al
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x60379a
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x60a980
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x60a9ae
mov eax, ebx
call fcn.0060b43c
cmp dword [ebx + 0x40], 0
je 0x60a9a7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x60aa1f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x60aa11
cmp dword [ebx + 8], 0
je 0x60a9d0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x60a9e2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x60aa11
cmp dword [ebx + 8], 0
je 0x60a9c3
cmp eax, 3
je 0x60a9f5
dec eax
jne 0x60a9c3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x60a9c3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x60a9c3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x60aa3d
cmp dword [ebx + 0x14], 0xcc
je 0x60aa3d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0060aa48
pop ebx
ret

Function at 0x61c6fc
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x61c70e
add esp, 0xfffffff0
call fcn.00406ca0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040ba48
xor eax, eax
push ebp
push 0x61c7b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00406664
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0061c984
mov dl, 1
mov eax, dword [0x43fbac]
call fcn.0044e220
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x61c7a0
push 0x61c7dc
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x76560c], eax
push 0x61c800
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x765610], eax
push 0x61c818
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x765618], eax
push 0x61c844
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x765614], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61c7bd
lea eax, [ebp - 0xc]
call fcn.0040b9d4
ret
Function at 0x61f19c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004083f0
xor eax, eax
push ebp
push 0x61f25b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
call fcn.004225b8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x61f245
mov eax, dword [ebp - 0x10]
call fcn.00404678
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x61f26c
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61f23d
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x61f23d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61f262
lea eax, [ebp - 4]
call fcn.0040830c
ret

Function at 0x61f3d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x61f3fa
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x61f3fa
xor eax, eax
jmp 0x61f3fc
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x61f408
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
test dl, dl
je 0x61f41a
add esp, 0xfffffff0
call fcn.00406ca0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cdd50
push 2
call sub.user32.dll_GetSystemMetrics
add eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x338], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x33f], 0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004987c4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049a0ac
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049a070
mov eax, dword [ebp - 4]
mov byte [eax + 0x33d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x314], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x33c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x346], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x344], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x340], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x32c], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x330], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x31c], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x324], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x328], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x334], 0x1fffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x320], 0x1fffffff
call sub.kernel32.dll_GetVersion
mov dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 5
ja 0x61f545
cmp dword [ebp - 0x18], 5
jne 0x61f541
cmp dword [ebp - 0x1c], 1
jae 0x61f545
xor eax, eax
jmp 0x61f547
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x33e], al
mov eax, 0x61f5b0
call fcn.0061f19c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
setg al
mov edx, dword [ebp - 4]
mov byte [edx + 0x318], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x347], 0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x61f59d
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x648450
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
test dl, dl
je 0x648465
add esp, 0xfffffff0
call fcn.00406ca0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049cb54
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x6446d0]
call fcn.00647c78
mov edx, dword [ebp - 4]
mov dword [edx + 0x280], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x280]
mov edx, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], 0x64aed8
mov eax, dword [ebp - 4]
mov byte [eax + 0x284], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x288], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x2b0], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x28c], 8
mov eax, dword [ebp - 4]
mov dword [eax + 0x290], 8
mov eax, dword [ebp - 4]
mov dword [eax + 0x294], 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x298], 4
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a8], 0
mov dl, 1
mov eax, dword [0x644974]
call fcn.00647d54
mov edx, dword [ebp - 4]
mov dword [edx + 0x2ac], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ac]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x64b1c4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004987c4
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x11c], 5
ja 0x648575
cmp dword [ebp - 0x11c], 5
jne 0x648571
cmp dword [ebp - 0x118], 1
jae 0x648575
xor eax, eax
jmp 0x648577
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c0], al
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x648598
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6a617c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004083f0
xor eax, eax
push ebp
push 0x6a623b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
call fcn.004225b8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x6a6225
mov eax, dword [ebp - 0x10]
call fcn.00404678
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6a624c
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6a621d
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x6a621d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a6242
lea eax, [ebp - 4]
call fcn.0040830c
ret
Function at 0x6d9dbc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [0x7656f8], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x810]
call fcn.00499e94
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret