joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57efc0
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 0x57f007
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57efea
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57effb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x57f007
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x58c2b8
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 0x58c2d9
test edi, 0x40000
je 0x58c2f3
test bl, bl
jne 0x58c374
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x58c374
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 0x58c326
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x58c33b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x58c34a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x58c35b
cmp byte [esp + 2], 0
je 0x58c374
cmp byte [esp + 2], 0
je 0x58c36c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x58c374
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x58c618
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 0x58c63e
mov eax, esp
push eax
push 0x58c5e0
call sub.user32.dll_EnumWindows
jmp 0x58c651
mov eax, esp
push eax
push 0x58c5c0
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 0x58c714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x58c726
or si, 1
test bl, 8
je 0x58c72f
or si, 4
test bl, 1
je 0x58c738
or si, 8
test bl, 2
je 0x58c741
or si, 0x10
test bl, 0x10
je 0x58c74a
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58c75a
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x58c760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58c779
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58c789
or bx, 4
test esi, 0x20000000
je 0x58c795
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x59a8a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x59a8ba
add esp, 0xfffffff0
call fcn.0040845c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004b5070
mov eax, dword [0x67b748]
mov dword [eax + 4], ebx
mov dword [eax], 0x59ad98
mov eax, dword [0x67b75c]
mov dword [eax + 4], ebx
mov dword [eax], 0x59ada4
mov eax, ebx
call fcn.0059adb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x594660
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x8c], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x90], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x88], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x94], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x98], esi
mov byte [esi + 0x25], 1
mov eax, ebx
call fcn.0059b478
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59b178
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59b178
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59b178
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59b178
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59b178
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x59aa58
call fcn.004084b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x59af14
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 0x59b0c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x59b0a3
mov dl, 1
mov eax, dword [0x47a57c]
call fcn.004a6d20
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409ce4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x59b092
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.00524900
test al, al
je 0x59b085
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x59b0d4
lea eax, [ebp - 0x394]
call fcn.00424a04
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x59b085
xor eax, eax
push ebp
push 0x59b07e
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 0x59b144
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x59b065
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x59b065
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b085
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x59af85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004a6c48
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b0cb
lea eax, [ebp - 0x3a0]
call fcn.00409ce4
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x682bf8]
cmp byte [eax + 0xc5], 0
jne 0x59be7e
cmp dword [0x682c1c], 0
jne 0x59be3e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x67ac3c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x682c1c], eax
cmp dword [0x682c18], 0
jne 0x59be59
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x682c18], eax
cmp dword [0x682c20], 0
jne 0x59be7e
push esp
push 0
push 0
mov eax, dword [0x67ac38]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x682c20], eax
pop edx
ret
Function at 0x59c228
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x59c23f
add esp, 0xfffffff0
call fcn.0040845c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004b5070
mov eax, dword [0x67b568]
cmp byte [eax], 0
jne 0x59c26c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x67ba3c]
cmp word [eax + 2], 0
jne 0x59c286
mov eax, dword [0x67ba3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0059e6b0
mov eax, dword [0x67bbc8]
cmp word [eax + 2], 0
jne 0x59c2a0
mov eax, dword [0x67bbc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0059eac8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4e5e04]
call fcn.004ed14c
mov esi, eax
mov dword [ebx + 0x54], esi
mov byte [esi + 0x25], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x59ef78
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4e9f80]
call fcn.004f45f8
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x59c494
mov eax, dword [0x67b820]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004f4b5c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x59f23c
mov dl, 1
mov eax, dword [0x4766dc]
call fcn.00407f08
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x67b820]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00424804
test eax, eax
je 0x59c3b7
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004245d4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004247e8
test eax, eax
je 0x59c3cf
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
push ebx
push 0x59e088
call fcn.0058c6f8
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x67b568]
cmp byte [eax], 0
jne 0x59c420
mov eax, ebx
call fcn.0059c65c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0059f5e4
mov eax, ebx
call fcn.005a011c
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x59c48b
call fcn.004084b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59c98c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x59ca2e
cmp dword [ebx + 0xac], 0
jne 0x59ca28
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x59c8cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x59ca28
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 0x59c9ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x59ca28
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004a2708
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x59c9fd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x682bf8]
cmp dword [eax + 0x190], 0
je 0x59cec9
test bl, bl
jne 0x59ce1e
cmp dword [esi + 0xb4], 0
jne 0x59ce13
mov eax, esi
call fcn.0059ff6c
push eax
push 0x59cc6c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x59cde4
mov eax, dword [0x682bf8]
cmp byte [eax + 0xeb], 0
je 0x59cde4
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x59cdc5
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x59cde4
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x59cdcd
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x59ce13
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a2708
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x59cdf3
inc dword [esi + 0xb4]
jmp 0x59cec9
cmp dword [esi + 0xb4], 0
jle 0x59cec9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x59cec9
cmp dword [esi + 0x58], 0
je 0x59ce7e
mov eax, dword [0x682bf8]
cmp byte [eax + 0xeb], 0
je 0x59ce7e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x59ce5f
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x59ce7e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x59ce67
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x59cead
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a2708
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x59ce8d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x588948]
call fcn.0040d0b0
pop edi
pop esi
pop ebx
ret
Function at 0x59dc94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x59dcef
cmp byte [ebx + 0xeb], 0
jne 0x59dcef
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e7c
mov eax, dword [esi]
test eax, eax
je 0x59dcdc
mov eax, dword [eax - 4]
test eax, eax
jne 0x59dcfc
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0d4
jmp 0x59dcfc
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0d4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x59f7f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x59f869
mov eax, esi
call fcn.0051e3a4
test al, al
je 0x59f869
mov eax, dword [ebx + 0x98]
call fcn.0051df3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x59f869
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x59f85a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051df3c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005141ec
jmp 0x59f869
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0059f604
pop esi
pop ebx
ret
Function at 0x5a805c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5a80e2
mov eax, dword [ebx + 8]
call fcn.0051df3c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52b3b8]
call fcn.00517a4c
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.00530ae8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5a792c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051df3c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051df3c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5a8164
mov eax, dword [ebx + 8]
call fcn.0051df3c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52b3b8]
call fcn.00517a4c
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.00530ae8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5a7978
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0051df3c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0051df3c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5a81e2
mov eax, dword [ebx + 8]
call fcn.0051df3c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52befc]
call fcn.00517a4c
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0051df3c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0051df3c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5dc164
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5dc2bf
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5dc2a2
mov eax, ebx
test eax, eax
je 0x5dc19d
sub eax, 4
mov eax, dword [eax]
jmp 0x5dc19f
xor eax, eax
mov edi, eax
test ebx, ebx
je 0x5dc1af
mov eax, ebx
sub eax, 0xa
movzx eax, word [eax]
jmp 0x5dc1b3
mov ax, 2
cmp ax, 1
jne 0x5dc234
test ebx, ebx
je 0x5dc1c7
mov eax, ebx
sub eax, 0xc
movzx eax, word [eax]
jmp 0x5dc1cf
mov eax, dword [0x67bc18]
movzx eax, word [eax]
push edi
push 0
push 0
movzx eax, ax
mov ecx, ebx
xor edx, edx
call fcn.0041037c
mov edi, eax
cmp edi, 0x100
jle 0x5dc1f7
mov eax, edi
add eax, eax
call fcn.00406e94
mov esi, eax
jmp 0x5dc1fd
lea esi, [ebp - 0x200]
test ebx, ebx
je 0x5dc20b
mov eax, ebx
sub eax, 0xc
movzx edx, word [eax]
jmp 0x5dc214
mov edx, dword [0x67bc18]
movzx edx, word [edx]
mov eax, ebx
test eax, eax
je 0x5dc221
sub eax, 4
mov eax, dword [eax]
jmp 0x5dc223
xor eax, eax
push eax
push esi
push edi
movzx eax, dx
mov ecx, ebx
xor edx, edx
call fcn.0041037c
jmp 0x5dc26d
cmp edi, 0x100
jle 0x5dc249
mov eax, edi
add eax, eax
call fcn.00406e94
mov esi, eax
jmp 0x5dc24f
lea esi, [ebp - 0x200]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004231a4
mov eax, dword [ebp - 0x204]
mov ecx, edi
add ecx, ecx
mov edx, esi
call fcn.004072a0
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x5dc28f
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x5dc279
lea eax, [ebp - 0x200]
cmp esi, eax
je 0x5dc2a4
mov eax, esi
call fcn.00406eb0
jmp 0x5dc2a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dc2c6
lea eax, [ebp - 0x204]
call fcn.00409ce4
pop eax
jmp eax
Function at 0x5fd754
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5fd8f7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x67b1e8], 0
jne 0x5fd8cf
mov eax, dword [0x67b950]
cmp dword [eax], 0
jne 0x5fd797
mov al, 0x1a
call fcn.00406ff4
mov eax, dword [0x682d38]
call fcn.00408adc
or edx, 0xffffffff
call fcn.00408858
xor eax, eax
push ebp
push 0x5fd8c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x67b1e8], 0
jne 0x5fd8ae
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a9f0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004fbde8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x5fd914
call fcn.00424ad4
mov eax, dword [ebp - 0x10]
call fcn.0040a87c
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueW
test eax, eax
jne 0x5fd82f
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a9f0
jmp 0x5fd866
lea eax, [ebp - 4]
mov edx, 0x5fd950
call fcn.0040a11c
xor eax, eax
push ebp
push 0x5fd85c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fbe1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fd866
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x67b1e8], eax
cmp dword [0x67b1e8], 0
jne 0x5fd899
mov ecx, dword [0x67b9ec]
mov dl, 1
mov eax, dword [0x41befc]
call fcn.0042b880
call fcn.004093cc
push 0x5fd964
mov eax, dword [0x67b1e8]
push eax
call fcn.00413ec8
mov dword [0x682d3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd8cf
mov eax, dword [0x682d38]
call fcn.00408a38
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd8fe
lea eax, [ebp - 0x1c]
call fcn.00409ce4
lea eax, [ebp - 0x10]
call fcn.00409ce4
lea eax, [ebp - 4]
call fcn.00409ce4
pop eax
jmp eax