joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e77e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e793f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x558478], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x459a04]
call fcn.0045ac54
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4e7915
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0045ad4c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00407898
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4e7958
call fcn.00407a48
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0045afe0
test al, al
je 0x4e78ff
lea ecx, [ebp - 4]
mov edx, 0x4e79cc
mov eax, dword [ebp - 0xc]
call fcn.0045b894
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004263d8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e78ff
xor edx, edx
push ebp
push 0x4e78f8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4e79e4
mov eax, dword [ebp - 8]
push eax
call fcn.0040d958
test eax, eax
je 0x4e78e1
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x4e78e1
call fcn.004e776c
test eax, eax
je 0x4e78d1
mov eax, dword [ebx + 0x50]
jmp 0x4e78d4
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x558478]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e78ff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e791c
mov eax, dword [ebp - 0xc]
call fcn.00404f90
ret

Function at 0x4e7a48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4e7a8f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e7a72
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e7a83
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4e7a8f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4ed4d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4ed4fb
test edi, 0x40000
je 0x4ed515
test bl, bl
jne 0x4ed5a4
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x4ed5a4
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 0x4ed548
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4ed564
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x4ed57a
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4ed58b
cmp byte [esp + 2], 0
je 0x4ed5a4
cmp byte [esp + 2], 0
je 0x4ed59c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4ed5a4
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4ed858
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 0x4ed87e
mov eax, esp
push eax
push 0x4ed820
call sub.user32.dll_EnumWindows
jmp 0x4ed891
mov eax, esp
push eax
push 0x4ed800
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 0x4ed954
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4ed9a4]
test bl, 4
je 0x4ed968
or si, 1
test bl, 8
je 0x4ed971
or si, 4
test bl, 1
je 0x4ed97a
or si, 8
test bl, 2
je 0x4ed983
or si, 0x10
test bl, 0x10
je 0x4ed98c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ed99c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4ed9a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4ed9e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ed9c3
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ed9d3
or bx, 4
test esi, 0x20000000
je 0x4ed9df
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4f603c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4f604e
add esp, 0xfffffff0
call fcn.0040559c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00451050
mov eax, dword [0x558a54]
mov dword [eax + 4], ebx
mov dword [eax], 0x4f647c
mov eax, dword [0x558a64]
mov dword [eax + 4], ebx
mov dword [eax], 0x4f6488
mov eax, ebx
call fcn.004f6494
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x4f13bc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.004f6a3c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f68a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f68a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f68a8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f68a8
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f68a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f61cb
call fcn.004055f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f6648
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 0x4f67f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x4f67d4
mov dl, 1
mov eax, dword [0x43af70]
call fcn.004482e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406cbc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4f67c3
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.0048ea60
test al, al
je 0x4f67b6
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, 0x4f6804
lea eax, [ebp - 0x394]
call fcn.0041f40c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4f67b6
xor eax, eax
push ebp
push 0x4f67af
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 0x4f6874
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4f6798
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407898
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x4f6798
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f67b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4f66b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044820c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f67fa
lea eax, [ebp - 0x3a0]
call fcn.00406cbc
ret

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

Disassembly:
push ecx
mov eax, dword [0x55e300]
cmp byte [eax + 0xb1], 0
jne 0x4f72fa
cmp dword [0x55e320], 0
jne 0x4f72ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x55858c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x55e320], eax
cmp dword [0x55e31c], 0
jne 0x4f72d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x55e31c], eax
cmp dword [0x55e324], 0
jne 0x4f72fa
push esp
push 0
push 0
mov eax, dword [0x558588]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55e324], eax
pop edx
ret
Function at 0x4f752c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4f7543
add esp, 0xfffffff0
call fcn.0040559c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00451050
mov eax, dword [0x558934]
cmp byte [eax], 0
jne 0x4f7570
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x558c24]
cmp word [eax + 2], 0
jne 0x4f758a
mov eax, dword [0x558c24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f94d0
mov eax, dword [0x558d44]
cmp word [eax + 2], 0
jne 0x4f75a4
mov eax, dword [0x558d44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f96d4
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x45fa80]
call fcn.004659fc
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4f9b20
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x4642dc]
call fcn.0046efb8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x4f7788
mov eax, dword [0x558aec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046f448
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4f9de0
mov dl, 1
mov eax, dword [0x4377fc]
call fcn.00404f60
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x558aec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f1f0
test eax, eax
je 0x4f76b8
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041ef90
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f1d4
test eax, eax
je 0x4f76d0
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 + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407898
push ebx
push 0x4f8f84
call fcn.004ed938
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x558934]
cmp byte [eax], 0
jne 0x4f7721
mov eax, ebx
call fcn.004f7948
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.004fa028
mov eax, ebx
call fcn.004fac00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f777e
call fcn.004055f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f7c80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x4f7d2c
cmp dword [ebx + 0x98], 0
jne 0x4f7d26
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4f7bb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x4f7d26
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4f7cec
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4f7d26
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00443a98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4f7cfb
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x55e300]
cmp dword [eax + 0x178], 0
je 0x4f80b1
test bl, bl
jne 0x4f7fff
cmp dword [esi + 0xa0], 0
jne 0x4f7ff4
mov eax, esi
call fcn.004faa50
push eax
push 0x4f7e58
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x4f7fc5
mov eax, dword [0x55e300]
cmp byte [eax + 0xd7], 0
je 0x4f7fc5
mov eax, dword [esi + 0xdc]
call fcn.00408974
mov edi, eax
cmp edi, 0
jl 0x4f7fc5
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4f7fae
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4f7ff4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443a98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4f7fd4
inc dword [esi + 0xa0]
jmp 0x4f80b1
cmp dword [esi + 0xa0], 0
jle 0x4f80b1
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x4f80b1
cmp dword [esi + 0x48], 0
je 0x4f805c
mov eax, dword [0x55e300]
cmp byte [eax + 0xd7], 0
je 0x4f805c
mov eax, dword [esi + 0xdc]
call fcn.00408974
mov edi, eax
cmp edi, 0
jl 0x4f805c
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4f8045
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4f808b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443a98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4f806b
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x4ec3b0]
call fcn.00408b20
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4f8cd0
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 0x4f8d3b
cmp byte [ebx + 0xd7], 0
jne 0x4f8d3b
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.00406e44
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4f8d28
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4f8d48
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.0040709c
jmp 0x4f8d48
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.0040709c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4fa210
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x4fa27e
mov eax, esi
call fcn.00488ae0
test al, al
je 0x4fa27e
mov eax, dword [ebx + 0x88]
call fcn.0048872c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4fa27e
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x4fa272
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048872c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0047f950
jmp 0x4fa27e
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.004fa048
pop esi
pop ebx
ret
Function at 0x4fe7ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x4fe866
mov eax, dword [ebx + 8]
call fcn.0048872c
mov ecx, eax
mov dl, 1
mov eax, dword [0x4930c8]
call fcn.00482c84
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00497440
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x4fe0e4
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048872c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048872c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x4fe8dc
mov eax, dword [ebx + 8]
call fcn.0048872c
mov ecx, eax
mov dl, 1
mov eax, dword [0x4930c8]
call fcn.00482c84
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00497440
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x4fe130
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048872c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048872c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x4fe948
mov eax, dword [ebx + 8]
call fcn.0048872c
mov ecx, eax
mov dl, 1
mov eax, dword [0x49386c]
call fcn.00482c84
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048872c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048872c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x542f58
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x543070
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5430fc]
call fcn.00408c44
cmp dword [0x5588d0], 0
jg 0x54304f
lea edx, [ebp - 4]
xor eax, eax
call fcn.00542e68
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [0x542f1c]
call fcn.00408c80
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x543030
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + edx*4]
push esi
push 0
push 2
call sub.kernel32.dll_OpenThread
mov ebx, eax
test ebx, ebx
je 0x54302d
xor eax, eax
push ebp
push 0x543023
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.kernel32.dll_SuspendThread
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040896c
inc eax
push eax
mov eax, dword [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x5430fc]
call fcn.00408b20
add esp, 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040896c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov dword [edx + eax*4 - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54302d
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040896c
cmp eax, dword [ebp - 0x10]
jg 0x542fb7
lea eax, [ebp - 8]
mov edx, dword [0x542f1c]
call fcn.00408c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543077
lea eax, [ebp - 8]
mov edx, dword [0x542f1c]
mov ecx, 2
call fcn.00408074
ret

Function at 0x543080
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5430ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, dword [0x5430fc]
call fcn.00408c80
xor ebx, ebx
jmp 0x5430b8
mov eax, dword [ebp - 4]
mov esi, dword [eax + ebx*4]
push esi
call sub.kernel32.dll_ResumeThread
inc ebx
mov eax, dword [ebp - 4]
call fcn.0040896c
cmp ebx, eax
jl 0x5430ab
lea eax, [ebp - 4]
mov edx, dword [0x5430fc]
call fcn.00408c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5430f5
lea eax, [ebp - 4]
mov edx, dword [0x5430fc]
call fcn.00408c44
ret

Function at 0x5461e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
xor eax, eax
push ebp
push 0x546253
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
test eax, eax
je 0x546206
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x546238
lea edx, [ebp - 8]
mov eax, esi
call fcn.00424ecc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x546270
call fcn.00407a48
mov eax, dword [ebp - 4]
call fcn.00407804
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54625a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406d1c
ret