joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2078
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4d20cd
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d20d4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d2144
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4d21b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d19c8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0046438c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4d21a3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d21c0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d21c8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4d223d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d19c8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4d2227
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2244
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4d9688
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 0x4d96a9
test edi, 0x40000
je 0x4d96c3
test bl, bl
jne 0x4d9744
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4d9744
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 0x4d96f6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4d970b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4d971a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4d972b
cmp byte [esp + 2], 0
je 0x4d9744
cmp byte [esp + 2], 0
je 0x4d973c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4d9744
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4d99f0
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 0x4d9a16
mov eax, esp
push eax
push 0x4d99b8
call sub.user32.dll_EnumWindows
jmp 0x4d9a29
mov eax, esp
push eax
push 0x4d9998
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4d9aec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4d9b3c]
test bl, 4
je 0x4d9b00
or si, 1
test bl, 8
je 0x4d9b09
or si, 4
test bl, 1
je 0x4d9b12
or si, 8
test bl, 2
je 0x4d9b1b
or si, 0x10
test bl, 0x10
je 0x4d9b24
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d9b34
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4d9b40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4d9b7c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d9b5b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d9b6b
or bx, 4
test esi, 0x20000000
je 0x4d9b77
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4e2674
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4e2686
add esp, 0xfffffff0
call fcn.004055b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044ef94
mov eax, dword [0x5c76d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4e2ab0
mov eax, dword [0x5c76ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x4e2abc
mov eax, ebx
call fcn.004e2ac8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
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, 0x4dd4ec
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004e30bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4e2edc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4e2edc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4e2edc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4e2edc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4e2edc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4e27fd
call fcn.00405608
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e2c7c
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 0x4e2e27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4e2e08
mov dl, 1
mov eax, dword [0x439db4]
call fcn.00446718
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406b08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4e2df7
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.0048cddc
test al, al
je 0x4e2dea
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, 0x4e2e38
lea eax, [ebp - 0x394]
call fcn.0041f534
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4e2dea
xor eax, eax
push ebp
push 0x4e2de3
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 0x4e2ea8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4e2dcc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407740
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 0x4e2dcc
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2dea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4e2ced
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00446654
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 0x4e2e2e
lea eax, [ebp - 0x3a0]
call fcn.00406b08
ret

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

Disassembly:
push ecx
mov eax, dword [0x5cd2f0]
cmp byte [eax + 0xad], 0
jne 0x4e3a46
cmp dword [0x5cd308], 0
jne 0x4e3a06
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x5c2ab4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5cd308], eax
cmp dword [0x5cd304], 0
jne 0x4e3a21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5cd304], eax
cmp dword [0x5cd30c], 0
jne 0x4e3a46
push esp
push 0
push 0
mov eax, dword [0x5c2ab0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5cd30c], eax
pop edx
ret
Function at 0x4e3d5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4e3d73
add esp, 0xfffffff0
call fcn.004055b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044ef94
mov eax, dword [0x5c7484]
cmp byte [eax], 0
jne 0x4e3da0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5c7a28]
cmp word [eax + 2], 0
jne 0x4e3dba
mov eax, dword [0x5c7a28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004e5e24
mov eax, dword [0x5c7be8]
cmp word [eax + 2], 0
jne 0x4e3dd4
mov eax, dword [0x5c7be8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004e6028
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4e65a0
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
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 [0x45da40]
call fcn.00468dc8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4e3fb4
mov eax, dword [0x5c77ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046925c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4e6888
mov dl, 1
mov eax, dword [0x43744c]
call fcn.00405050
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5c77ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f330
test eax, eax
je 0x4e3ee5
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041f0e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f314
test eax, eax
je 0x4e3efd
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407740
push ebx
push 0x4e5810
call fcn.004d9ad0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5c7484]
cmp byte [eax], 0
jne 0x4e3f4e
mov eax, ebx
call fcn.004e4128
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.004e6ab4
mov eax, ebx
call fcn.004e76e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4e3fab
call fcn.00405608
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e43f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4e4496
cmp dword [ebx + 0x94], 0
jne 0x4e4490
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4e4340
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4e4490
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 0x4e4456
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4e4490
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.0044294c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4e4465
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5cd2f0]
cmp dword [eax + 0x170], 0
je 0x4e4819
test bl, bl
jne 0x4e4767
cmp dword [esi + 0x9c], 0
jne 0x4e475c
mov eax, esi
call fcn.004e7534
push eax
push 0x4e45c0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4e472d
mov eax, dword [0x5cd2f0]
cmp byte [eax + 0xd3], 0
je 0x4e472d
mov eax, dword [esi + 0xd8]
call fcn.00408904
mov edi, eax
cmp edi, 0
jl 0x4e472d
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 0x4e4716
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4e475c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0044294c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4e473c
inc dword [esi + 0x9c]
jmp 0x4e4819
cmp dword [esi + 0x9c], 0
jle 0x4e4819
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4e4819
cmp dword [esi + 0x44], 0
je 0x4e47c4
mov eax, dword [0x5cd2f0]
cmp byte [eax + 0xd3], 0
je 0x4e47c4
mov eax, dword [esi + 0xd8]
call fcn.00408904
mov edi, eax
cmp edi, 0
jl 0x4e47c4
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 0x4e47ad
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4e47f3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0044294c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4e47d3
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 [0x4d79a8]
call fcn.00408ac4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4e545c
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 0x4e54c7
cmp byte [ebx + 0xd3], 0
jne 0x4e54c7
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.00406c90
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4e54b4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4e54d4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ee8
jmp 0x4e54d4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ee8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4e6c9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4e6d0a
mov eax, esi
call fcn.00486d18
test al, al
je 0x4e6d0a
mov eax, dword [ebx + 0x84]
call fcn.0048696c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e6d0a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4e6cfe
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048696c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047d8e8
jmp 0x4e6d0a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004e6ad4
pop esi
pop ebx
ret
Function at 0x4fa808
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040769c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4fa821
test al, 0x10
jne 0x4fa825
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x4fa952
push ebx
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4fa94a
test al, 0x10
je 0x4fa94e
xor eax, eax
jmp 0x4fa954
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040769c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4faf75
test al, 0x10
jne 0x4faf79
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4fb574
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4fb62a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x4fb614
lea eax, [ebp - 4]
mov edx, edi
call fcn.00407818
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4fb614
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4fb63c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4fb614
cmp dword [ebp - 0xc], 0x34
jne 0x4fb614
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb631
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x4fb6a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x4fb6b9
add esp, 0xfffffff0
call fcn.004055b0
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, edi
call fcn.004fa934
test al, al
jne 0x4fb6ef
mov dword [ebp - 0x10], edi
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x5c77bc]
mov dl, 1
mov eax, dword [0x4f94bc]
call fcn.00423698
call fcn.004061f0
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x4fb722
mov ecx, dword [0x5c793c]
mov dl, 1
mov eax, dword [0x4f94bc]
call fcn.004235c8
call fcn.004061f0
lea eax, [ebx + 4]
xor ecx, ecx
mov edx, esi
call fcn.00407308
mov eax, dword [ebx + 4]
call fcn.004072f8
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
call fcn.004252d4
mov eax, ebx
call fcn.004fbf1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4fb76c
call fcn.00405608
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fcc60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 5], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fcce4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23]
mov edx, 0x1e
call fcn.005035f8
mov dword [ebp - 0x23], ebx
mov dword [ebp - 0x1f], 3
lea eax, [ebp - 4]
mov ecx, 0x4fcd00
mov edx, esi
call fcn.004078f0
mov eax, dword [ebp - 4]
call fcn.0040769c
mov dword [ebp - 0x1b], eax
movzx eax, byte [ebp - 5]
call fcn.004fcc38
mov word [ebp - 0x13], ax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcceb
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x4fd1b8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4fd30d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00406b08
lea eax, [ebp - 4]
mov ecx, 0x4fd328
mov edx, esi
call fcn.004078f0
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4fd2e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x20
lea eax, [ebp - 0x23e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4fd2c9
sub bl, 1
jb 0x4fd261
je 0x4fd270
dec bl
je 0x4fd2bc
jmp 0x4fd2c9
mov edx, edi
lea eax, [ebp - 0x21e]
call fcn.0041f430
jmp 0x4fd2c9
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0041e04c
push dword [ebp - 0x244]
push 0x4fd33c
lea ecx, [ebp - 0x248]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.0041e04c
push dword [ebp - 0x248]
mov eax, edi
mov edx, 3
call fcn.00407978
jmp 0x4fd2c9
mov edx, edi
lea eax, [ebp - 0x23e]
call fcn.0041f430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd2e7
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret