joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490ce0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040a330
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0048ad1c
test ebx, ebx
jne 0x490d33
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00490b5c
mov ebx, eax
test ebx, ebx
je 0x490e29
cmp esi, ebx
je 0x490d5c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x490d71
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x490da9
add eax, 0xffffff5f
sub eax, 2
jb 0x490dc1
dec eax
sub eax, 2
jb 0x490dd5
dec eax
sub eax, 2
jb 0x490dcb
jmp 0x490ddf
add eax, 0xfffffdff
sub eax, 2
jb 0x490dc1
dec eax
sub eax, 2
jb 0x490dd5
dec eax
sub eax, 2
jb 0x490dcb
jmp 0x490ddf
mov byte [esp + 0x120], 0
jmp 0x490de7
mov byte [esp + 0x120], 2
jmp 0x490de7
mov byte [esp + 0x120], 1
jmp 0x490de7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004aec80
mov esi, eax
call fcn.00487558
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0048c6dc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x490e2b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4ae788
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4ae7a9
test edi, 0x40000
je 0x4ae7c3
test bl, bl
jne 0x4ae844
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4ae844
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4ae7f6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4ae80b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4ae81a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4ae82b
cmp byte [esp + 2], 0
je 0x4ae844
cmp byte [esp + 2], 0
je 0x4ae83c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4ae844
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4aeaf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4aeb16
mov eax, esp
push eax
push 0x4aeab8
call sub.user32.dll_EnumWindows
jmp 0x4aeb29
mov eax, esp
push eax
push 0x4aea98
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4aebec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4aec3c]
test bl, 4
je 0x4aec00
or si, 1
test bl, 8
je 0x4aec09
or si, 4
test bl, 1
je 0x4aec12
or si, 8
test bl, 2
je 0x4aec1b
or si, 0x10
test bl, 0x10
je 0x4aec24
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aec34
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4aec40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4aec7c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aec5b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aec6b
or bx, 4
test esi, 0x20000000
je 0x4aec77
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b78f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b7906
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ed98
mov eax, dword [0x4da2d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b7d50
mov eax, dword [0x4da2e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b7d5c
mov eax, ebx
call fcn.004b7d68
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4b25e8
push eax
push 0
push 0
mov eax, dword [0x4da4a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b82c8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b8138
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b8138
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b8138
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b8138
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b8138
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b7a81
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b7ed8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8085
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b8066
mov dl, 1
mov eax, dword [0x42a99c]
call fcn.00436810
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004068c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b8055
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049a544
test al, al
je 0x4b8048
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b8094
lea eax, [ebp - 0x394]
call fcn.004134ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b8048
xor eax, eax
push ebp
push 0x4b8041
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b8104
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b802a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406aa8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4b802a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8048
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b7f4b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043674c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b808c
lea eax, [ebp - 0x3a0]
call fcn.004068b0
ret

Function at 0x4b8be4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e02bc]
cmp byte [eax + 0xad], 0
jne 0x4b8c56
cmp dword [0x4e02d4], 0
jne 0x4b8c16
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4da174]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e02d4], eax
cmp dword [0x4e02d0], 0
jne 0x4b8c31
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4e02d0], eax
cmp dword [0x4e02d8], 0
jne 0x4b8c56
push esp
push 0
push 0
mov eax, dword [0x4da170]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e02d8], eax
pop edx
ret
Function at 0x4b8f7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b8f93
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ed98
mov eax, dword [0x4da1f4]
cmp byte [eax], 0
jne 0x4b8fc0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4da478]
cmp word [eax + 2], 0
jne 0x4b8fda
mov eax, dword [0x4da478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bb074
mov eax, dword [0x4da570]
cmp word [eax + 2], 0
jne 0x4b8ff4
mov eax, dword [0x4da570]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bb284
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x449704]
call fcn.0044f9d8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bb834
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44db9c]
call fcn.00458e48
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b91d4
mov eax, dword [0x4da358]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004592dc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4bbb1c
mov dl, 1
mov eax, dword [0x42829c]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4da358]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004132e4
test eax, eax
je 0x4b9105
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004130c8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004132c8
test eax, eax
je 0x4b911d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406aa8
push ebx
push 0x4baa44
call fcn.004aebd0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4da1f4]
cmp byte [eax], 0
jne 0x4b916e
mov eax, ebx
call fcn.004b9348
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004bbd48
mov eax, ebx
call fcn.004bc97c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b91cb
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b961c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b96be
cmp dword [ebx + 0x94], 0
jne 0x4b96b8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b9568
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b96b8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b967e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b96b8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004331a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b968d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b98dc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e02bc]
cmp dword [eax + 0x170], 0
je 0x4b9a41
test bl, bl
jne 0x4b998f
cmp dword [esi + 0x9c], 0
jne 0x4b9984
mov eax, esi
call fcn.004bc7cc
push eax
push 0x4b97e8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b9955
mov eax, dword [0x4e02bc]
cmp byte [eax + 0xd3], 0
je 0x4b9955
mov eax, dword [esi + 0xd8]
call fcn.00407ecc
mov edi, eax
cmp edi, 0
jl 0x4b9955
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b993e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b9984
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004331a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b9964
inc dword [esi + 0x9c]
jmp 0x4b9a41
cmp dword [esi + 0x9c], 0
jle 0x4b9a41
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b9a41
cmp dword [esi + 0x44], 0
je 0x4b99ec
mov eax, dword [0x4e02bc]
cmp byte [eax + 0xd3], 0
je 0x4b99ec
mov eax, dword [esi + 0xd8]
call fcn.00407ecc
mov edi, eax
cmp edi, 0
jl 0x4b99ec
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b99d5
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b9a1b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004331a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b99fb
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4acaa8]
call fcn.0040808c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ba690
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ba6fb
cmp byte [ebx + 0xd3], 0
jne 0x4ba6fb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069fc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ba6e8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ba708
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068c0
jmp 0x4ba708
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068c0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bbf30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bbf9e
mov eax, esi
call fcn.004944e0
test al, al
je 0x4bbf9e
mov eax, dword [ebx + 0x84]
call fcn.00494134
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bbf9e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bbf92
push 0
mov eax, dword [ebx + 0x84]
call fcn.00494134
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048b10c
jmp 0x4bbf9e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bbd68
pop esi
pop ebx
ret

Function at 0x4bf374
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004068a8
xor eax, eax
push ebp
push 0x4bf420
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x810]
mov edx, dword [ebp - 4]
call fcn.0041313c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x810]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4bf40a
mov eax, ebx
call fcn.004041d4
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x810]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4bf430
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4bf403
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x4bf403
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, esi
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf427
lea eax, [ebp - 4]
call fcn.004068b0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040694c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4c6045
test al, 0x10
jne 0x4c6049
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4c6050
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.004068a8
xor eax, eax
push ebp
push 0x4c623d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00404808
mov edi, eax
lea eax, [ebp - 0x2cc]
xor ecx, ecx
mov edx, 0x2b4
call fcn.0040476c
cmp dword [ebp + 0x20], 0
je 0x4c610b
cmp dword [ebp - 0x10], 0
je 0x4c610b
mov eax, dword [ebp + 0x20]
call fcn.00412c90
test al, al
jne 0x4c60c1
mov eax, dword [ebp + 0x20]
call fcn.004c602c
test al, al
je 0x4c60e4
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.0040694c
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x4c6105
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.0040694c
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edi, dword [ebp - 0x2c8]
cmp byte [ebp + 0x1c], 0
je 0x4c6132
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
push 0x4c6250
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
jmp 0x4c6151
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
push 0x4c6250
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00430d94
test bl, bl
je 0x4c6191
cmp byte [ebp + 0x14], 0
jne 0x4c6191
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00451920
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x4c6227
mov dl, 1
mov eax, dword [0x44d270]
call fcn.00456898
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, ebx
call fcn.004571b8
call fcn.00451920
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d8], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.004045e8
add eax, dword [ebp - 8]
mov dword [ebp - 0x2d4], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.004045e8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d0], eax
mov ecx, ebx
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 4]
call fcn.004c5f50
mov eax, ebx
call fcn.00404da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6244
lea eax, [ebp + 0x20]
call fcn.004068b0
ret

Function at 0x4cde00
Capabilities:
Check os version

Disassembly:
call sub.kernel32.dll_GetVersion_1
movzx edx, al
movzx eax, ax
shr eax, 8
movzx eax, al
cmp edx, 5
ja 0x4cde23
cmp edx, 5
jne 0x4cde20
cmp eax, 1
jae 0x4cde23
xor eax, eax
ret
mov al, 1
ret
Function at 0x4cdf44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004068a8
xor eax, eax
push ebp
push 0x4cdff0
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x210]
mov edx, dword [ebp - 4]
call fcn.0041313c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4cdfda
mov eax, ebx
call fcn.004041d4
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4ce000
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4cdfd3
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x4cdfd3
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, esi
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdff7
lea eax, [ebp - 4]
call fcn.004068b0
ret

Function at 0x4ce004
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
test dl, dl
je 0x4ce01a
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00496c48
mov edx, 0x87
mov eax, ebx
call fcn.0048a82c
mov edx, 0x14
mov eax, ebx
call fcn.0048a860
mov dword [ebx + 0x2a0], 0xff0000
mov byte [ebx + 0x2a8], 0
mov dl, 1
mov eax, dword [0x4c1e30]
call fcn.00404d78
mov dword [ebx + 0x2a4], eax
test byte [ebx + 0x1c], 0x10
je 0x4ce07b
mov eax, dword [ebx + 4]
test byte [eax + 0x1c], 2
jne 0x4ce07b
mov eax, dword [ebx + 4]
test byte [eax + 0x1c], 1
je 0x4ce07f
xor eax, eax
jmp 0x4ce081
mov al, 1
test al, al
je 0x4ce092
lea edx, [ebx + 0x2ac]
mov eax, dword [ebx]
call fcn.00404c80
mov dword [ebx + 0x2b4], 1
mov dword [ebx + 0x2b8], 0x808080
mov dword [ebx + 0x2cc], 0x808080
mov byte [ebx + 0x27b], 1
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x114], 5
ja 0x4ce0ec
cmp dword [ebp - 0x114], 5
jne 0x4ce0e8
cmp dword [ebp - 0x110], 1
jae 0x4ce0ec
xor eax, eax
jmp 0x4ce0ee
mov al, 1
mov byte [ebx + 0x2bc], al
mov dl, 1
mov eax, dword [0x44d270]
call fcn.00456898
mov dword [ebx + 0x2c4], eax
mov byte [ebx + 0x2c8], 0
mov byte [ebx + 0x2c9], 0
mov byte [ebx + 0x2ca], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ce132
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret