joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d21b2
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
xor dword [esp + 0xc], 0x1b9e1148
push dword [esp + 8]
popfd
lea esp, [esp + 0x10]
call fcn.00740a05
push esi
jne 0x6e4e59
cmc

Function at 0x7dc693
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
push dword [esp + 0x10]
popfd
lea esp, [esp + 0x20]
call fcn.006acb0b

Function at 0x7de071
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov dword [esp + 4], 0xfd091814
pushfd
call fcn.0060abf7

Function at 0x401ec0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x401f68
mov ebx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov esi, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401f52
mov ecx, dword [esp + 0x18]
inc edi
push edi
push esi
push 1
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401f52
mov ebp, 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401f61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4052e1
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
pop edi
cmp dword [ebp - 0x31c], 0
jne 0x405b3a
mov edx, 0x6b
mov word [ebp - 0x1774], dx
mov eax, 0x65
mov word [ebp - 0x1772], ax
mov ecx, 0x72
mov word [ebp - 0x1770], cx
mov edx, 0x6e
mov word [ebp - 0x176e], dx
mov eax, 0x65
mov word [ebp - 0x176c], ax
mov ecx, 0x6c
mov word [ebp - 0x176a], cx
mov edx, 0x33
mov word [ebp - 0x1768], dx
mov eax, 0x32
mov word [ebp - 0x1766], ax
mov ecx, 0x2e
mov word [ebp - 0x1764], cx
mov edx, 0x64
mov word [ebp - 0x1762], dx
mov eax, 0x6c
mov word [ebp - 0x1760], ax
mov ecx, 0x6c
mov word [ebp - 0x175e], cx
xor edx, edx
mov word [ebp - 0x175c], dx
push edi
add edi, 0x3f79
xor edi, 0x7f2c
call 0x4052e1
add byte [0x49414e3e], dh
aaa
cmp eax, 0x5f04c483
push esi
push ecx
add esp, 4
sub esi, 0xb8fd
pop esi
push edi
sub edi, 0xfa76
pop edi
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
Function at 0x42b180
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x244]
mov ecx, dword [esi + 0x240]
mov dword [esp + 8], eax
mov eax, ecx
and eax, 1
xor edx, edx
or eax, edx
push edi
jne 0x42b1ad
and ecx, 2
xor eax, eax
or ecx, eax
je 0x42b1c0
mov edx, dword [esi + 8]
push 0x104
lea ecx, [esi + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [esp + 0x1c]
test edi, edi
jle 0x42b1e2
push edi
add esi, 0x28
push esi
mov esi, dword [esp + 0x20]
push esi
call dword [0x5d2618]
add esp, 0xc
mov word [esi + edi*2 - 2], 0
pop edi
pop esi
add esp, 8
ret 0xc
Function at 0x42e2c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x44
push esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 0x24]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
je 0x42e45f
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42e46c
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x42e44d
cmp dword [esp + 0x58], edi
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push ebx
push ebp
mov dword [esp + 0x58], edi
lea ebp, [esi + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], edx
je 0x42e39c
cmp dword [esi + 0x68], edi
jne 0x42e32a
cmp dword [esi + 0x6c], 0x3ff00000
je 0x42e39c
fild dword [esi + 0x2c]
xor eax, eax
mov edi, eax
mov ebx, eax
fmul qword [esi + 0x68]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.005c4484
mov ecx, dword [esi + 0x30]
push ebx
push ebx
push ebx
sub ecx, ebx
push ecx
sub eax, edi
push eax
push 0x1c
lea ecx, [esp + 0x70]
push ecx
call sym.vidcap60.exe__SfDibAlloc_28
test eax, eax
mov dword [esp + 0x10], eax
jl 0x42e39c
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x58]
push 0x1000020
push ebx
push ebx
push edx
push ebp
push ebx
push ebx
push ebx
push eax
call sym.vidcap60.exe__SfDibCopy_36
test eax, eax
mov dword [esp + 0x10], eax
jl 0x42e39c
mov ebp, dword [esp + 0x58]
push ebp
call fcn.00423880
push ebp
mov dword [esp + 0x18], eax
call fcn.00430f90
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
add ecx, 0x2c
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42e43b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
push ebx
je 0x42e435
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov ecx, 0xa
mov esi, ebp
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0xb
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x18]
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x42e43b
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x58]
test eax, eax
pop ebp
pop ebx
je 0x42e44d
push 0
push eax
call sym.vidcap60.exe__SfDibFree_8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x44
ret 0xc
pop edi
mov eax, 0x80004003
pop esi
add esp, 0x44
ret 0xc
mov eax, edi
pop edi
pop esi
add esp, 0x44
ret 0xc
Function at 0x43ce20
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x618
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x2a60]
test eax, eax
je 0x43cf3a
push ebp
mov ebp, dword [0x5d2618]
push esi
push edi
push 0x104
lea esi, [ebx + 0x23b4]
lea eax, [esp + 0x21c]
push esi
push eax
call ebp
mov ecx, dword [0x615a64]
add esp, 0xc
push 0x104
mov word [esp + 0x422], 0
mov edx, dword [ecx]
push esi
call dword [edx + 0x10]
mov edi, eax
test edi, edi
jl 0x43cea1
mov eax, dword [esp + 0x62c]
push esi
push eax
call fcn.0042d5b0
mov dword [ebx + 0x2a60], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x618
ret 4
test byte [ebx + 0x27d0], 8
jne 0x43ce92
lea ecx, [esp + 0x218]
push ecx
call sym.vidcap60.exe__SfGetFileNameExtensionPtrW_4
push 0x104
lea edx, [esp + 0x424]
mov ebx, eax
push edx
lea eax, [esp + 0x220]
push eax
call sym.vidcap60.exe__SfGetPathNameFromFilePath_12
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x5d99f0
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [0x5d24cc]
push 0x104
lea edx, [esp + 0x1c]
push edx
push esi
call ebp
mov eax, dword [esp + 0x640]
add esp, 0x14
push esi
push eax
mov word [esi + 0x206], 0
call fcn.0042d5b0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x618
ret 4
mov eax, 1
pop ebx
add esp, 0x618
ret 4
Function at 0x43e850
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x616b20]
xor ebx, ebx
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004490b0
mov ebp, eax
test ebp, ebp
je 0x43e878
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x428]
mov edx, dword [ecx + 0x1edc]
push 0x104
lea eax, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x43e8e3
test esi, esi
je 0x43e8c4
cmp word [esi], ax
je 0x43e8c4
mov eax, dword [0x613f28]
push esi
push 0x681
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
lea ecx, [esp + 0x1c]
push ecx
call sym.vidcap60.exe_SfPrintF
add esp, 0xc
jmp 0x43e8e3
mov edx, dword [0x613f28]
push 0x67c
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
lea eax, [esp + 0x18]
push eax
call sym.vidcap60.exe_SfPrintF
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call fcn.004488a0
lea edx, [esp + 0x14]
push edx
mov word [eax], 0
call fcn.0043e800
mov esi, eax
push esi
call fcn.00404a80
mov edi, eax
push 0
push edi
call fcn.00448840
cmp word [eax], 0
jne 0x43e923
push 0
push edi
call sym.vidcap60.exe__SfTextToLongToken_8
mov ebx, eax
mov word [esi], 0
lea eax, [esp + 0x14]
push eax
call fcn.004488a0
mov edi, dword [0x5d25a8]
mov word [eax], 0
mov ecx, dword [esp + 0x14]
push ecx
inc ebx
lea esi, [esp + 0x18]
call edi
add esp, 4
test eax, eax
je 0x43e968
jmp 0x43e950
cmp word [esi], 0
je 0x43e959
add esi, 2
xor edx, edx
mov dx, word [esi]
push edx
call edi
add esp, 4
test eax, eax
jne 0x43e950
push ebx
push esi
lea eax, [esp + 0x224]
push str._s__03d
push eax
call sym.vidcap60.exe_SfPrintF
mov edx, dword [esp + 0x20]
add esp, 0x10
push 0
lea ecx, [esp + 0x220]
push ecx
push ebp
push edx
call fcn.00449870
test eax, eax
jne 0x43e938
mov ecx, dword [esp + 0x428]
mov edx, dword [ecx + 0x1edc]
lea eax, [esp + 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret 4
Function at 0x443200
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6f8
mov eax, dword [0x614328]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0x2a7c]
mov eax, dword [edx]
mov edx, dword [esi + 0x2068]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], ecx
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push ecx
push ecx
push 0xb
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x44], ecx
call ebx
mov eax, dword [esi + 0x2068]
push 0
push 0
push 0x1009
push eax
call ebx
xor eax, eax
mov ecx, 0xad
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
mov dword [esp + 0xc], ecx
jle 0x443376
jmp 0x4432a0
mov ecx, dword [esp + 0xc]
lea ebx, [ebx]
mov edx, dword [0x614328]
mov eax, dword [edx + 0x6c]
mov eax, dword [eax + 0x2a7c]
mov edx, dword [eax]
xor ebx, ebx
cmp ecx, edx
jge 0x4432bd
mov eax, dword [eax + 8]
mov ebx, dword [eax + ecx*4]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4010
push 0x2b4
lea ecx, [esp + 0x40]
push ecx
push 0x80
push ebx
call edi
cmp eax, dword [esi + 0x2194]
je 0x4432e8
mov dword [esi + 0x2194], eax
push 0x4011
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0x80
push ebx
call edi
mov edi, eax
cmp edi, dword [esi + 0x2190]
je 0x443324
mov eax, dword [esi + 0x2068]
push edi
push 1
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x2190], edi
push 0x208
lea ecx, [esp + 0x2f4]
push ecx
mov eax, 2
mov ecx, 0x60f0b4
call fcn.0043ed00
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x2068]
push edx
lea eax, [esp + 0x2f4]
push eax
push ebx
push edi
push ecx
call fcn.00423110
mov eax, dword [esp + 8]
inc edi
cmp edi, eax
mov dword [esp + 0xc], edi
jl 0x443296
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 8]
test eax, eax
mov dword [esp + 0x20], 3
mov dword [esp + 0x14], 0
jle 0x4433e5
mov edi, edi
mov eax, dword [esi + 0x2068]
lea edx, [esp + 0x10]
push edx
push 0
push 0x104b
push eax
call ebx
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0x2068]
mov ecx, dword [edi + 0x21c]
lea edx, [esp + 0x10]
push edx
push 0
add edi, 0x21c
push 0x104c
push eax
mov dword [esp + 0x2c], ecx
call ebx
mov ecx, dword [esp + 8]
mov dword [edi], 0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x443390
mov ecx, dword [esi + 0x2068]
push 0
push 1
push 0xb
push ecx
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448940
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret 4
Function at 0x455de0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
mov eax, dword [0x61662c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esi]
mov dword [esp + 0x18], eax
xor eax, eax
test edi, edi
mov ecx, 1
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edi
je 0x455f3f
xor edx, edx
test edi, edi
jle 0x455e5f
test eax, eax
jne 0x455e5f
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x455e4d
mov ecx, dword [eax + 0x84c]
mov eax, dword [eax + 0x838]
cmp eax, 5
jne 0x455e48
test ecx, ecx
je 0x455e48
mov ecx, dword [ecx + 0x838]
cmp ecx, 4
je 0x455e51
cmp ecx, 2
je 0x455e51
cmp eax, 4
je 0x455e51
xor eax, eax
jmp 0x455e56
mov eax, 1
inc edx
cmp edx, edi
mov dword [esp + 0x14], eax
jl 0x455e15
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x455e76
mov dword [esp + 0x18], 0
jmp 0x455ed6
mov eax, dword [0x614324]
mov ecx, dword [0x613f28]
lea edx, [esp + 0x14]
push edx
push 0x454190
push eax
push 0x1aa
push ecx
mov esi, 1
call sym.vidcap60.exe__SfDialogBoxParam_20
cmp eax, 2
jne 0x455ea3
xor esi, esi
mov edx, dword [0x614324]
push 0x181
push 0
push 0
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_RedrawWindow]
test esi, esi
je 0x455f49
mov eax, dword [esp + 0x14]
test eax, eax
je 0x455ed6
mov eax, dword [esp + 0x18]
mov dword [0x61662c], eax
push 0x7f02
push 0
call sym.vidcap60.exe__SfLoadCursor_8
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor esi, esi
test edi, edi
mov dword [esp + 0x10], eax
jle 0x455f28
mov edi, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push edi
push ebx
push ecx
push ebp
push eax
call fcn.004557e0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x455f01
pop ebp
pop ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x14
ret 0x10
pop edi
mov eax, ecx
pop esi
add esp, 0x14
ret 0x10
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret 0x10
Function at 0x4562f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x48]
test eax, eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
jl 0x456450
jg 0x456314
test ecx, ecx
jbe 0x456450
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
push edi
lea esp, [esp]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
call sym.vidcap60.exe__riff64_ReadChunkHeader_12
mov ebp, eax
test ebp, ebp
jl 0x456444
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0xffffffe8
adc eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov ecx, 4
lea edi, [esp + 0x20]
mov esi, 0x5d9c1c
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov dword [esp + 0x14], eax
jne 0x4563e9
lea eax, [esp + 0x18]
push eax
push ebx
call sym.vidcap60.exe__riff64_SaveLocation_8
push 0
lea ecx, [esp + 0x48]
push ecx
push 0x10
lea edx, [esp + 0x3c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456435
cmp dword [esp + 0x44], 0x10
jb 0x456435
mov ecx, 4
lea edi, [esp + 0x30]
mov esi, 0x5d9bfc
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4563d5
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub ecx, 0x10
sbb edx, eax
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
push edx
push ebx
call fcn.004565b0
mov ebp, eax
test ebp, ebp
jl 0x456444
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebx
call sym.vidcap60.exe__riff64_RestoreLocation_12
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
push ebx
call sym.vidcap60.exe__riff64_SkipChunk_12
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub edi, eax
sbb ecx, edx
mov dword [esp + 0x54], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jg 0x456320
jl 0x45642b
mov ecx, edi
test ecx, ecx
ja 0x456320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x18
pop edi
pop esi
pop ebp
mov eax, 0x8004e008
pop ebx
add esp, 0x30
ret 0x18
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x30
ret 0x18
mov eax, dword [esp + 0x34]
add esp, 0x30
ret 0x18
Function at 0x457650
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
test ebp, ebp
mov dword [esp + 0xc], eax
jl 0x457790
jg 0x457672
test eax, eax
jbe 0x457790
push ebx
mov ebx, dword [esp + 0x44]
push esi
push edi
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
call sym.vidcap60.exe__riff64_ReadChunkHeader_12
test eax, eax
mov dword [esp + 0x4c], eax
jl 0x457777
add dword [esp + 0x18], 0xffffffe8
adc ebp, 0xffffffff
mov ecx, 4
lea edi, [esp + 0x28]
mov esi, 0x5d9c1c
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x45773d
lea eax, [esp + 0x20]
push eax
push ebx
call sym.vidcap60.exe__riff64_SaveLocation_8
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0x10
lea edx, [esp + 0x44]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457781
cmp dword [esp + 0x58], 0x10
jb 0x457781
mov ecx, 4
lea edi, [esp + 0x38]
mov esi, 0x5d9bbc
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x457725
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x54]
sub edx, 0x10
sbb eax, 0
push eax
push edx
push ecx
push ebx
call fcn.00456800
jmp 0x457729
mov eax, dword [esp + 0x4c]
test eax, eax
jl 0x457777
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
call sym.vidcap60.exe__riff64_RestoreLocation_12
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
call sym.vidcap60.exe__riff64_SkipChunk_12
mov edi, dword [esp + 0x18]
sub edi, eax
sbb ebp, edx
mov dword [esp + 0x10], eax
xor eax, eax
test ebp, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
jg 0x457680
jl 0x457777
mov ecx, edi
test ecx, ecx
ja 0x457680
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret 0x14
pop edi
pop esi
pop ebx
mov eax, 0x8004e008
pop ebp
add esp, 0x38
ret 0x14
mov eax, dword [esp + 0x40]
pop ebp
add esp, 0x38
ret 0x14
Function at 0x45b490
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0x22c
push ebp
mov ebp, dword [esp + 0x23c]
push esi
mov esi, dword [esp + 0x238]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [ebp], edi
je 0x45b683
cmp word [esi], di
je 0x45b683
mov eax, dword [0x613f28]
push 0x612
push eax
call sym.vidcap60.exe__SfGetString_8
push esi
push eax
call dword [0x5d24c4]
add esp, 8
test eax, eax
je 0x45b683
lea ecx, [esp + 0x18]
push ecx
push 0x5f52dc
push 1
push edi
push 0x5f63dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x45b655
cmp dword [esp + 0x240], edi
mov ecx, 0x5f63bc
jne 0x45b525
mov ecx, 0x5f633c
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push edi
lea esi, [esp + 0x10]
push esi
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x45b655
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x45b654
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x5f98c0
push edi
push edi
mov dword [esp + 0x28], edi
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov esi, eax
cmp esi, edi
jl 0x45b63a
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
push ecx
push str.FriendlyName
mov word [esp + 0x30], 8
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x45b628
mov edx, dword [esp + 0x2c]
push 0x104
push edx
lea eax, [esp + 0x3c]
push eax
call dword [0x5d2618]
lea ecx, [esp + 0x40]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x23a], di
je 0x45b5ea
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x240]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [0x5d24c4]
add esp, 8
test eax, eax
jne 0x45b628
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
push 0x5f526c
push edi
push edi
push eax
call dword [ecx + 0x20]
mov esi, eax
mov ebx, 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x45b636
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45b648
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, edi
mov dword [esp + 0x14], edi
je 0x45b550
pop ebx
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x45b663
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0xc], edi
je 0x45b675
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x22c
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x22c
ret 0xc