joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4619f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x228], 0
push 0x105
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x224], 0
push 0x105
push 0
lea ecx, [ebp - 0x214]
push ecx
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x218], 0
push 0x105
lea edx, [ebp - 0x10c]
push edx
call fcn.00461650
add esp, 8
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.004c190a
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x461aba
mov dword [ebp - 0x21c], 1
jmp 0x461ac4
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret

Function at 0x462270
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x462910
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
push 0x64
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
mov word [ebp - 0x30], ax
movzx edx, word [ebp - 0x30]
test edx, edx
jne 0x462319
push str.Register_Failed
call fcn.00468860
add esp, 4
xor eax, eax
jmp 0x46232b
push str.Register_Successed
call fcn.00468860
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret

Function at 0x462340
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x105
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x110], 0
push 0x105
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x118], 0
push 0x105
lea edx, [ebp - 0x10c]
push edx
call fcn.00461650
add esp, 8
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x464a10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0xffffffff
jne 0x464a46
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
jmp 0x464aff
cmp dword [ebp + 0xc], 0
jne 0x464a7a
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x464a68
mov dword [ebp - 0x14], 0
jmp 0x464a6f
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jmp 0x464aff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x464a91
mov dword [ebp - 8], 0
jmp 0x464aff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x464acf
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
jne 0x464ae3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jb 0x464aa1
cmp dword [ebp - 4], 1
jne 0x464af2
mov dword [ebp - 0x18], 0
jmp 0x464af9
mov dword [ebp - 0x18], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x465390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4653b9
or eax, 0xffffffff
jmp 0x4654d3
cmp dword [ebp + 0xc], 0
jne 0x4653c7
or eax, 0xffffffff
jmp 0x4654d3
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x4653d6
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
je 0x4653fb
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
jmp 0x465402
mov dword [ebp - 0x20], str.__xml_version_1.0__encoding_ISO_8859_1____n__DOCTYPE_log4c_SYSTEM_____n_n_log4c_version_1.2.1___n_t_config__n_t_t_bufsize_0__bufsize__n_t_t_debug_level_2____n_t_t_nocleanup_0__nocleanup__n_t_t_reread_1__reread__n_t__config__n_n_t_category_name_root__priority_notice___appender_aname____n_n_t_rollingpolicy_name_a_policy_name__type_sizewin__maxsize_1048576__maxnum_15_____n_t_appender_name_aname__type_rollingfile___logdir_.__prefix_log__layout_dated_threadid__rollingpolicy_a_policy_name_____n_n_t_appender_name_stdout__type_stream__layout_dated_threadid____n_t_appender_name_stderr__type_stream__layout_dated____n_t_appender_name_syslog__type_syslog__layout_basic____n__log4c__n
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 2], cl
add dword [ebp - 0xc], 1
cmp byte [ebp - 2], 0
jne 0x465417
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
je 0x46543c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x465443
mov dword [ebp - 0x24], str.log4crc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
push 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.004bfd7e
add esp, 8
test eax, eax
je 0x4654c1
push 0x4eb3d4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004bd8d0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4654c1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 3], cl
add dword [ebp - 0x10], 1
cmp byte [ebp - 3], 0
jne 0x465484
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 1
mov edx, dword [ebp - 0x18]
push edx
call fcn.004c0114
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004bfe81
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00464ed0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x467fd0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2225
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f0], 0
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ad050
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x2e8], 0
push 0x4ec29f
lea ecx, [ebp - 0x248]
call fcn.0043db50
mov dword [ebp - 4], 1
push 0x4ec2a2
lea ecx, [ebp - 0x230]
call fcn.0043db50
mov byte [ebp - 4], 2
mov byte [ebp - 0x2e9], 1
mov dword [ebp - 0x2e4], 0x114
lea edx, [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x468098
cmp dword [ebp - 0x2e0], 6
jae 0x468098
mov byte [ebp - 0x2e9], 0
movzx eax, byte [ebp - 0x2e9]
test eax, eax
je 0x4680b5
lea ecx, [ebp - 0x2e8]
push ecx
push 0x1c
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
jmp 0x4680c5
lea edx, [ebp - 0x2e8]
push edx
push 0x2e
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 0x2e8], 0
je 0x4680ff
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4680ff
push 0x104
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043db50
mov edx, dword [ebp - 0x2f0]
or edx, 1
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00405530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00405530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x46c230
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2828
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 8
lea ecx, [ebp - 0x18]
call fcn.00446cb0
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.0045ced0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0045cf90
movzx ecx, al
test ecx, ecx
jne 0x46c2af
push str.CMTVPipeClient::SendDataPipe__uniqueLock.owns_lock___E
call fcn.00468860
add esp, 4
mov byte [ebp - 0x1d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045cf10
mov al, byte [ebp - 0x1d]
jmp 0x46c325
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407730
push eax
mov ecx, dword [ebp + 8]
call fcn.004053c0
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46c303
push str.CMTVPipeClient::SendDataPipe_WriteFile_E
call fcn.00468860
add esp, 4
mov byte [ebp - 0x1e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045cf10
mov al, byte [ebp - 0x1e]
jmp 0x46c325
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [ebp - 0x1f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045cf10
mov al, byte [ebp - 0x1f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret 4

Function at 0x46c920
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0x4ece38
push str.SDL_AUDIODRIVER
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x30
call sub.SDL2.dll_SDL_Init
add esp, 4
test eax, eax
jge 0x46c952
push str.FAIL:_Init_SDL2_fail_
call fcn.00468860
add esp, 4
xor al, al
jmp 0x46c954
mov al, 1
pop ebp
ret
Function at 0x473bb0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00494360
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1008]
push edi
mov edi, dword [ebp + 0xc]
push 0x1001
push 0
push eax
call fcn.004ad050
add esp, 0xc
mov dword [ebp - 0x100c], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1014], 0
jb 0x473c02
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 3
push connect
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
je 0x473d4d
push ebx
push esi
mov dword [ebp - 0x1010], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push esi
mov dword [ebp - 0x101c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x473d4d
cmp dword [edi + 0x14], 8
jb 0x473c5b
mov edi, dword [edi]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, 1
mov dword [ebp - 0x1018], eax
nop word [eax + eax]
push 0x1001
lea eax, [ebp - 0x1008]
push 0
push eax
call fcn.004ad050
add esp, 0xc
push 1
push 0
push 0
push esi
call ebx
cmp eax, 0xffffffff
je 0x473d18
mov ecx, dword [ebp - 0x101c]
sub ecx, eax
mov eax, 0x1000
cmp ecx, 0x1000
push 0
cmovae ecx, eax
lea eax, [ebp - 0x100c]
push eax
push ecx
lea eax, [ebp - 0x1008]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 0x1018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp - 0x1020]
mov dword [ebp - 0x1010], eax
jmp 0x473d1e
mov eax, dword [ebp - 0x1010]
test edi, edi
je 0x473d3c
cmp dword [ebp - 0x100c], 0
jbe 0x473d3c
test eax, eax
je 0x473d3c
cmp dword [ebp - 0x1014], 0
ja 0x473c90
push dword [ebp - 0x1018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x474190
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call sym.HdlVideoFilterPlayer.exe_int___cdecl_FileHelper::RemoveDirAllFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
push esi
call sym.HdlVideoFilterPlayer.exe_int___cdecl_FileHelper::RemoveDirAllSubDir_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4741ae
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
pop ebp
ret
Function at 0x4748b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x534b64]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x534118]
cmp eax, dword [ecx + 4]
jg 0x47496e
cmp dword [0x527cb4], 0
jne 0x474951
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ad050
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x474951
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474930
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x527ca4
call fcn.00463450
push 0x527ca4
mov ecx, esi
call fcn.00412d20
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049425b
mov esp, ebp
pop ebp
ret
push 0x534118
call fcn.00494bb0
add esp, 4
cmp dword [0x534118], 0xffffffff
jne 0x4748ed
push 0x4e6920
call fcn.00494246
push 0x534118
call fcn.00494b66
add esp, 8
jmp 0x4748ed
Function at 0x475170
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3200
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], eax
mov eax, edi
jb 0x4751c7
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4751f6
push 0x13
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push str.unknown_description
mov word [esi], ax
call fcn.00463450
jmp 0x4752ea
push eax
call fcn.004af6de
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x47520c
mov ecx, dword [edi]
push eax
push dword [ebp - 0x48]
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4752a7
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push edi
call sym.HdlVideoFilterPlayer.exe_int___cdecl_FileHelper::GetFileLangCharset_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_long_int__
add esp, 8
test eax, eax
je 0x4752a7
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
push str.StringFileInfo_08lxFileDescription
push eax
call sym.HdlVideoFilterPlayer.exe_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_StringHelper::StringFormat_wchar_t_const__
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47529d
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x44], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475283
sub ecx, dword [ebp - 0x44]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00463450
lea ecx, [ebp - 0x40]
call fcn.0040ce40
jmp 0x4752aa
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4752b7
push edi
call fcn.004af6c1
add esp, 4
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.0040ce40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x475310
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3248
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x4edc0c
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00463450
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax], 0
jne 0x475439
push esi
lea ecx, [ebp - 0x40]
call fcn.00412d20
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov byte [ebp - 4], 1
test eax, eax
je 0x475431
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea esi, [edx + ecx*2]
je 0x4753bd
nop word [eax + eax]
cmp esi, edx
je 0x475431
sub esi, 2
cmp word [esi], 0x2e
jne 0x4753b0
sub esi, edx
sar esi, 1
cmp esi, 0xffffffff
je 0x475431
push 1
push 0x4edc94
lea ecx, [ebp - 0x28]
call fcn.00463350
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, esi
jb 0x4754d2
sub ecx, esi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
lea eax, [eax + esi*2]
push eax
call fcn.00463450
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00463350
lea ecx, [ebp - 0x58]
call fcn.0040ce40
lea ecx, [ebp - 0x40]
call fcn.0040ce40
push 0x2b4
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.004ad050
add esp, 0xc
lea ecx, [ebp - 0x30c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x110
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp - 0x30c]
cmp edx, 8
jb 0x4754b6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4754ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4754d7
push edx
push ecx
call fcn.00493fa5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
call fcn.00446ca0
call fcn.004af5bc
int3
Function at 0x4754e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x475504
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x47557a
push ebx
call fcn.00493fb3
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x475527
mov esi, dword [esi]
push edi
push ebx
push dword [ebp + 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47557a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47557a
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test edi, edi
je 0x47556e
push edi
call fcn.00493fbc
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret