joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480dd8
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.0040a56c
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.0047ae10
test ebx, ebx
jne 0x480e2b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00480c54
mov ebx, eax
test ebx, ebx
je 0x480f21
cmp esi, ebx
je 0x480e54
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 0x480e69
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 0x480ea1
add eax, 0xffffff5f
sub eax, 2
jb 0x480eb9
dec eax
sub eax, 2
jb 0x480ecd
dec eax
sub eax, 2
jb 0x480ec3
jmp 0x480ed7
add eax, 0xfffffdff
sub eax, 2
jb 0x480eb9
dec eax
sub eax, 2
jb 0x480ecd
dec eax
sub eax, 2
jb 0x480ec3
jmp 0x480ed7
mov byte [esp + 0x120], 0
jmp 0x480edf
mov byte [esp + 0x120], 2
jmp 0x480edf
mov byte [esp + 0x120], 1
jmp 0x480edf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0049eda0
mov esi, eax
call fcn.0047764c
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.0047c7d0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x480f23
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x49e8a8
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 0x49e8c9
test edi, 0x40000
je 0x49e8e3
test bl, bl
jne 0x49e964
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x49e964
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 0x49e916
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x49e92b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x49e93a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x49e94b
cmp byte [esp + 2], 0
je 0x49e964
cmp byte [esp + 2], 0
je 0x49e95c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x49e964
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x49ec10
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 0x49ec36
mov eax, esp
push eax
push 0x49ebd8
call sub.user32.dll_EnumWindows
jmp 0x49ec49
mov eax, esp
push eax
push 0x49ebb8
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 0x49ed0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x49ed5c]
test bl, 4
je 0x49ed20
or si, 1
test bl, 8
je 0x49ed29
or si, 4
test bl, 1
je 0x49ed32
or si, 8
test bl, 2
je 0x49ed3b
or si, 0x10
test bl, 0x10
je 0x49ed44
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ed54
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x49ed60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x49ed9c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ed7b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ed8b
or bx, 4
test esi, 0x20000000
je 0x49ed97
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4a7960
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a7972
add esp, 0xfffffff0
call fcn.004052e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043c508
mov eax, dword [0x4ee604]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a7dbc
mov eax, dword [0x4ee614]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a7dc8
mov eax, ebx
call fcn.004a7dd4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
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, 0x4a2708
push eax
push 0
push 0
mov eax, dword [0x4ee864]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a832c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a819c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a819c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a819c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a819c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a819c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a7aed
call fcn.00405338
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a7f3c
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 0x4a80e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a80ca
mov dl, 1
mov eax, dword [0x428108]
call fcn.00433f80
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406918
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a80b9
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.0048a664
test al, al
je 0x4a80ac
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, 0x4a80f8
lea eax, [ebp - 0x394]
call fcn.00412354
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a80ac
xor eax, eax
push ebp
push 0x4a80a5
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 0x4a8168
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a808e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b00
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 0x4a808e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a80ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a7faf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00433ebc
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 0x4a80f0
lea eax, [ebp - 0x3a0]
call fcn.00406908
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f4280]
cmp byte [eax + 0xad], 0
jne 0x4a8cba
cmp dword [0x4f4298], 0
jne 0x4a8c7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4eceac]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4f4298], eax
cmp dword [0x4f4294], 0
jne 0x4a8c95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4f4294], eax
cmp dword [0x4f429c], 0
jne 0x4a8cba
push esp
push 0
push 0
mov eax, dword [0x4ecea8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f429c], eax
pop edx
ret
Function at 0x4a8fe0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a8ff7
add esp, 0xfffffff0
call fcn.004052e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043c508
mov eax, dword [0x4ee4b8]
cmp byte [eax], 0
jne 0x4a9024
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ee838]
cmp word [eax + 2], 0
jne 0x4a903e
mov eax, dword [0x4ee838]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab0d8
mov eax, dword [0x4ee974]
cmp word [eax + 2], 0
jne 0x4a9058
mov eax, dword [0x4ee974]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab2e8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x446d48]
call fcn.0044bd50
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ab898
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
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 [0x44a3e0]
call fcn.00452b48
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a9238
mov eax, dword [0x4ee6bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00452fdc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4abb80
mov dl, 1
mov eax, dword [0x425a08]
call fcn.00404d94
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4ee6bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00412160
test eax, eax
je 0x4a9169
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411f44
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00412144
test eax, eax
je 0x4a9181
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.00406b00
push ebx
push 0x4aaaa8
call fcn.0049ecf0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4ee4b8]
cmp byte [eax], 0
jne 0x4a91d2
mov eax, ebx
call fcn.004a93ac
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.004abdac
mov eax, ebx
call fcn.004ac9e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a922f
call fcn.00405338
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9680
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a9722
cmp dword [ebx + 0x94], 0
jne 0x4a971c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a95cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a971c
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 0x4a96e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a971c
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.00430914
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a96f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f4280]
cmp dword [eax + 0x170], 0
je 0x4a9aa5
test bl, bl
jne 0x4a99f3
cmp dword [esi + 0x9c], 0
jne 0x4a99e8
mov eax, esi
call fcn.004ac830
push eax
push 0x4a984c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a99b9
mov eax, dword [0x4f4280]
cmp byte [eax + 0xd3], 0
je 0x4a99b9
mov eax, dword [esi + 0xd8]
call fcn.00407f48
mov edi, eax
cmp edi, 0
jl 0x4a99b9
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 0x4a99a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a99e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430914
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a99c8
inc dword [esi + 0x9c]
jmp 0x4a9aa5
cmp dword [esi + 0x9c], 0
jle 0x4a9aa5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a9aa5
cmp dword [esi + 0x44], 0
je 0x4a9a50
mov eax, dword [0x4f4280]
cmp byte [eax + 0xd3], 0
je 0x4a9a50
mov eax, dword [esi + 0xd8]
call fcn.00407f48
mov edi, eax
cmp edi, 0
jl 0x4a9a50
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 0x4a9a39
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9a7f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430914
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9a5f
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 [0x49cbc8]
call fcn.00408108
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4aa6f4
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 0x4aa75f
cmp byte [ebx + 0xd3], 0
jne 0x4aa75f
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.00406a54
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4aa74c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4aa76c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406918
jmp 0x4aa76c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406918
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4abf94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ac002
mov eax, esi
call fcn.004845d8
test al, al
je 0x4ac002
mov eax, dword [ebx + 0x84]
call fcn.0048422c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ac002
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4abff6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048422c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b200
jmp 0x4ac002
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004abdcc
pop esi
pop ebx
ret
Function at 0x40608f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a74], 0
push esi
jne 0x4060c6
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4060a0
mov dword [ecx*4 + 0x422a70], eax
inc ecx
cmp ecx, 0x100
jl 0x40609b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060f7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a70]
xor eax, esi
inc ecx
dec edx
jne 0x4060d9
pop edi
not eax
pop esi
ret 0xc

Function at 0x10610
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov word [ebp - 0x14], 0xc
mov word [ebp - 0x12], 0xe
mov dword [ebp - 0x10], 0x105a0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
push 0x105b0
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
test eax, eax
je 0x10693
lea edx, [ebp - 0x14]
push edx
push 0x10510
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x10687
push 0x105c8
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x10646
push 0x105e8
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10e85
Capabilities:
Create device object
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x10e04]
test eax, eax
mov ecx, 0xbb40
je 0x10e9c
cmp eax, ecx
jne 0x10ebf
mov edx, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, 0x10e04
shr eax, 8
xor eax, dword [edx]
and eax, 0xffff
mov dword [0x10e04], eax
jne 0x10ebf
mov eax, ecx
mov dword [0x10e04], eax
not eax
mov dword [section..data], eax
pop ebp
jmp 0x10b80
Function at 0x1019ef15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1019ef3c
call fcn.100b6021
mov dword [eax], esi
call fcn.100b600e
push 0x16
pop esi
mov dword [eax], esi
call fcn.100b4b8f
mov eax, esi
jmp 0x1019ef91
test dword [ebp + 0xc], 0xfffffff9
jne 0x1019ef22
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1019ef69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100b6034
pop ecx
call fcn.100b600e
mov eax, dword [eax]
jmp 0x1019ef91
test al, 0x10
jne 0x1019ef8f
test al, 1
je 0x1019ef8f
test byte [ebp + 0xc], 2
je 0x1019ef8f
call fcn.100b6021
mov dword [eax], 5
call fcn.100b600e
mov dword [eax], 0xd
jmp 0x1019ef60
xor eax, eax
pop esi
pop ebp
ret

Function at 0x7ce17c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ce186
pushal
call 0x7ce18c
pop ebp
sub ebp, 0x10
sub ebp, 0x3ce17c
jmp 0x7ce1a2
mov eax, 0x3ce17c
add eax, ebp
add eax, 0x4c
mov ecx, 0x61e
mov edx, 0xb9f6a4ad
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ce1b9
jmp 0x7ce1cc
pushal
and al, 0x91
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
sub al, 0x6c
push ebp
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
scasb al, byte es:[edi]
pushal
adc eax, 0xadadada9
pop ss
test dword [ebp + 0x4f5aadad], ebp
scasb al, byte es:[edi]
sub al, 0xa1
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
scasb al, byte es:[edi]
push 0x5189c920
and al, 0xa9
mov ebp, edi
lds edi, [ecx - 0x3a525cfe]
retf
Function at 0x4011c0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push 0x3e8
push 0
push 0
push 0x32
push 0
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x57d284], eax
cmp eax, 0xffffffff
jne 0x40120d
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x40123c
mov ecx, dword [0x57d284]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4011fb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40125b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop ebp
ret 4

Function at 0x401430
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x573ab4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x18]
push eax
push 8
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401525
push 0x400
call fcn.00406ba2
mov esi, eax
add esp, 4
test esi, esi
je 0x401535
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push ecx
push 0x400
push esi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x401528
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401528
xor edi, edi
mov dword [ebp - 0x10], 0
cmp dword [esi], edi
jbe 0x401516
push ebx
lea ebx, [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40150e
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x4014e5
mov edx, dword [ebp - 0x14]
pop ebx
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edi, dword [ebp - 0x10]
jmp 0x401528
mov dword [ebp - 0x10], 1
pop ebx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edi, dword [ebp - 0x10]
jmp 0x401528
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x401535
push esi
call fcn.00406bad
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.005057b0
mov esp, ebp
pop ebp
ret