joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a588
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x49a768
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0047487c
mov eax, dword [esi]
cmp byte [eax + 0x278], 0
je 0x49a74d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x288]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2e8]
jb 0x49a5ee
mov eax, dword [esi]
add eax, 0x284
call fcn.00406920
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x288], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 8
je 0x49a6d4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 0xd800
jb 0x49a61d
cmp ax, 0xdfff
jbe 0x49a621
xor eax, eax
jmp 0x49a623
mov al, 1
test al, al
je 0x49a691
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.00475b20
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x49a718
mov eax, dword [esi]
push dword [eax + 0x284]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.00407274
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00407274
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x284
mov edx, 3
call fcn.00407528
mov eax, dword [ebp - 8]
mov word [eax], 0
jmp 0x49a718
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.00407274
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x284
call fcn.00407448
jmp 0x49a718
mov eax, dword [esi]
mov ebx, dword [eax + 0x284]
test ebx, ebx
je 0x49a6c1
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x284
mov ecx, 1
mov edx, ebx
call fcn.00407658
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
call fcn.00406dc4
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
call fcn.00420afc
cmp al, 2
je 0x49a6b0
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
test eax, eax
je 0x49a705
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x284
mov ecx, 1
xchg edx, eax
call fcn.00407658
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
test eax, eax
je 0x49a729
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x49a736
push ebp
call fcn.0049a4a0
pop ecx
jmp 0x49a74d
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, dword [esi]
mov si, 0xffec
call fcn.00405154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a76f
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00406980
ret
Function at 0x4a6b58
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 0x4a6b79
test edi, 0x40000
je 0x4a6b93
test bl, bl
jne 0x4a6c14
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4a6c14
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 0x4a6bc6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4a6bdb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4a6bea
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4a6bfb
cmp byte [esp + 2], 0
je 0x4a6c14
cmp byte [esp + 2], 0
je 0x4a6c0c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4a6c14
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a6ec0
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 0x4a6ee6
mov eax, esp
push eax
push 0x4a6e88
call sub.user32.dll_EnumWindows
jmp 0x4a6ef9
mov eax, esp
push eax
push 0x4a6e68
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 0x4a6fbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4a700c]
test bl, 4
je 0x4a6fd0
or si, 1
test bl, 8
je 0x4a6fd9
or si, 4
test bl, 1
je 0x4a6fe2
or si, 8
test bl, 2
je 0x4a6feb
or si, 0x10
test bl, 0x10
je 0x4a6ff4
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a7004
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a7010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4a704c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a702b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a703b
or bx, 4
test esi, 0x20000000
je 0x4a7047
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4afb44
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4afb56
add esp, 0xfffffff0
call fcn.004053e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044669c
mov eax, dword [0x4bffb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4aff80
mov eax, dword [0x4bffbc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4aff8c
mov eax, ebx
call fcn.004aff98
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
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, 0x4aa9bc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b04f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0360
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0360
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0360
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0360
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0360
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4afccd
call fcn.0040543c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b0100
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 0x4b02ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b028c
mov dl, 1
mov eax, dword [0x431714]
call fcn.0043de0c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406920
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b027b
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.0047bf40
test al, al
je 0x4b026e
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, 0x4b02bc
lea eax, [ebp - 0x394]
call fcn.0041bd38
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b026e
xor eax, eax
push ebp
push 0x4b0267
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 0x4b032c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b0250
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004072f0
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 0x4b0250
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004072f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b026e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b0171
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043dd48
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 0x4b02b2
lea eax, [ebp - 0x3a0]
call fcn.00406920
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c6254]
cmp byte [eax + 0xad], 0
jne 0x4b0e7a
cmp dword [0x4c626c], 0
jne 0x4b0e3a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4bfe84]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4c626c], eax
cmp dword [0x4c6268], 0
jne 0x4b0e55
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4c6268], eax
cmp dword [0x4c6270], 0
jne 0x4b0e7a
push esp
push 0
push 0
mov eax, dword [0x4bfe80]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c6270], eax
pop edx
ret
Function at 0x4b1190
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b11a7
add esp, 0xfffffff0
call fcn.004053e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044669c
mov eax, dword [0x4bfeec]
cmp byte [eax], 0
jne 0x4b11d4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4c0134]
cmp word [eax + 2], 0
jne 0x4b11ee
mov eax, dword [0x4c0134]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b3258
mov eax, dword [0x4c0204]
cmp word [eax + 2], 0
jne 0x4b1208
mov eax, dword [0x4c0204]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b345c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44d710]
call fcn.004529a4
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b39d4
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
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 [0x451008]
call fcn.004597ec
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b13e8
mov eax, dword [0x4c0030]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459c80
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b3cbc
mov dl, 1
mov eax, dword [0x42ef38]
call fcn.00404e9c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4c0030]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041bb60
test eax, eax
je 0x4b1319
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041b914
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041bb44
test eax, eax
je 0x4b1331
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.004072f0
push ebx
push 0x4b2c44
call fcn.004a6fa0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4bfeec]
cmp byte [eax], 0
jne 0x4b1382
mov eax, ebx
call fcn.004b155c
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.004b3ee8
mov eax, ebx
call fcn.004b4b18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b13df
call fcn.0040543c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1828
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b18ca
cmp dword [ebx + 0x94], 0
jne 0x4b18c4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b1774
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b18c4
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 0x4b188a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b18c4
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.0043a2a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b1899
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c6254]
cmp dword [eax + 0x170], 0
je 0x4b1c4d
test bl, bl
jne 0x4b1b9b
cmp dword [esi + 0x9c], 0
jne 0x4b1b90
mov eax, esi
call fcn.004b4968
push eax
push 0x4b19f4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b1b61
mov eax, dword [0x4c6254]
cmp byte [eax + 0xd3], 0
je 0x4b1b61
mov eax, dword [esi + 0xd8]
call fcn.004081d0
mov edi, eax
cmp edi, 0
jl 0x4b1b61
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 0x4b1b4a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b1b90
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a2a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b1b70
inc dword [esi + 0x9c]
jmp 0x4b1c4d
cmp dword [esi + 0x9c], 0
jle 0x4b1c4d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b1c4d
cmp dword [esi + 0x44], 0
je 0x4b1bf8
mov eax, dword [0x4c6254]
cmp byte [eax + 0xd3], 0
je 0x4b1bf8
mov eax, dword [esi + 0xd8]
call fcn.004081d0
mov edi, eax
cmp edi, 0
jl 0x4b1bf8
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 0x4b1be1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b1c27
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a2a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b1c07
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 [0x4a4e78]
call fcn.00408390
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b2890
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 0x4b28fb
cmp byte [ebx + 0xd3], 0
jne 0x4b28fb
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.00406a88
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b28e8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b2908
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ce0
jmp 0x4b2908
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ce0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b40d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b413e
mov eax, esi
call fcn.00475ecc
test al, al
je 0x4b413e
mov eax, dword [ebx + 0x84]
call fcn.00475b20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b413e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b4132
push 0
mov eax, dword [ebx + 0x84]
call fcn.00475b20
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046ca9c
jmp 0x4b413e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b3f08
pop esi
pop ebx
ret
Function at 0x40105e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x40111b
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401134
push ebx
call fcn.00415915
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x401163
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4a34d9
mov eax, 2
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x40118d
push 6
call fcn.00415921
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x401221
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x401246
push 6
call fcn.00415921
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x40124e
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40125f
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00415915
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x402fbd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0041591b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 6
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x40307a
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403093
push ebx
call fcn.00415915
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 7
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x4030c2
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4a34d9
mov eax, 8
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x4030ec
push 6
call fcn.00415921
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 9
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x403180
push 6
call fcn.00415921
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0xa
call fcn.00415927
cmp dword [ebp - 0x20], esp
je 0x4031a5
push 6
call fcn.00415921
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4031ad
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4031be
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00415915
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00415915
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret