joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b5b4
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.00407b04
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.00496218
test ebx, ebx
jne 0x49b607
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0049b4f0
mov ebx, eax
test ebx, ebx
je 0x49b6f2
cmp esi, ebx
je 0x49b630
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 0x49b645
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 0x49b67d
add eax, 0xffffff5f
sub eax, 2
jb 0x49b695
dec eax
sub eax, 2
jb 0x49b6a9
dec eax
sub eax, 2
jb 0x49b69f
jmp 0x49b6b3
add eax, 0xfffffdff
sub eax, 2
jb 0x49b695
dec eax
sub eax, 2
jb 0x49b6a9
dec eax
sub eax, 2
jb 0x49b69f
jmp 0x49b6b3
mov byte [esp + 0x120], 0
jmp 0x49b6bb
mov byte [esp + 0x120], 2
jmp 0x49b6bb
mov byte [esp + 0x120], 1
jmp 0x49b6bb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004a9e70
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00497a10
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x49b6f4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4a39e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x567aec]
cmp byte [eax + 0xc], 0
je 0x4a3b51
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a3b4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56de68], 0
jne 0x4a3a38
push 0x4a3b58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4a3b60
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de68], eax
cmp dword [0x55bc1c], 0
jne 0x4a3b33
push 0x4a3b70
call sub.kernel32.dll_LoadLibraryA
mov dword [0x55bc1c], eax
cmp dword [0x55bc1c], 0
je 0x4a3b33
push 0x4a3b7c
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de6c], eax
push 0x4a3b8c
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de70], eax
push 0x4a3ba0
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de74], eax
push 0x4a3bb8
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de78], eax
push 0x4a3bd0
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de7c], eax
push 0x4a3be4
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de80], eax
push 0x4a3bfc
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de84], eax
push 0x4a3c14
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de88], eax
push 0x4a3c30
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de8c], eax
push 0x4a3c3c
mov eax, dword [0x55bc1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56de90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3b51
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a99b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x56dea0]
cmp esi, dword [eax + 0x30]
jne 0x4a99df
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4a9a0e
mov eax, dword [0x56dea0]
cmp esi, dword [eax + 0x30]
jne 0x4a9a0a
mov eax, dword [0x56dea0]
cmp byte [eax + 0x5b], 0
jne 0x4a9a0e
xor eax, eax
jmp 0x4a9a10
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4a9a25
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x4a9a3c
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4a9a4b
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x4a9a5a
test bl, bl
je 0x4a9a70
test bl, bl
je 0x4a9a68
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4a9a70
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a9d14
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 0x4a9d3a
mov eax, esp
push eax
push 0x4a9cdc
call sub.user32.dll_EnumWindows
jmp 0x4a9d4d
mov eax, esp
push eax
push 0x4a9cbc
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 0x4a9dd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4a9e2c]
test si, 4
je 0x4a9ded
or bl, 1
test si, 8
je 0x4a9df7
or bl, 4
test si, 1
je 0x4a9e01
or bl, 8
test si, 2
je 0x4a9e0b
or bl, 0x10
test si, 0x10
je 0x4a9e15
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a9e24
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4a9e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4a9e6c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a9e4a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a9e59
or bl, 4
test esi, 0x20000000
je 0x4a9e64
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b1d54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b1d66
add esp, 0xfffffff0
call fcn.00404640
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004719dc
mov eax, dword [0x567458]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b20f8
mov eax, dword [0x56746c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b2104
mov eax, ebx
call fcn.004b2110
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4ad7a4
push eax
push 0
push 0
mov eax, dword [0x567724]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x476ec8]
call fcn.004787bc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x476ec8]
call fcn.004787bc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x476ec8]
call fcn.004787bc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b2540
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b2410
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b2410
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b2410
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b1ea3
call fcn.00404698
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b21f4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b239f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4b2380
mov dl, 1
mov eax, dword [0x465ee0]
call fcn.004042ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405320
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b236f
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.004a3d40
test al, al
je 0x4b2362
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4b23b0
lea eax, [ebp - 0x254]
call fcn.00457498
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b2362
xor eax, eax
push ebp
push 0x4b235b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4b23e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b2344
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405590
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x4b2344
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2362
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b2265
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0046ac90
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b23a6
lea eax, [ebp - 0x260]
call fcn.00405320
ret

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

Disassembly:
push ecx
mov eax, dword [0x56dea0]
cmp byte [eax + 0xad], 0
jne 0x4b2d89
cmp dword [0x56debc], 0
jne 0x4b2d4a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4b2cd4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x56debc], eax
cmp dword [0x56deb8], 0
jne 0x4b2d65
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x56deb8], eax
cmp dword [0x56dec0], 0
jne 0x4b2d89
push esp
push 0
push 0
push 0x4b2c78
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x56dec0], eax
pop edx
ret
Function at 0x4b2f5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4b2f73
add esp, 0xfffffff0
call fcn.00404640
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004719dc
mov eax, dword [0x567700]
cmp word [eax + 2], 0
jne 0x4b2f9b
mov eax, dword [0x567700]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b4bb4
mov eax, dword [0x56786c]
cmp word [eax + 2], 0
jne 0x4b2fb5
mov eax, dword [0x56786c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b4dc0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x465874]
call fcn.004042ac
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 [0x477a78]
call fcn.0047fba8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b316c
mov eax, dword [0x567534]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0047ff7c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b5484
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x567534]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0045b898
test eax, eax
je 0x4b30bc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00456aa0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0045b8cc
test eax, eax
je 0x4b30d0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405590
mov byte [ebx + 0xd4], 0
push ebx
push 0x4b46dc
call fcn.00472b58
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5672cc]
cmp byte [eax], 0
jne 0x4b3121
mov eax, ebx
call fcn.004b32b0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b565c
mov eax, ebx
call fcn.004b61e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b3161
call fcn.00404698
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3530
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4b35cf
cmp dword [ebx + 0x94], 0
jne 0x4b35c9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b34b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b35c9
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_GetWindowLongA
test al, 8
je 0x4b358f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b35c9
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.00468210
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b359e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x56dea0]
cmp dword [eax + 0x30], 0
je 0x4b3945
test bl, bl
jne 0x4b3896
cmp dword [esi + 0x9c], 0
jne 0x4b388b
mov eax, esi
call fcn.004b6060
push eax
push 0x4b3714
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b385c
mov eax, dword [0x56dea0]
call fcn.004b6740
test al, al
je 0x4b385c
mov eax, dword [0x56dec4]
call fcn.00406a4c
mov edi, eax
cmp edi, 0
jl 0x4b385c
push 0
mov eax, dword [0x56dec4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b3846
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b388b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00468210
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b386b
inc dword [esi + 0x9c]
jmp 0x4b3945
cmp dword [esi + 0x9c], 0
jle 0x4b3945
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b3945
cmp dword [esi + 0x44], 0
je 0x4b38f1
mov eax, dword [0x56dea0]
call fcn.004b6740
test al, al
je 0x4b38f1
mov eax, dword [0x56dec4]
call fcn.00406a4c
mov edi, eax
cmp edi, 0
jl 0x4b38f1
push 5
mov eax, dword [0x56dec4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b38db
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b3920
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00468210
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b3900
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x56dec4
mov ecx, 1
mov edx, dword [0x4b36f4]
call fcn.00406c00
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b43d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b4442
mov eax, ebx
call fcn.004b6740
test al, al
jne 0x4b4442
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405410
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4b442f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b444f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405374
jmp 0x4b444f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405374
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4b5840
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b58ae
mov eax, esi
call fcn.0049ea74
test al, al
je 0x4b58ae
mov eax, dword [ebx + 0x84]
call fcn.0049e6f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b58ae
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4b58a2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0049e6f0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00496608
jmp 0x4b58ae
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b567c
pop esi
pop ebx
ret
Function at 0x4b82c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4b82f5
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4b8374
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b6a20
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b8342
mov cx, word [esp]
sub cx, si
jmp 0x4b8344
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b832b
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b836a
mov cx, word [esp]
sub cx, si
jmp 0x4b836c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b8353
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4b83d1
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004b7f9c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4b83bc
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4b83d1
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4b82d2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4be38c
Capabilities:
Encrypt data using des

Disassembly:
push esi
push edi
add esp, 0xfffffff4
mov byte [esp], dl
mov edi, eax
lea eax, [esp + 1]
xor ecx, ecx
mov edx, 8
call fcn.00403a14
xor edx, edx
mov esi, str.:2_
movzx eax, byte [esp]
add eax, eax
add eax, eax
add eax, eax
movzx eax, byte [esi + eax*8]
dec eax
movzx ecx, al
shr ecx, 3
movzx ecx, byte [edi + ecx]
and al, 7
movzx eax, al
and cl, byte [eax + 0x55f7b4]
test cl, cl
je 0x4be3ed
mov eax, edx
and al, 7
movzx eax, al
movzx eax, byte [eax + 0x55f7b4]
movzx ecx, dl
shr ecx, 3
or byte [esp + ecx + 1], al
inc edx
inc esi
cmp dl, 0x40
jne 0x4be3ad
mov edx, edi
lea eax, [esp + 1]
mov ecx, 8
call fcn.004031a0
add esp, 0xc
pop edi
pop esi
ret

Function at 0x4be40c
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov esi, eax
mov edi, 0x55f7b4
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 8
call fcn.00403a14
lea eax, [esp + 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00403a14
xor ecx, ecx
mov ebx, 0x55f764
movzx eax, byte [ebx]
add eax, 0x1f
mov edx, eax
shr edx, 3
movzx edx, byte [esi + edx]
and eax, 7
and dl, byte [edi + eax]
test dl, dl
je 0x4be482
movzx ebp, cl
mov eax, ebp
push ecx
mov ecx, 6
xor edx, edx
div ecx
pop ecx
movzx eax, byte [edi + edx]
push eax
mov eax, ebp
mov ebp, 6
xor edx, edx
div ebp
pop edx
or byte [esp + eax + 4], dl
inc ecx
inc ebx
cmp cl, 0x30
jne 0x4be444
mov cl, 8
mov eax, dword [esp]
lea edx, [esp + 4]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cl
jne 0x4be492
xor ecx, ecx
lea eax, [esp + 4]
movzx edx, cl
mov ebx, edx
and ebx, 1
test bl, bl
je 0x4be4d4
movzx ebx, byte [eax]
shr ebx, 2
mov ebp, edx
add ebp, 2
add ebp, ebp
add ebp, ebp
add ebp, ebp
lea ebp, [ebp*8 + str.:2_]
movzx ebx, byte [ebp + ebx]
shr edx, 1
add byte [esp + edx + 0xc], bl
jmp 0x4be4fa
movzx ebx, byte [eax]
shr ebx, 2
mov ebp, edx
add ebp, 2
add ebp, ebp
add ebp, ebp
add ebp, ebp
lea ebp, [ebp*8 + str.:2_]
movzx ebx, byte [ebp + ebx]
shl ebx, 4
shr edx, 1
mov byte [esp + edx + 0xc], bl
inc ecx
inc eax
cmp cl, 8
jne 0x4be4a3
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 8
call fcn.00403a14
xor ecx, ecx
mov edx, 0x55f794
movzx eax, byte [edx]
dec eax
mov ebx, eax
shr ebx, 3
movzx ebx, byte [esp + ebx + 0xc]
and eax, 7
and bl, byte [edi + eax]
test bl, bl
je 0x4be545
mov eax, ecx
and al, 7
movzx eax, al
movzx eax, byte [edi + eax]
movzx ebx, cl
shr ebx, 3
or byte [esp + ebx + 4], al
inc ecx
inc edx
cmp cl, 0x20
jne 0x4be518
movzx eax, byte [esp + 4]
xor byte [esi], al
movzx eax, byte [esp + 5]
xor byte [esi + 1], al
movzx eax, byte [esp + 6]
xor byte [esi + 2], al
movzx eax, byte [esp + 7]
xor byte [esi + 3], al
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bef3c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor ebx, ebx
mov ecx, 0x56ded4
mov eax, ebx
mov edx, 8
mov esi, eax
and esi, 1
cmp esi, 1
jne 0x4bef5f
shr eax, 1
xor eax, 0xedb88320
jmp 0x4bef61
shr eax, 1
dec edx
jne 0x4bef4c
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4bef45
pop esi
pop ebx
ret