joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4c5264], 0
je 0x4811a9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bf3d4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4811a9
mov eax, dword [0x4c5268]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4c5264]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x481178
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4c5264]
call fcn.004336d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x481170
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x481170
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x481170
mov eax, dword [ebp - 0x14]
call fcn.0048ca3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481170
push ebp
call fcn.00481024
pop ecx
test al, al
jne 0x481170
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004053c0
test al, al
je 0x481170
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004053c0
cmp byte [ebp - 1], 0
je 0x481170
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040a7a4
test al, al
je 0x481170
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4c5268]
call fcn.00480780
inc edi
dec ebx
jne 0x4810cd
mov eax, dword [0x4c5268]
cmp dword [eax + 8], 0
jle 0x481190
mov eax, dword [0x4c5268]
call fcn.00480838
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4811a9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00480e88
pop ecx
test al, al
jne 0x4811a9
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4895e8
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.0040a78c
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.00483630
test ebx, ebx
jne 0x48963b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00489464
mov ebx, eax
test ebx, ebx
je 0x489731
cmp esi, ebx
je 0x489664
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 0x489679
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 0x4896b1
add eax, 0xffffff5f
sub eax, 2
jb 0x4896c9
dec eax
sub eax, 2
jb 0x4896dd
dec eax
sub eax, 2
jb 0x4896d3
jmp 0x4896e7
add eax, 0xfffffdff
sub eax, 2
jb 0x4896c9
dec eax
sub eax, 2
jb 0x4896dd
dec eax
sub eax, 2
jb 0x4896d3
jmp 0x4896e7
mov byte [esp + 0x120], 0
jmp 0x4896ef
mov byte [esp + 0x120], 2
jmp 0x4896ef
mov byte [esp + 0x120], 1
jmp 0x4896ef
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004a74c0
mov esi, eax
call fcn.0047ff20
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.00484fe0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x489733
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4a6fc8
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 0x4a6fe9
test edi, 0x40000
je 0x4a7003
test bl, bl
jne 0x4a7084
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4a7084
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 0x4a7036
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4a704b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4a705a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4a706b
cmp byte [esp + 2], 0
je 0x4a7084
cmp byte [esp + 2], 0
je 0x4a707c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4a7084
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a7330
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 0x4a7356
mov eax, esp
push eax
push 0x4a72f8
call sub.user32.dll_EnumWindows
jmp 0x4a7369
mov eax, esp
push eax
push 0x4a72d8
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 0x4a742c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4a747c]
test bl, 4
je 0x4a7440
or si, 1
test bl, 8
je 0x4a7449
or si, 4
test bl, 1
je 0x4a7452
or si, 8
test bl, 2
je 0x4a745b
or si, 0x10
test bl, 0x10
je 0x4a7464
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a7474
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a7480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4a74bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a749b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a74ab
or bx, 4
test esi, 0x20000000
je 0x4a74b7
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b0080
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b0092
add esp, 0xfffffff0
call fcn.00405668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f2c8
mov eax, dword [0x4bf164]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b04dc
mov eax, dword [0x4bf170]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b04e8
mov eax, ebx
call fcn.004b04f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
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, 0x4aae28
push eax
push 0
push 0
mov eax, dword [0x4bf32c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b0a4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b08bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b08bc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b08bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b08bc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b08bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b020d
call fcn.004056c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b065c
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 0x4b0809
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b07ea
mov dl, 1
mov eax, dword [0x42aec8]
call fcn.00436d40
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406c04
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b07d9
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.00492dac
test al, al
je 0x4b07cc
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, 0x4b0818
lea eax, [ebp - 0x394]
call fcn.00413b24
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4b07cc
xor eax, eax
push ebp
push 0x4b07c5
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 0x4b0888
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4b07ae
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406dec
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 0x4b07ae
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b07cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b06cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00436c7c
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 0x4b0810
lea eax, [ebp - 0x3a0]
call fcn.00406bf4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c52bc]
cmp byte [eax + 0xad], 0
jne 0x4b13da
cmp dword [0x4c52d4], 0
jne 0x4b139a
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x4bf000]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4c52d4], eax
cmp dword [0x4c52d0], 0
jne 0x4b13b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4c52d0], eax
cmp dword [0x4c52d8], 0
jne 0x4b13da
push esp
push 0
push 0
mov eax, dword [0x4beffc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c52d8], eax
pop edx
ret
Function at 0x4b1700
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b1717
add esp, 0xfffffff0
call fcn.00405668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f2c8
mov eax, dword [0x4bf07c]
cmp byte [eax], 0
jne 0x4b1744
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4bf304]
cmp word [eax + 2], 0
jne 0x4b175e
mov eax, dword [0x4bf304]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b37f8
mov eax, dword [0x4bf3f8]
cmp word [eax + 2], 0
jne 0x4b1778
mov eax, dword [0x4bf3f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b3a08
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44b718]
call fcn.004519ec
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b3fb8
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
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 [0x44fbb0]
call fcn.0045ae5c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b1958
mov eax, dword [0x4bf1ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045b2f0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b42a0
mov dl, 1
mov eax, dword [0x4287c8]
call fcn.00405104
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4bf1ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413970
test eax, eax
je 0x4b1889
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413754
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413954
test eax, eax
je 0x4b18a1
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406dec
push ebx
push 0x4b31c8
call fcn.004a7410
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4bf07c]
cmp byte [eax], 0
jne 0x4b18f2
mov eax, ebx
call fcn.004b1acc
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.004b44cc
mov eax, ebx
call fcn.004b5100
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b194f
call fcn.004056c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1da0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b1e42
cmp dword [ebx + 0x94], 0
jne 0x4b1e3c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b1cec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b1e3c
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 0x4b1e02
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b1e3c
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.004336d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b1e11
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c52bc]
cmp dword [eax + 0x170], 0
je 0x4b21c5
test bl, bl
jne 0x4b2113
cmp dword [esi + 0x9c], 0
jne 0x4b2108
mov eax, esi
call fcn.004b4f50
push eax
push 0x4b1f6c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b20d9
mov eax, dword [0x4c52bc]
cmp byte [eax + 0xd3], 0
je 0x4b20d9
mov eax, dword [esi + 0xd8]
call fcn.00408210
mov edi, eax
cmp edi, 0
jl 0x4b20d9
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 0x4b20c2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b2108
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004336d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b20e8
inc dword [esi + 0x9c]
jmp 0x4b21c5
cmp dword [esi + 0x9c], 0
jle 0x4b21c5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b21c5
cmp dword [esi + 0x44], 0
je 0x4b2170
mov eax, dword [0x4c52bc]
cmp byte [eax + 0xd3], 0
je 0x4b2170
mov eax, dword [esi + 0xd8]
call fcn.00408210
mov edi, eax
cmp edi, 0
jl 0x4b2170
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 0x4b2159
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b219f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004336d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b217f
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 [0x4a52e8]
call fcn.004083d0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b2e14
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 0x4b2e7f
cmp byte [ebx + 0xd3], 0
jne 0x4b2e7f
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.00406d40
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b2e6c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b2e8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c04
jmp 0x4b2e8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c04
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b46b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b4722
mov eax, esi
call fcn.0048cdbc
test al, al
je 0x4b4722
mov eax, dword [ebx + 0x84]
call fcn.0048ca3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b4722
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b4716
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048ca3c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00483a10
jmp 0x4b4722
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b44ec
pop esi
pop ebx
ret

Function at 0x4b65d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4b6694
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 4]
call fcn.0044728c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [0x40a418]
call fcn.00408418
xor ebx, ebx
jmp 0x4b6651
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + ebx*4]
call fcn.00406c58
mov eax, dword [ebp - 0xc]
call fcn.00406c90
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
je 0x4b6646
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
jne 0x4b6650
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
mov eax, dword [ebp - 8]
call fcn.00408208
cmp ebx, eax
jl 0x4b6618
lea eax, [ebp - 8]
mov edx, dword [0x40a418]
call fcn.004083dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b669b
lea eax, [ebp - 0xc]
call fcn.00406bf4
lea eax, [ebp - 8]
mov edx, dword [0x40a418]
mov ecx, 2
call fcn.004079a4
ret
Function at 0x4b66a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b6737
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov ecx, eax
lea edx, [ebp - 0x20c]
lea eax, [ebp - 4]
call fcn.00406d40
push ebx
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00406dec
mov eax, dword [ebp - 0x210]
mov ecx, 3
mov edx, 1
call fcn.0040732c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b673e
lea eax, [ebp - 0x210]
call fcn.00406bf4
lea eax, [ebp - 4]
call fcn.00406bf4
ret

Function at 0x4b680c
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406c90
push eax
push 0xffffffffffffffff
push 0
call fcn.0040b5d4
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x4b684c
push 0
call sub.user32.dll_PostQuitMessage
mov eax, dword [0x4bf3d4]
mov eax, dword [eax]
call fcn.004b3760
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
pop ebx
ret

Function at 0x4b6850
Capabilities:
Check for peb beingdebugged flag

Disassembly:
xor eax, eax
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
setne al
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x900c236
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x90a819f
call fcn.09007445
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
push 0x1a
pop esi
push 0x2b
pop eax
cmove esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, esi
or eax, 0x8000
cmp byte [ebp + 0xc], bl
push ebx
push ebx
cmovne esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x900c292
xor al, al
jmp 0x900c2e2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0900cf2c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
push str.Adobe
call fcn.0900d7af
test al, al
je 0x900c2d5
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.09056fcd
mov ecx, edi
call fcn.0900e6d7
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.09056fcd
mov al, bl
call fcn.090091e6
ret