joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479250
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.0040a774
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.00473274
test ebx, ebx
jne 0x4792a3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004790cc
mov ebx, eax
test ebx, ebx
je 0x479399
cmp esi, ebx
je 0x4792cc
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 0x4792e1
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 0x479319
add eax, 0xffffff5f
sub eax, 2
jb 0x479331
dec eax
sub eax, 2
jb 0x479345
dec eax
sub eax, 2
jb 0x47933b
jmp 0x47934f
add eax, 0xfffffdff
sub eax, 2
jb 0x479331
dec eax
sub eax, 2
jb 0x479345
dec eax
sub eax, 2
jb 0x47933b
jmp 0x47934f
mov byte [esp + 0x120], 0
jmp 0x479357
mov byte [esp + 0x120], 2
jmp 0x479357
mov byte [esp + 0x120], 1
jmp 0x479357
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004af1d4
mov esi, eax
call fcn.0046fbac
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.00474c4c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x47939b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x49003c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004068c4
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x490081
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407294
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x495630
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 0x495769
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x44ca44]
call fcn.0044db80
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x49573f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044dc68
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00407294
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x495784
call fcn.00407444
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044dee4
test al, al
je 0x495729
lea ecx, [ebp - 4]
mov edx, 0x4957f8
mov eax, dword [ebp - 0xc]
call fcn.0044e72c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00423020
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x495722
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x495810
mov eax, dword [ebp - 8]
push eax
call fcn.0040b58c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4d2860]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495729
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495746
mov eax, dword [ebp - 0xc]
call fcn.00404ea4
ret

Function at 0x495874
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 0x4958bb
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49589e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4958af
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4958bb
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4a679c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004069a8
xor eax, eax
push ebp
push 0x4a68db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4a68ae
xor edx, edx
push ebp
push 0x4a68a7
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4a67e9
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4a687c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4a686b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4a682e
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00407208
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404534
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6872
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4d30b4]
mov dl, 1
mov eax, dword [0x4161f4]
call fcn.00420bc8
call fcn.00406014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a68e2
lea eax, [ebp - 4]
call fcn.004068c4
ret

Function at 0x4aecdc
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 0x4aecfd
test edi, 0x40000
je 0x4aed17
test bl, bl
jne 0x4aed98
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4aed98
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 0x4aed4a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4aed5f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4aed6e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4aed7f
cmp byte [esp + 2], 0
je 0x4aed98
cmp byte [esp + 2], 0
je 0x4aed90
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4aed98
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4af044
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 0x4af06a
mov eax, esp
push eax
push 0x4af00c
call sub.user32.dll_EnumWindows
jmp 0x4af07d
mov eax, esp
push eax
push 0x4aefec
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 0x4af140
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4af190]
test bl, 4
je 0x4af154
or si, 1
test bl, 8
je 0x4af15d
or si, 4
test bl, 1
je 0x4af166
or si, 8
test bl, 2
je 0x4af16f
or si, 0x10
test bl, 0x10
je 0x4af178
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af188
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4af194
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4af1d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af1af
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af1bf
or bx, 4
test esi, 0x20000000
je 0x4af1cb
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b7cc8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b7cda
add esp, 0xfffffff0
call fcn.004053d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004493f0
mov eax, dword [0x4d3134]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b8104
mov eax, dword [0x4d3140]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b8110
mov eax, ebx
call fcn.004b811c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
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, 0x4b2b40
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b8674
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b84e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b84e4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b84e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b84e4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b84e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b7e51
call fcn.0040542c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b8284
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 0x4b842f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b8410
mov dl, 1
mov eax, dword [0x434548]
call fcn.00440c40
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004068c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b83ff
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.00482a18
test al, al
je 0x4b83f2
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, 0x4b8440
lea eax, [ebp - 0x394]
call fcn.0041cfc8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b83f2
xor eax, eax
push ebp
push 0x4b83eb
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 0x4b84b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b83d4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407294
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 0x4b83d4
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b83f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b82f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00440b7c
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 0x4b8436
lea eax, [ebp - 0x3a0]
call fcn.004068c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d9284]
cmp byte [eax + 0xad], 0
jne 0x4b8ffe
cmp dword [0x4d929c], 0
jne 0x4b8fbe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4d2fe8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4d929c], eax
cmp dword [0x4d9298], 0
jne 0x4b8fd9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4d9298], eax
cmp dword [0x4d92a0], 0
jne 0x4b8ffe
push esp
push 0
push 0
mov eax, dword [0x4d2fe4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d92a0], eax
pop edx
ret
Function at 0x4b9314
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b932b
add esp, 0xfffffff0
call fcn.004053d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004493f0
mov eax, dword [0x4d305c]
cmp byte [eax], 0
jne 0x4b9358
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4d32c4]
cmp word [eax + 2], 0
jne 0x4b9372
mov eax, dword [0x4d32c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bb3dc
mov eax, dword [0x4d33b4]
cmp word [eax + 2], 0
jne 0x4b938c
mov eax, dword [0x4d33b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bb5e0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x45039c]
call fcn.00456900
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bbb58
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
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 [0x454a98]
call fcn.0045fdb8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b956c
mov eax, dword [0x4d31b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046024c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4bbe40
mov dl, 1
mov eax, dword [0x431c34]
call fcn.00404e74
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4d31b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041cddc
test eax, eax
je 0x4b949d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041cb90
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041cdc0
test eax, eax
je 0x4b94b5
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.00407294
push ebx
push 0x4badc8
call fcn.004af124
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4d305c]
cmp byte [eax], 0
jne 0x4b9506
mov eax, ebx
call fcn.004b96e0
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.004bc06c
mov eax, ebx
call fcn.004bcc9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b9563
call fcn.0040542c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b99ac
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d9284]
cmp dword [eax + 0x170], 0
je 0x4b9dd1
test bl, bl
jne 0x4b9d1f
cmp dword [esi + 0x9c], 0
jne 0x4b9d14
mov eax, esi
call fcn.004bcaec
push eax
push 0x4b9b78
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b9ce5
mov eax, dword [0x4d9284]
cmp byte [eax + 0xd3], 0
je 0x4b9ce5
mov eax, dword [esi + 0xd8]
call fcn.0040819c
mov edi, eax
cmp edi, 0
jl 0x4b9ce5
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 0x4b9cce
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b9d14
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d0d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b9cf4
inc dword [esi + 0x9c]
jmp 0x4b9dd1
cmp dword [esi + 0x9c], 0
jle 0x4b9dd1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b9dd1
cmp dword [esi + 0x44], 0
je 0x4b9d7c
mov eax, dword [0x4d9284]
cmp byte [eax + 0xd3], 0
je 0x4b9d7c
mov eax, dword [esi + 0xd8]
call fcn.0040819c
mov edi, eax
cmp edi, 0
jl 0x4b9d7c
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 0x4b9d65
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b9dab
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d0d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b9d8b
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 [0x4acffc]
call fcn.0040835c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4baa14
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 0x4baa7f
cmp byte [ebx + 0xd3], 0
jne 0x4baa7f
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.00406a2c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4baa6c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4baa8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c84
jmp 0x4baa8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c84
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bc254
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bc2c2
mov eax, esi
call fcn.0047ca58
test al, al
je 0x4bc2c2
mov eax, dword [ebx + 0x84]
call fcn.0047c6d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bc2c2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bc2b6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047c6d8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00473654
jmp 0x4bc2c2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bc08c
pop esi
pop ebx
ret
Function at 0x4c45f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4c460f
mov eax, dword [0x4d338c]
mov eax, dword [eax]
call fcn.004bafa0
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 4]
cdq
cmp edx, dword [esp + 4]
jne 0x4c463a
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4c4603
jmp 0x4c463e
pop edx
pop eax
jg 0x4c4603
pop ecx
pop ecx
pop ebp
ret
Function at 0x4133b3
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
pop ss
push ecx
fcom qword [0x491e4928]
push esp
mov esi, 0x2938f588
xor eax, 0x3ffffbd0
inc eax
push esi
pop ds
add byte [edx], ch
test byte [edx + 0x41], cl
push ds
sub al, 0xf2
pop ds
inc edi
mov cl, 0x7f
mov bl, 0x4f
std
mov edi, cs
ror dword [esi], 0x47
push 0xcde5a6ba
mul ch
cmp ebp, edx
mov bh, 0x77
mov dword [0xde30e390], eax
sub cl, byte [ebx]
xchg esp, eax
xor edx, ebp
fimul dword [0x330e817a]
sbb bh, ah
and al, 0x11
salc
cwde
test byte [ebx - 0x4c], cl
mov ch, 0x83
jg 0x413367
ljmp 0x732:0x4ad6a1db

Function at 0x435357
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx], edx
nop
call 0xda545a
mov dh, 0x37
sbb dh, byte [edi - 0x27d3ffae]
add al, byte [ecx]
inc dword [edi]
add byte [ecx + 0x1f], ah
add dword [ecx], edi
rol byte [edi], 1
add byte [edx + 1], cl
mov ecx, 0x800502
adc byte [esi + 0x5d037a62], dl
add dword [eax], esp
inc esp
add byte [edx + eax + 0x6c], dh
add byte [edi], dh
add al, dh
fiadd dword [eax]
add byte [ebp], ch
push es
inc ebp
add byte [edi], bh
add byte [edx], dl
adc byte [esi + 0x77], ah
out dx, eax
jle 0x43538f
cmp ecx, dword [eax]
cmp eax, 0xb101d500
add eax, 0x3f005d
cli
dec eax
mov esp, 0x1d003d01
add dword [eax - 0x44], esp
add byte [0x3f00bd00], bh
add byte [edi], bl
mov al, 0x7c
add bh, byte [0x66023f00]
sar ah, 1
add byte [0xf000ff00], bh
cld
add byte [0x7bf07000], bh
pop es
aas
add esi, eax
sbb byte [ecx], bl
sbb dword [eax + 0x8c0340], eax
adc byte [eax], al
add byte [ebx + ecx*8 + 0x64c7], ah
add byte [ecx], dh
mov byte [edx + 0x72e958ee], dl
xchg byte [eax], al
inc esp
add byte [ecx], ch
sub al, 0xbb
prefetchnta byte [eax]
push eax
mov word [eax], es
xor eax, dword [eax]
inc eax
inc dword [edx]
sub dh, byte [ecx]
loop 0x4353ea
loope 0x435374
xchg edx, eax
out dx, al
pop eax
jmp 0x4443da66
jmp 0x43540a
das
add bh, bh
cmp dword [ecx + 0x14], ebx
xor al, 0
xor al, bh
add cl, byte [eax]
clc
mov esp, 0x87003d04
add dword [esi - 0x52], eax
hlt

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x411005
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x411320
xor eax, eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
ret