joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ce90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55e3d4]
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
push 0
push eax
push 0
push ebp
push 0x14
push 0xb4
push 0
push 0
push ecx
push 0
push 0x547390
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [0x559a10]
test eax, eax
jne 0x44cf16
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
push ecx
mov byte [esp + 0x37], 1
mov byte [esp + 0x3a], 2
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x559a10], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push esi
call edi
push 0
push 0x14
push 0x41e
push esi
call edi
push 0xc0000
push 0
push 0x420
push esi
call edi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x44cfb2
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov edi, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
push edx
push edi
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0xc]
push ecx
push ebp
call edi
lea edx, [esp + 0x14]
push edx
push ebp
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
sub ecx, eax
push 0x18
push ecx
push edx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x6c
ret
Function at 0x44d1f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
mov eax, dword [0x546560]
push ebx
mov word [esp + 0xc], 0
mov dword [esp + 4], eax
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
push ebp
mov ebp, ecx
cmp edx, 1
push esi
mov ecx, 0x400
jg 0x44d21d
cmp dword [eax - 4], ecx
jge 0x44d27f
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x10], esi
jle 0x44d22a
mov ecx, esi
push ecx
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x44d27f
lea ecx, [esi + esi + 2]
push edi
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [ebx + 0xc]
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx - 8], edx
mov eax, dword [0x546564]
cmp ebx, eax
je 0x44d27b
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44d27b
push ebx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
push 0x400
push eax
mov eax, dword [ebp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0xc]
call fcn.004055c0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0xc]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0xc]
mov word [ecx + eax*2], 0
mov eax, dword [ebp + 0x40]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x44d32d
mov edx, dword [eax - 8]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea esi, [esp + 0x14]
mov ecx, dword [ebp + 0x40]
push esi
lea esi, [esp + 0x18]
mov edx, dword [ecx]
push esi
lea esi, [esp + 0x1c]
push esi
lea esi, [esp + 0x20]
push esi
push eax
push ecx
call dword [edx + 0x2c]
mov edx, dword [0x546564]
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44d319
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44d319
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44d358
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44d358
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x452250
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x2c
mov eax, dword [0x546560]
lea ecx, [esp + 4]
push 8
push ecx
mov dword [esp + 8], eax
call fcn.00452430
add esp, 8
lea edx, [esp + 4]
push 0xf0000000
push 0x18
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4522e2
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4522b1
lea edx, [esp + 4]
push edx
call fcn.00452450
add esp, 4
jmp 0x4522e2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [esp + 8]
push ecx
push edx
call fcn.00452490
add esp, 0xc
test al, al
je 0x4522e2
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004524f0
add esp, 8
test al, al
jne 0x452319
mov eax, dword [esp]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x452311
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452311
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
xor al, al
add esp, 0x2c
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
xor edi, edi
mov ecx, dword [0x546560]
mov edx, str._02x
test edx, edx
mov dword [esp + 0x40], ecx
je 0x452388
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x452388
push esi
lea ecx, [esp + 0x44]
call fcn.00405530
test eax, eax
je 0x452388
mov ecx, dword [esp + 0x40]
lea eax, [esi + 1]
test eax, eax
mov esi, ecx
jne 0x452363
test ecx, ecx
jne 0x45237d
push eax
push ecx
push 0xffffffffffffffff
push str._02x
push 0
push 0
call ebx
test eax, eax
jle 0x45237d
mov word [esi + eax*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.00405bb0
mov ecx, dword [esp + 0x40]
xor eax, eax
mov al, byte [esp + edi + 0x18]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
call fcn.00405cb0
mov eax, dword [esp + 0x4c]
mov edx, dword [0x546564]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4523d0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4523d0
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
inc edi
cmp edi, 0x20
jl 0x452324
mov eax, dword [esp + 0xc]
mov edx, dword [0x546564]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebx
cmp ecx, edx
je 0x45241e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45241e
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov al, 1
add esp, 0x2c
ret 0xc
Function at 0x452490
Capabilities:
Hash data via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
jne 0x4524a0
xor al, al
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4524e5
mov eax, dword [esi]
test eax, eax
je 0x4524cc
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4524e1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi + 4], 0
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x456330
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
xor ebx, ebx
test eax, eax
je 0x45634d
lea eax, [esp + 4]
mov ecx, 8
mov byte [eax], bl
inc eax
dec ecx
jne 0x456347
push 0xf0000000
push 0x18
push ebx
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4563cb
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push ebx
push ebx
push 0x800c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x45638a
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x4563bc
jmp 0x4563b0
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4563cb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4563d4
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x4563bc
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4563cb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4563cb
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ebx
push ecx
push edx
push 2
push eax
mov dword [esp + 0x28], 0x20
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
mov eax, dword [esp + 4]
jne 0x456428
cmp eax, ebx
je 0x456410
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4563cb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
pop ebx
add esp, 8
ret 0xc
cmp eax, ebx
je 0x456438
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x456447
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x456830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
lea esi, [ecx + 8]
push edi
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x55e32c
mov dword [esi + 4], eax
call ebx
mov eax, dword [0x55e360]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 8], eax
push 0x55e32c
mov dword [0x55e360], esi
call edi
mov esi, dword [0x55e300]
push 0x55e32c
call ebx
mov ebx, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.WM_ATLGETHOST
call ebx
push str.WM_ATLGETCONTROL
mov dword [0x553d90], eax
call ebx
lea ecx, [esp + 0x20]
mov dword [0x553d8c], eax
mov eax, dword [0x55e2fc]
push ecx
mov ebx, 0x30
push str.AtlAxWin
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x456918
mov edx, dword [0x55e2fc]
xor ebp, ebp
push 0x7f00
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x51d360
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], str.AtlAxWin
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_RegisterClassExW]
jmp 0x45691a
xor ebp, ebp
push 0x55e32c
call edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push 0x84
push esi
call edi
push 0xf0
push 0x84
push esi
mov ebx, eax
call edi
mov edi, eax
mov dword [esp + 0x14], ebp
test edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0
je 0x45696b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebx, ebx
je 0x4569cc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push ebx
call fcn.004163f0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 8
mov edi, eax
push ecx
push 0x414350
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
mov dword [esp + 0x10], eax
je 0x4569bd
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x4569df
test edi, edi
je 0x4569df
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
Function at 0x456c00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push edi
push str.RtlGetNtVersionNumbers
push str.ntdll.dll
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x456d8a
lea ecx, [esp + 0x10]
push 0x559e9c
lea edx, [esp + 0x10]
push ecx
push edx
call eax
mov ecx, dword [0x559e9c]
mov eax, dword [esp + 0xc]
and ecx, 0xfffffff
cmp eax, 6
mov dword [0x559e9c], ecx
jb 0x456d8a
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x456d8a
push str.DrawThemeTextEx
push edi
call esi
mov dword [0x559e90], eax
mov eax, dword [esp + 0xc]
cmp eax, 0xa
jb 0x456d8a
push 0x31
push edi
call esi
push 0x68
push edi
mov dword [0x559e8c], eax
call esi
push 0x6a
push edi
mov dword [0x559e80], eax
call esi
push 0x84
push edi
mov dword [0x559e88], eax
call esi
push 0x85
push edi
mov dword [0x559e70], eax
call esi
mov dword [0x559e74], eax
mov eax, dword [0x559e9c]
cmp eax, 0x47ba
push 0x87
push edi
jae 0x456cdb
call esi
mov dword [0x559e78], eax
jmp 0x456ce2
call esi
mov dword [0x559e98], eax
push 0x89
push edi
call esi
push str.SetWindowCompositionAttribute
push str.user32.dll
mov dword [0x559e84], eax
call ebx
push eax
call esi
mov dword [0x559e6c], eax
mov eax, dword [0x559e8c]
test eax, eax
je 0x456d8a
mov eax, dword [0x559e80]
test eax, eax
je 0x456d8a
mov eax, dword [0x559e70]
test eax, eax
je 0x456d8a
mov ecx, dword [0x559e74]
test ecx, ecx
je 0x456d8a
mov ecx, dword [0x559e78]
test ecx, ecx
jne 0x456d3c
mov ecx, dword [0x559e98]
test ecx, ecx
je 0x456d8a
mov ecx, dword [0x559e84]
test ecx, ecx
je 0x456d8a
mov ebx, 1
mov byte [0x559e68], bl
call eax
test al, al
je 0x456d66
call fcn.00456af0
test al, al
mov byte [0x559e69], bl
je 0x456d6d
mov byte [0x559e69], 0
mov eax, dword [0x549ba0]
test eax, eax
jne 0x456d8a
push ebx
call fcn.00456bd0
add esp, 4
call dword [0x559e80]
call fcn.0048c930
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x45cd20
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push 0x11
mov dword [edi], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 0x10]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
lea ecx, [edx - 0x23]
cmp ecx, 0x4e
ja case.0x45cd58.42
xor edx, edx
mov dl, byte [ecx + 0x45ce68]
jmp dword [edx*4 + 0x45ce48]
push 1
mov ecx, esi
mov dword [edi], 1
call fcn.0045d6d0
pop edi
xor eax, eax
pop esi
ret 0x10
push 0
mov ecx, esi
mov dword [edi], 1
call fcn.0045d6d0
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45cd58.42
push 1
mov ecx, esi
mov dword [edi], 1
call fcn.0045d720
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45cd58.42
push 0
mov ecx, esi
mov dword [edi], 1
call fcn.0045d720
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45cd58.42
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
push eax
call fcn.00458740
push esi
mov dword [edi], 1
mov ecx, dword [esi + 0x38]
push eax
push 0
call fcn.0045bf70
pop edi
xor eax, eax
pop esi
ret 0x10
mov ecx, dword [esi + 4]
push ecx
call fcn.004db9a0
add esp, 4
xor eax, eax
pop edi
pop esi
ret 0x10
test eax, eax
je case.0x45cd58.42
mov dword [edi], 1
mov eax, dword [esi + 0x38]
add eax, 4
push 0
push 0
push 0x1004
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x38]
mov edi, eax
mov eax, dword [esi + 0x24]
push eax
call fcn.00458740
mov ecx, dword [esi + 0x38]
push esi
dec edi
push eax
push edi
call fcn.0045bf70
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x45d530
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3c
mov eax, dword [0x546560]
push ebx
push ebp
mov dword [esp + 8], eax
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
mov ebx, ecx
push esi
cmp edx, 1
push edi
mov ecx, 0x800
jg 0x45d557
cmp dword [eax - 4], ecx
jge 0x45d5b7
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x45d564
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x45d5b7
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], edx
mov eax, dword [0x546564]
cmp ebp, eax
je 0x45d5b3
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45d5b3
push ebp
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
push 0x800
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov edx, dword [ebx + 4]
push edx
call esi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
add eax, 4
mov eax, dword [eax]
push eax
call edi
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x2c]
push ecx
push eax
mov dword [esp + 0x28], 0xffffff50
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], edx
call fcn.00531809
add esp, 8
test eax, eax
jne 0x45d64c
mov dword [esp + 0x2c], 0xffffffff
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x10]
neg edx
sbb edx, edx
not edx
and edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [eax - 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x38]
add eax, 4
mov ecx, dword [eax]
push ecx
call edi
mov edx, dword [ebx + 4]
mov edi, eax
push edx
call esi
lea ecx, [esp + 0x18]
push ecx
push edi
push 0x4e
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x45d6be
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45d6be
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
add esp, 0x3c
ret
Function at 0x45efd0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
and ebx, 0xffff
mov eax, dword [esi + 0x49c]
push 0
push ebx
push 0x419
push eax
call ebp
mov edx, dword [esi + 0x49c]
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x41d
push edx
call ebp
mov ecx, dword [esi + 0x49c]
lea eax, [esp + 0x1c]
push 2
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esi + 0x49c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push 1
push ebx
push 0x403
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call ebp
push ecx
mov dword [esp + 0x38], 0
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], 0xd9
call fcn.00411d40
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [eax], 0x80
call fcn.00411d40
mov edx, dword [esp + 0x34]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push edx
call edi
push 3
push eax
mov dword [esp + 0x18], eax
call edi
mov edi, eax
push 0
push 1
push edi
call fcn.0047f170
push edi
call fcn.004755e0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
push ecx
push 0x100
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jle 0x45f0d1
mov edx, dword [0x55ab48]
push 0
push eax
push 0x111
push edx
call ebp
mov eax, dword [esi + 0x49c]
push 0
push ebx
push 0x403
push eax
call ebp
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
test edi, edi
je 0x45f0ef
push edi
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45f0fa
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45f105
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x460f70
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 4
push ecx
mov ecx, dword [eax]
push 4
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret
Function at 0x4618c0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push edi
mov ecx, 0x45
xor eax, eax
mov edi, 0x55a1f8
push 0x55a1f8
rep stosd dword es:[edi], eax
mov dword [0x55a1f8], 0x114
call ebx
mov eax, dword [0x55a1fc]
mov edx, dword [0x55a200]
mov ecx, eax
mov esi, dword [0x546560]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
cmp eax, 5
mov dword [0x55ab5c], ecx
jb 0x4619cd
mov ecx, 0x47
xor eax, eax
mov edi, 0x55a0d8
push str.ntdll.dll
rep stosd dword es:[edi], eax
mov dword [0x55a0d8], 0x11c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4619a4
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4619a4
push 0x55a0d8
call eax
mov eax, dword [0x55a0dc]
test eax, eax
je 0x4619a4
mov ecx, dword [0x55a0e4]
mov dword [0x55a1fc], eax
mov eax, dword [0x55a0e0]
lea edx, [esi - 0xc]
mov dword [0x55a200], eax
mov eax, dword [0x546564]
cmp edx, eax
mov dword [0x55a204], ecx
je 0x4619f1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4619f1
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0x55a0d8
call ebx
mov eax, dword [0x55a0dc]
mov ecx, dword [0x55a0e0]
mov edx, dword [0x55a0e4]
mov dword [0x55a1fc], eax
mov dword [0x55a200], ecx
mov dword [0x55a204], edx
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4619f1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4619f1
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x463970
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x4639ba
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x4639b1
cmp eax, 4
jne 0x4639ba
cmp dword [esp + 8], 0x5a
jb 0x4639ba
xor eax, eax
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret