joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c08c
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.0040a968
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.004760c4
test ebx, ebx
jne 0x47c0df
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0047bf08
mov ebx, eax
test ebx, ebx
je 0x47c1d5
cmp esi, ebx
je 0x47c108
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 0x47c11d
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 0x47c155
add eax, 0xffffff5f
sub eax, 2
jb 0x47c16d
dec eax
sub eax, 2
jb 0x47c181
dec eax
sub eax, 2
jb 0x47c177
jmp 0x47c18b
add eax, 0xfffffdff
sub eax, 2
jb 0x47c16d
dec eax
sub eax, 2
jb 0x47c181
dec eax
sub eax, 2
jb 0x47c177
jmp 0x47c18b
mov byte [esp + 0x120], 0
jmp 0x47c193
mov byte [esp + 0x120], 2
jmp 0x47c193
mov byte [esp + 0x120], 1
jmp 0x47c193
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0049a06c
mov esi, eax
call fcn.00472900
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.00477a84
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x47c1d7
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x499b74
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 0x499b95
test edi, 0x40000
je 0x499baf
test bl, bl
jne 0x499c30
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x499c30
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 0x499be2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x499bf7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x499c06
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x499c17
cmp byte [esp + 2], 0
je 0x499c30
cmp byte [esp + 2], 0
je 0x499c28
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x499c30
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x499edc
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 0x499f02
mov eax, esp
push eax
push 0x499ea4
call sub.user32.dll_EnumWindows
jmp 0x499f15
mov eax, esp
push eax
push 0x499e84
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 0x499fd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x49a028]
test bl, 4
je 0x499fec
or si, 1
test bl, 8
je 0x499ff5
or si, 4
test bl, 1
je 0x499ffe
or si, 8
test bl, 2
je 0x49a007
or si, 0x10
test bl, 0x10
je 0x49a010
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a020
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x49a02c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x49a068]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a047
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a057
or bx, 4
test esi, 0x20000000
je 0x49a063
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4a2c2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a2c3e
add esp, 0xfffffff0
call fcn.00405790
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043b420
mov eax, dword [0x4b1fdc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a3088
mov eax, dword [0x4b1fe8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a3094
mov eax, ebx
call fcn.004a30a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
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, 0x49d9d4
push eax
push 0
push 0
mov eax, dword [0x4b2184]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a35f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3468
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3468
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3468
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3468
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3468
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a2db9
call fcn.004057e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a3208
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 0x4a33b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a3396
mov dl, 1
mov eax, dword [0x427068]
call fcn.00432e98
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406ddc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a3385
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.00485930
test al, al
je 0x4a3378
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, 0x4a33c4
lea eax, [ebp - 0x394]
call fcn.004120b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a3378
xor eax, eax
push ebp
push 0x4a3371
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 0x4a3434
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a335a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406fc4
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 0x4a335a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3378
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a327b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00432dd4
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 0x4a33bc
lea eax, [ebp - 0x3a0]
call fcn.00406dcc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b8280]
cmp byte [eax + 0xad], 0
jne 0x4a3f86
cmp dword [0x4b8298], 0
jne 0x4a3f46
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4b1e78]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b8298], eax
cmp dword [0x4b8294], 0
jne 0x4a3f61
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b8294], eax
cmp dword [0x4b829c], 0
jne 0x4a3f86
push esp
push 0
push 0
mov eax, dword [0x4b1e74]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b829c], eax
pop edx
ret
Function at 0x4a42ac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a42c3
add esp, 0xfffffff0
call fcn.00405790
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043b420
mov eax, dword [0x4b1f0c]
cmp byte [eax], 0
jne 0x4a42f0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b2164]
cmp word [eax + 2], 0
jne 0x4a430a
mov eax, dword [0x4b2164]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a63a4
mov eax, dword [0x4b223c]
cmp word [eax + 2], 0
jne 0x4a4324
mov eax, dword [0x4b223c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a65b4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445ca8]
call fcn.0044acb0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a6b64
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
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 [0x449340]
call fcn.00451aa8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a4504
mov eax, dword [0x4b2058]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00451f3c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a6e4c
mov dl, 1
mov eax, dword [0x424aa0]
call fcn.00405244
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b2058]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411f04
test eax, eax
je 0x4a4435
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411ce8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411ee8
test eax, eax
je 0x4a444d
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.00406fc4
push ebx
push 0x4a5d74
call fcn.00499fbc
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4b1f0c]
cmp byte [eax], 0
jne 0x4a449e
mov eax, ebx
call fcn.004a4678
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.004a7078
mov eax, ebx
call fcn.004a7cac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a44fb
call fcn.004057e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a494c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a49ee
cmp dword [ebx + 0x94], 0
jne 0x4a49e8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a4898
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a49e8
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 0x4a49ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a49e8
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.0042f874
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a49bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b8280]
cmp dword [eax + 0x170], 0
je 0x4a4d71
test bl, bl
jne 0x4a4cbf
cmp dword [esi + 0x9c], 0
jne 0x4a4cb4
mov eax, esi
call fcn.004a7afc
push eax
push 0x4a4b18
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a4c85
mov eax, dword [0x4b8280]
cmp byte [eax + 0xd3], 0
je 0x4a4c85
mov eax, dword [esi + 0xd8]
call fcn.00408438
mov edi, eax
cmp edi, 0
jl 0x4a4c85
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 0x4a4c6e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a4cb4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f874
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a4c94
inc dword [esi + 0x9c]
jmp 0x4a4d71
cmp dword [esi + 0x9c], 0
jle 0x4a4d71
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a4d71
cmp dword [esi + 0x44], 0
je 0x4a4d1c
mov eax, dword [0x4b8280]
cmp byte [eax + 0xd3], 0
je 0x4a4d1c
mov eax, dword [esi + 0xd8]
call fcn.00408438
mov edi, eax
cmp edi, 0
jl 0x4a4d1c
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 0x4a4d05
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a4d4b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f874
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a4d2b
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 [0x497e94]
call fcn.004085f8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a59c0
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 0x4a5a2b
cmp byte [ebx + 0xd3], 0
jne 0x4a5a2b
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.00406f18
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a5a18
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a5a38
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ddc
jmp 0x4a5a38
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ddc
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a7260
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a72ce
mov eax, esi
call fcn.0047f88c
test al, al
je 0x4a72ce
mov eax, dword [ebx + 0x84]
call fcn.0047f4e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a72ce
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a72c2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047f4e0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004764b4
jmp 0x4a72ce
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a7098
pop esi
pop ebx
ret
Function at 0x3000b65f
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x3000f398
call fcn.3000b6c4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x30011cd4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x3000b402
cmp eax, esi
jne 0x3000b3f5
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3000b405
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3000b3dc
xor esi, esi
inc esi
mov eax, dword [0x30011cd0]
cmp eax, esi
jne 0x3000b418
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x3000b447
mov eax, dword [0x30011cd0]
test eax, eax
jne 0x3000b441
mov dword [0x30011cd0], esi
push 0x30001360
push 0x30001354
call fcn.30180000
pop ecx
pop ecx
test eax, eax
je 0x3000b447
jmp 0x3000b56b
mov dword [0x30011940], esi
mov eax, dword [0x30011cd0]
cmp eax, esi
jne 0x3000b46b
push 0x30001350
push 0x30001334
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30011cd0], 2
cmp dword [ebp - 0x20], ebx
jne 0x3000b478
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30011ce0], ebx
je 0x3000b499
push 0x30011ce0
call fcn.3000bbe4
pop ecx
test eax, eax
je 0x3000b499
push ebx
push 2
push ebx
call dword [0x30011ce0]
mov eax, dword [sym.imp.MSVCR80.dll__wcmdln]
cmp dword [eax], ebx
je 0x3000b56b
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x3000b503
cmp cx, bx
je 0x3000b4be
cmp dword [ebp - 0x1c], ebx
jne 0x3000b503
movzx ecx, word [eax]
cmp cx, bx
je 0x3000b4d3
cmp cx, 0x20
ja 0x3000b4d3
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x3000b4be
test byte [ebp - 0x40], 1
je 0x3000b4df
movzx ecx, word [ebp - 0x3c]
jmp 0x3000b4e2
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x30000000
call main
mov dword [0x3001193c], eax
cmp dword [0x30011930], ebx
jne 0x3000b548
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp cx, 0x22
jne 0x3000b514
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x3000b4a8
cmp dword [0x30011940], ebx
jne 0x3000b556
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3001193c]
jmp 0x3000b577
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.3000b709
ret
call fcn.3000ad02
jmp 0x3000b39f
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x19291e7d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x232a2ebc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219