joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496cd8
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 0x496e11
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 [0x44da68]
call fcn.0044eba4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x496de7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044ec8c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004073dc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x496e2c
call fcn.0040758c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044ef08
test al, al
je 0x496dd1
lea ecx, [ebp - 4]
mov edx, 0x496ea0
mov eax, dword [ebp - 0xc]
call fcn.0044f750
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00423634
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x496dca
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x496eb8
mov eax, dword [ebp - 8]
push eax
call fcn.0040b80c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4fe868]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496dd1
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 0x496dee
mov eax, dword [ebp - 0xc]
call fcn.00404f1c
ret

Function at 0x496f1c
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 0x496f63
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x496f46
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x496f57
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x496f63
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4a97f4
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.00406a6c
xor eax, eax
push ebp
push 0x4a9933
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4a9906
xor edx, edx
push ebp
push 0x4a98ff
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4a9841
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 0x4a98d4
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 0x4a98c3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4a9886
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00407350
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004045ac
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 0x4a98ca
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x500bdc]
mov dl, 1
mov eax, dword [0x4164b4]
call fcn.004210e4
call fcn.0040608c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a993a
lea eax, [ebp - 4]
call fcn.00406988
ret

Function at 0x4b1d84
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 0x4b1da5
test edi, 0x40000
je 0x4b1dbf
test bl, bl
jne 0x4b1e40
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4b1e40
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 0x4b1df2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4b1e07
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4b1e16
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4b1e27
cmp byte [esp + 2], 0
je 0x4b1e40
cmp byte [esp + 2], 0
je 0x4b1e38
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4b1e40
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b20ec
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 0x4b2112
mov eax, esp
push eax
push 0x4b20b4
call sub.user32.dll_EnumWindows
jmp 0x4b2125
mov eax, esp
push eax
push 0x4b2094
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 0x4b21e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4b2238]
test bl, 4
je 0x4b21fc
or si, 1
test bl, 8
je 0x4b2205
or si, 4
test bl, 1
je 0x4b220e
or si, 8
test bl, 2
je 0x4b2217
or si, 0x10
test bl, 0x10
je 0x4b2220
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b2230
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4b223c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4b2278]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b2257
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b2267
or bx, 4
test esi, 0x20000000
je 0x4b2273
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4bad70
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4bad82
add esp, 0xfffffff0
call fcn.0040544c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044a408
mov eax, dword [0x500ca0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4bb1ac
mov eax, dword [0x500cac]
mov dword [eax + 4], ebx
mov dword [eax], 0x4bb1b8
mov eax, ebx
call fcn.004bb1c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
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, 0x4b5be8
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004bb71c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bb58c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bb58c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bb58c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bb58c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bb58c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4baef9
call fcn.004054a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4bb32c
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 0x4bb4d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4bb4b8
mov dl, 1
mov eax, dword [0x435558]
call fcn.00441c58
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406988
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4bb4a7
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.004840c0
test al, al
je 0x4bb49a
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, 0x4bb4e8
lea eax, [ebp - 0x394]
call fcn.0041d390
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4bb49a
xor eax, eax
push ebp
push 0x4bb493
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 0x4bb558
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4bb47c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073dc
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 0x4bb47c
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004073dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb49a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4bb39d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00441b94
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 0x4bb4de
lea eax, [ebp - 0x3a0]
call fcn.00406988
ret

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

Disassembly:
push ecx
mov eax, dword [0x50728c]
cmp byte [eax + 0xad], 0
jne 0x4bc0a6
cmp dword [0x5072a4], 0
jne 0x4bc066
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4ff010]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5072a4], eax
cmp dword [0x5072a0], 0
jne 0x4bc081
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5072a0], eax
cmp dword [0x5072a8], 0
jne 0x4bc0a6
push esp
push 0
push 0
mov eax, dword [0x4ff00c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5072a8], eax
pop edx
ret
Function at 0x4bc3bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bc3d3
add esp, 0xfffffff0
call fcn.0040544c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044a408
mov eax, dword [0x500b4c]
cmp byte [eax], 0
jne 0x4bc400
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x500eb4]
cmp word [eax + 2], 0
jne 0x4bc41a
mov eax, dword [0x500eb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004be484
mov eax, dword [0x500ff8]
cmp word [eax + 2], 0
jne 0x4bc434
mov eax, dword [0x500ff8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004be688
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4513c8]
call fcn.00457b9c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bec00
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
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 [0x455d34]
call fcn.004613a4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bc614
mov eax, dword [0x500d4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00461838
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4beee8
mov dl, 1
mov eax, dword [0x432c44]
call fcn.00404eec
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x500d4c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041d1b8
test eax, eax
je 0x4bc545
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041cf6c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041d19c
test eax, eax
je 0x4bc55d
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.004073dc
push ebx
push 0x4bde70
call fcn.004b21cc
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x500b4c]
cmp byte [eax], 0
jne 0x4bc5ae
mov eax, ebx
call fcn.004bc788
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.004bf114
mov eax, ebx
call fcn.004bfd44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bc60b
call fcn.004054a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bca54
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x50728c]
cmp dword [eax + 0x170], 0
je 0x4bce79
test bl, bl
jne 0x4bcdc7
cmp dword [esi + 0x9c], 0
jne 0x4bcdbc
mov eax, esi
call fcn.004bfb94
push eax
push 0x4bcc20
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4bcd8d
mov eax, dword [0x50728c]
cmp byte [eax + 0xd3], 0
je 0x4bcd8d
mov eax, dword [esi + 0xd8]
call fcn.004083a8
mov edi, eax
cmp edi, 0
jl 0x4bcd8d
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 0x4bcd76
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bcdbc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e0f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bcd9c
inc dword [esi + 0x9c]
jmp 0x4bce79
cmp dword [esi + 0x9c], 0
jle 0x4bce79
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4bce79
cmp dword [esi + 0x44], 0
je 0x4bce24
mov eax, dword [0x50728c]
cmp byte [eax + 0xd3], 0
je 0x4bce24
mov eax, dword [esi + 0xd8]
call fcn.004083a8
mov edi, eax
cmp edi, 0
jl 0x4bce24
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 0x4bce0d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bce53
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e0f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bce33
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 [0x4b00a4]
call fcn.00408568
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bdabc
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 0x4bdb27
cmp byte [ebx + 0xd3], 0
jne 0x4bdb27
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.00406af0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bdb14
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bdb34
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d48
jmp 0x4bdb34
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d48
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bf2fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bf36a
mov eax, esi
call fcn.0047e0a8
test al, al
je 0x4bf36a
mov eax, dword [ebx + 0x84]
call fcn.0047dcfc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bf36a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bf35e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047dcfc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00474c40
jmp 0x4bf36a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bf134
pop esi
pop ebx
ret
Function at 0x4c0a94
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x426f34]
call fcn.00407a50
xor eax, eax
push ebp
push 0x4c0bde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ff050], 0
jne 0x4c0ae8
mov ecx, dword [0x500b78]
mov dl, 1
mov eax, dword [0x4164b4]
call fcn.004210e4
call fcn.0040608c
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404900
mov eax, ebx
call fcn.00407194
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4c0bec
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409b20
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4c0b2f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4c0b84
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4c0b7d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407418
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.004073dc
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041c0bc
test eax, eax
jne 0x4c0b7d
mov ebx, 0x15
jmp 0x4c0b89
mov ebx, 0x10
jmp 0x4c0b89
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4ff050]
call fcn.004c0900
mov eax, dword [ebp - 4]
call fcn.004c0900
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0be5
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004069e8
lea eax, [ebp - 0xc]
mov edx, dword [0x426f34]
call fcn.00407b28
ret
Function at 0x4da358
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4da480
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004da244
mov eax, dword [esi]
call fcn.004083a0
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416238]
call fcn.00408568
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045ac
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045ac
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004083a0
mov dword [ebp - 0xc], eax
mov eax, dword [0x501130]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004c39b4
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404900
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004083a0
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004c3990
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004c38c8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004c39ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da487
lea eax, [ebp - 4]
mov edx, dword [0x416238]
call fcn.00408574
ret

Function at 0x4df3c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test dl, dl
je 0x4df3ce
add esp, 0xfffffff0
call fcn.0040544c
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004de8a4
push 0x40
lea eax, [esi + 4]
mov ecx, 1
mov edx, dword [0x416238]
call fcn.00408568
add esp, 4
mov eax, esi
test bl, bl
je 0x4df408
call fcn.004054a4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret