joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be07
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56ea08
call fcn.004f9d14
sub esp, 0xc0
push esi
lea ecx, [ebp - 0xcc]
call fcn.0043b9d3
push dword [ebp + 0x14]
xor esi, esi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b8ae
cmp eax, esi
je 0x43be4e
mov dword [ebp - 4], 1
mov esi, eax
jmp 0x43be6e
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43be67
mov dword [ebp - 4], 2
or esi, 0xffffffff
jmp 0x43be6e
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00555213
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x5873dc
call fcn.00431b2b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43cc57
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56eb70
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x656fd4
push str._sMediaProbe.exe
push edi
call fcn.0054e079
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x656fd4]
call esi
test eax, eax
jne 0x43cc9b
push str.MediaProbe.exe
mov ecx, edi
call fcn.005553aa
push ebx
mov edi, 0x656fd8
push str._sMediaEncode.exe
push edi
call fcn.0054e079
add esp, 0xc
push dword [0x656fd8]
call esi
test eax, eax
jne 0x43ccc7
push str.MediaEncode.exe
mov ecx, edi
call fcn.005553aa
push dword [0x656fd8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5cf2c0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.005554b8
push eax
mov ecx, 0x656fdc
mov byte [ebp - 4], 1
call fcn.0055535a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00555213
push ebx
mov edi, 0x656fe0
push str._sMediaPlay.exe
push edi
call fcn.0054e079
add esp, 0xc
push dword [0x656fe0]
call esi
test eax, eax
jne 0x43cd3e
push str.MediaPlay.exe
mov ecx, edi
call fcn.005553aa
cmp dword [0x656fe4], 0
jne 0x43ce42
mov eax, dword [0x64f020]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cd7e
mov dword [0x656fe4], 6
cmp dword [0x656fe4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cdb0
mov dword [0x656fe4], 5
cmp dword [0x656fe4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cdde
mov dword [0x656fe4], 4
cmp dword [0x656fe4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43ce0c
mov dword [0x656fe4], 3
cmp dword [0x656fe4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43ce36
mov dword [0x656fe4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x656fe8], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ce5d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x656fe0]
call esi
test eax, eax
je 0x43ce7d
xor eax, eax
push eax
push eax
push eax
push dword [0x656fe0]
jmp 0x43cead
push dword [0x656fd8]
call esi
test eax, eax
je 0x43ce96
xor eax, eax
push eax
push eax
push eax
push dword [0x656fd8]
jmp 0x43cead
push dword [0x656fd4]
call esi
test eax, eax
je 0x43ceb5
xor eax, eax
push eax
push eax
push eax
push dword [0x656fd4]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x43d11a
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x56ebcc
call fcn.004f9d14
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d158
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.00555213
lea eax, [ebp - 0x14]
push eax
call fcn.00426df2
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d7de
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00555213
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.005553aa
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043ceda
test eax, eax
je 0x43d1af
mov esi, eax
jmp 0x43d1e4
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x43d1c9
or esi, 0xffffffff
jmp 0x43d1e4
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x43d1e4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041d84b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4435c3
Capabilities:
Resume thread

Disassembly:
mov eax, 0x56f9b5
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
push 0x74
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x4435e8
push dword [ebp + 8]
push esi
call fcn.004448fe
mov esi, eax
jmp 0x4435ea
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44360c
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
jne 0x443610
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x443626
push 0
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4470ad
Capabilities:
Parse url

Disassembly:
mov eax, 0x56fa6c
call fcn.004f9d14
mov eax, 0x4048
call fcn.004fabd0
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00555287
xor ebx, ebx
push 0x23
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.005556f2
or esi, 0xffffffff
cmp eax, esi
je 0x447109
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0054dc6b
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0055535a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00555213
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x4471b4
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x656dbc
push esi
mov dword [edi], ebx
call fcn.005553aa
mov ecx, dword [ebp + 0x14]
push esi
call fcn.005553aa
mov eax, dword [ebp + 0x18]
push 0x3c
pop esi
mov dword [eax], ebx
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004f9e20
mov eax, 0x1000
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4054]
lea ecx, [ebp - 0x2050]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
mov dword [ebp - 0x4c], esi
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esi, eax
cmp esi, ebx
je 0x44718b
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x18]
mov dword [edi], eax
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2050]
push eax
call fcn.005553aa
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x4054]
push eax
call fcn.005553aa
xor eax, eax
cmp esi, ebx
setne al
dec eax
pop edi
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44736a
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x656dbc
mov dword [edi], esi
call fcn.005553aa
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44744b
cmp dword [ebp + 8], esi
je 0x44744b
push ebx
push 4
pop eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyEnable
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x4473ea
cmp dword [ebp - 0xc], esi
setne al
mov dword [edi], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov word [ebp - 0x80c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyServer
mov dword [ebp - 8], 0x400
push dword [ebp + 8]
call ebx
test eax, eax
pop ebx
jne 0x44743e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.005553aa
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x44744e
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x447e76
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56fc68
call fcn.004f9d14
push ecx
mov eax, dword [0x64f020]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str._sNIO_curl.exe
push eax
call fcn.0054e079
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447ec1
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.0055535a
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x447ed9
push dword [esi + 8]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_wget.exe
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f02
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.0055535a
cmp dword [esi + 0xc], 0
jne 0x447f17
push dword [esi + 0x10]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_msdl.exe
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f40
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.0055535a
cmp dword [esi + 0x14], 0
jne 0x447f55
push dword [esi + 0x18]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_rtmp.exe
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f7e
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.0055535a
cmp dword [esi + 0x1c], 0
jne 0x447f93
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.ca_bundle.crt
mov ebx, 0x5bf5b8
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447fc7
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447fe1
push str.curl_ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447ffb
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4496c5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa8]
test edi, edi
mov dword [ebp - 4], edi
je 0x4497a9
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4496ef
push eax
jmp 0x44973a
push 1
pop ebx
cmp edi, ebx
jle 0x449707
cmp dword [esi + 0x38], ebx
jne 0x449707
push ebx
lea ecx, [esi + 0xa0]
call fcn.00449683
test edi, edi
jle 0x449715
cmp dword [esi + 0x3c], 0
jle 0x44979c
push dword [esi + 0xc]
call fcn.0041e990
pop ecx
xor ecx, ecx
cmp edx, ecx
jg 0x44972a
jl 0x449739
cmp eax, ecx
jbe 0x449739
test byte [esi + 0x6c], bl
je 0x44974b
cmp eax, dword [esi + 0x40]
jne 0x449739
cmp edx, dword [esi + 0x44]
je 0x44975d
push ecx
lea ecx, [esi + 0xa0]
call fcn.00449683
and dword [esi + 0x6c], 0xfffffffe
jmp 0x4497a9
cmp edi, ebx
jne 0x44975d
mov ebx, dword [esi + 0xa4]
mov ebx, dword [ebx]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x44979c
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x449793
xor edi, edi
cmp dword [eax + 0x44], edi
jg 0x449786
jl 0x449780
cmp dword [eax + 0x40], edi
jae 0x449786
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
add ecx, edi
mov edi, dword [ebp - 4]
adc ebx, eax
inc edx
cmp edx, edi
jl 0x449765
or ecx, ebx
jne 0x4497a9
push 0
lea ecx, [esi + 0xa0]
call fcn.00449683
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x44a5bc
Capabilities:
Resume thread

Disassembly:
mov eax, 0x57004d
call fcn.004f9d14
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x128
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x44a5fa
push dword [edi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
call fcn.00448ae7
jmp 0x44a5fc
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push 4
mov ecx, eax
mov dword [esi + 0x68], eax
call fcn.00550f17
test eax, eax
jne 0x44a630
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x44a620
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
mov eax, dword [edi]
push 0xfffffffffffffffe
mov ecx, edi
call dword [eax + 0x14]
push 0xfffffffffffffffe
jmp 0x44a676
mov eax, dword [esi + 0x68]
push ebx
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x68]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x14], ebx
je 0x44a679
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x44a65d
cmp dword [eax], ebx
jne 0x44a674
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a67d
cmp dword [esi + 0x20], 0x14
jge 0x44a679
jmp 0x44a652
push 1
pop eax
jmp 0x44a6a3
xor eax, eax
jmp 0x44a6a3
mov ecx, dword [esi + 0x68]
push 0x14
call fcn.00449347
mov ecx, dword [esi + 0x68]
call fcn.0044935f
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x44a69d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x44a8c6
Capabilities:
Resume thread

Disassembly:
mov eax, 0x570061
call fcn.004f9d14
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x100], ebx
je 0x44a8e5
push 1
pop eax
jmp 0x44a94d
push 0x6c
mov dword [edi + 0x104], ebx
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x44a909
push edi
call fcn.0044bc4b
mov esi, eax
jmp 0x44a90b
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x44a94d
push ebx
push ebx
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
jne 0x44a932
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x44a94d
push ebx
mov dword [edi + 0x100], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x46ade9
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x5724f2
call fcn.004f9d14
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046ae96
mov eax, dword [0x64f020]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x588f00
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x64f020]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x40], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x44], eax
mov edi, 0x656dbc
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x588ef4
call fcn.005553aa
push edi
lea ecx, [esi + 0x18]
call fcn.005553aa
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x40]
call fcn.005553aa
push edi
lea ecx, [esi + 0x44]
call fcn.005553aa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47252d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x572b67
call fcn.004f9d14
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x47268b
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47268b
lea ecx, [ebp - 0xf0]
call fcn.0042dcbe
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.0042de27
mov ecx, eax
call fcn.0042dcb6
test al, al
jne 0x472592
or esi, 0xffffffff
jmp 0x47265d
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0042d84f
lea ecx, [ebp - 0x10]
call fcn.0042dcb6
test al, al
jne 0x47258a
push 0x656dbc
lea eax, [ebp - 0x1c]
push str.Version
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d896
mov ecx, eax
call fcn.0042d63b
push eax
lea ecx, [ebp - 0x14]
call fcn.00555287
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
je 0x4725f5
push 1
pop esi
jmp 0x472651
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d84f
lea ecx, [ebp - 0x18]
call fcn.0042dcb6
test al, al
je 0x472617
or esi, 0xffffffff
jmp 0x472651
cmp dword [esi + 0x10], ebx
jle 0x47264f
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.0042d84f
lea ecx, [ebp + 8]
call fcn.0042dcb6
test al, al
jne 0x472670
lea eax, [ebp + 8]
push eax
push edi
call fcn.0047269f
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x47261c
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042dcd5
mov eax, esi
jmp 0x47268e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042dcd5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x47680b
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573179
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.00551a68
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x47684b
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0047704d
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x47688a
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
je 0x476899
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x47682a
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x4768a6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x47688a
Function at 0x477c42
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573325
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x94], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x8c]
push 0x74
call fcn.00551a68
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x477c85
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.004783e1
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x477cc4
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
je 0x477cd3
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x477c64
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x477ce0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x477cc4

Function at 0x478f7c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573485
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.00551a68
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x478fbc
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.004796dd
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x478ffb
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
je 0x47900a
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x478f9b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x479017
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x478ffb

Function at 0x47c214
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
jle 0x47c230
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
call fcn.0047c20c
inc edi
cmp edi, dword [esi + 8]
jl 0x47c21f
mov eax, dword [esi + 0x24]
cmp dword [eax - 8], 0
je 0x47c263
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c263
push dword [esi + 0x24]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x47c263
push 0
push 0x414
push dword [esi + 0x24]
call fcn.0041dca1
add esp, 0xc
pop edi
pop esi
ret