joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452430
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x2c
mov eax, dword [0x547570]
lea ecx, [esp + 4]
push 8
push ecx
mov dword [esp + 8], eax
call fcn.00452610
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 0x4524c2
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 0x452491
lea edx, [esp + 4]
push edx
call fcn.00452630
add esp, 4
jmp 0x4524c2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [esp + 8]
push ecx
push edx
call fcn.00452670
add esp, 0xc
test al, al
je 0x4524c2
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004526d0
add esp, 8
test al, al
jne 0x4524f9
mov eax, dword [esp]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4524f1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4524f1
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00532222
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 [0x547570]
mov edx, str._02x
test edx, edx
mov dword [esp + 0x40], ecx
je 0x452568
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x452568
push esi
lea ecx, [esp + 0x44]
call fcn.00405530
test eax, eax
je 0x452568
mov ecx, dword [esp + 0x40]
lea eax, [esi + 1]
test eax, eax
mov esi, ecx
jne 0x452543
test ecx, ecx
jne 0x45255d
push eax
push ecx
push 0xffffffffffffffff
push str._02x
push 0
push 0
call ebx
test eax, eax
jle 0x45255d
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 [0x547574]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4525b0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4525b0
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x452504
mov eax, dword [esp + 0xc]
mov edx, dword [0x547574]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebx
cmp ecx, edx
je 0x4525fe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4525fe
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov al, 1
add esp, 0x2c
ret 0xc
Function at 0x452670
Capabilities:
Hash data via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
jne 0x452680
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 0x4526c5
mov eax, dword [esi]
test eax, eax
je 0x4526ac
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4526c1
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 0x4546a0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x454707
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4546de
push 0
push str.Create_Error_
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x547574]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x454702
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454702
push esi
call fcn.00532222
add esp, 4
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push edx
push eax
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x547574]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x454753
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454753
push esi
call fcn.00532222
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x454760
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
push 0
push 0x80
push 3
push 0
push 1
push SHChangeNotifyRegister
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
jne 0x4547c9
push 0
push str.Error1_
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4547c1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4547c1
push esi
call fcn.00532222
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push ebx
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
lea esi, [eax + 1]
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x4547fa
cmp esi, dword [eax - 4]
jle 0x45485b
mov eax, dword [eax - 8]
cmp esi, eax
mov dword [esp + 0x24], eax
jge 0x454807
mov esi, eax
test esi, esi
jne 0x4548b3
mov ecx, dword [0x547570]
mov dword [ebx + 4], ecx
mov edi, dword [ebx + 4]
lea ecx, [eax + eax + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ecx - 8], edx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x454857
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454857
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 0
push edx
push ecx
push eax
push edi
mov dword [ebx], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
pop ebp
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4548a8
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4548a8
push esi
call fcn.00532222
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
lea edx, [esi + esi + 0xe]
push edx
call fcn.00532695
add esp, 4
test eax, eax
je 0x4548e6
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
jmp 0x454818
xor eax, eax
jmp 0x45485e
Function at 0x456760
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 0x45677d
lea eax, [esp + 4]
mov ecx, 8
mov byte [eax], bl
inc eax
dec ecx
jne 0x456777
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 0x4567fb
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 0x4567ba
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x4567ec
jmp 0x4567e0
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4567fb
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 0x456804
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x4567ec
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 0x4567fb
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 0x4567fb
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 0x456858
cmp eax, ebx
je 0x456840
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 0x4567fb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
pop ebx
add esp, 8
ret 0xc
cmp eax, ebx
je 0x456868
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 0x456877
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x456c60
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 0x55f3e4
mov dword [esi + 4], eax
call ebx
mov eax, dword [0x55f418]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 8], eax
push 0x55f3e4
mov dword [0x55f418], esi
call edi
mov esi, dword [0x55f3b8]
push 0x55f3e4
call ebx
mov ebx, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.WM_ATLGETHOST
call ebx
push str.WM_ATLGETCONTROL
mov dword [0x554e00], eax
call ebx
lea ecx, [esp + 0x20]
mov dword [0x554dfc], eax
mov eax, dword [0x55f3b4]
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 0x456d48
mov edx, dword [0x55f3b4]
xor ebp, ebp
push 0x7f00
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x456e20
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 0x456d4a
xor ebp, ebp
push 0x55f3e4
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 0x456d9b
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 0x456dfc
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.00416340
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 8
mov edi, eax
push ecx
push 0x4141a0
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
mov dword [esp + 0x10], eax
je 0x456ded
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 0x456e0f
test edi, edi
je 0x456e0f
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 0x457300
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 0x45748a
lea ecx, [esp + 0x10]
push 0x55af2c
lea edx, [esp + 0x10]
push ecx
push edx
call eax
mov ecx, dword [0x55af2c]
mov eax, dword [esp + 0xc]
and ecx, 0xfffffff
cmp eax, 6
mov dword [0x55af2c], ecx
jb 0x45748a
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45748a
push str.DrawThemeTextEx
push edi
call esi
mov dword [0x55af20], eax
mov eax, dword [esp + 0xc]
cmp eax, 0xa
jb 0x45748a
push 0x31
push edi
call esi
push 0x68
push edi
mov dword [0x55af1c], eax
call esi
push 0x6a
push edi
mov dword [0x55af10], eax
call esi
push 0x84
push edi
mov dword [0x55af18], eax
call esi
push 0x85
push edi
mov dword [0x55af00], eax
call esi
mov dword [0x55af04], eax
mov eax, dword [0x55af2c]
cmp eax, 0x47ba
push 0x87
push edi
jae 0x4573db
call esi
mov dword [0x55af08], eax
jmp 0x4573e2
call esi
mov dword [0x55af28], eax
push 0x89
push edi
call esi
push str.SetWindowCompositionAttribute
push str.user32.dll
mov dword [0x55af14], eax
call ebx
push eax
call esi
mov dword [0x55aefc], eax
mov eax, dword [0x55af1c]
test eax, eax
je 0x45748a
mov eax, dword [0x55af10]
test eax, eax
je 0x45748a
mov eax, dword [0x55af00]
test eax, eax
je 0x45748a
mov ecx, dword [0x55af04]
test ecx, ecx
je 0x45748a
mov ecx, dword [0x55af08]
test ecx, ecx
jne 0x45743c
mov ecx, dword [0x55af28]
test ecx, ecx
je 0x45748a
mov ecx, dword [0x55af14]
test ecx, ecx
je 0x45748a
mov ebx, 1
mov byte [0x55aef8], bl
call eax
test al, al
je 0x457466
call fcn.004571f0
test al, al
mov byte [0x55aef9], bl
je 0x45746d
mov byte [0x55aef9], 0
mov eax, dword [0x54abc0]
test eax, eax
jne 0x45748a
push ebx
call fcn.004572d0
add esp, 4
call dword [0x55af10]
call fcn.0048d880
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x45d620
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.0x45d658.42
xor edx, edx
mov dl, byte [ecx + 0x45d768]
jmp dword [edx*4 + 0x45d748]
push 1
mov ecx, esi
mov dword [edi], 1
call fcn.0045dfd0
pop edi
xor eax, eax
pop esi
ret 0x10
push 0
mov ecx, esi
mov dword [edi], 1
call fcn.0045dfd0
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45d658.42
push 1
mov ecx, esi
mov dword [edi], 1
call fcn.0045e020
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45d658.42
push 0
mov ecx, esi
mov dword [edi], 1
call fcn.0045e020
pop edi
xor eax, eax
pop esi
ret 0x10
test eax, eax
je case.0x45d658.42
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
push eax
call fcn.00459040
push esi
mov dword [edi], 1
mov ecx, dword [esi + 0x38]
push eax
push 0
call fcn.0045c870
pop edi
xor eax, eax
pop esi
ret 0x10
mov ecx, dword [esi + 4]
push ecx
call fcn.004dc560
add esp, 4
xor eax, eax
pop edi
pop esi
ret 0x10
test eax, eax
je case.0x45d658.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.00459040
mov ecx, dword [esi + 0x38]
push esi
dec edi
push eax
push edi
call fcn.0045c870
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x45de30
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3c
mov eax, dword [0x547570]
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 0x45de57
cmp dword [eax - 4], ecx
jge 0x45deb7
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x45de64
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x45deb7
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 [0x547574]
cmp ebp, eax
je 0x45deb3
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45deb3
push ebp
call fcn.00532222
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.005322f9
add esp, 8
test eax, eax
jne 0x45df4c
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 [0x547574]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x45dfbe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45dfbe
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
add esp, 0x3c
ret
Function at 0x45f8c0
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.00411b90
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [eax], 0x80
call fcn.00411b90
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.0047fa40
push edi
call fcn.00475eb0
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 0x45f9c1
mov edx, dword [0x55bbe8]
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 0x45f9df
push edi
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45f9ea
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45f9f5
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x461850
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 0x462190
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, 0x55b298
push 0x55b298
rep stosd dword es:[edi], eax
mov dword [0x55b298], 0x114
call ebx
mov eax, dword [0x55b29c]
mov edx, dword [0x55b2a0]
mov ecx, eax
mov esi, dword [0x547570]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
cmp eax, 5
mov dword [0x55bbfc], ecx
jb 0x46229d
mov ecx, 0x47
xor eax, eax
mov edi, 0x55b178
push str.ntdll.dll
rep stosd dword es:[edi], eax
mov dword [0x55b178], 0x11c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x462274
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x462274
push 0x55b178
call eax
mov eax, dword [0x55b17c]
test eax, eax
je 0x462274
mov ecx, dword [0x55b184]
mov dword [0x55b29c], eax
mov eax, dword [0x55b180]
lea edx, [esi - 0xc]
mov dword [0x55b2a0], eax
mov eax, dword [0x547574]
cmp edx, eax
mov dword [0x55b2a4], ecx
je 0x4622c1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4622c1
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0x55b178
call ebx
mov eax, dword [0x55b17c]
mov ecx, dword [0x55b180]
mov edx, dword [0x55b184]
mov dword [0x55b29c], eax
mov dword [0x55b2a0], ecx
mov dword [0x55b2a4], edx
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4622c1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4622c1
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x464240
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 0x46428a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x464281
cmp eax, 4
jne 0x46428a
cmp dword [esp + 8], 0x5a
jb 0x46428a
xor eax, eax
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret