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

Disassembly:
mov eax, 0x4d5907
call fcn.004789bc
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x575fa8]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004153f7
mov eax, dword [0x575fa8]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push 0x503bdc
push eax
call fcn.004b8471
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004bac4b
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004baede
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d7b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004797e0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0041d87a
test eax, eax
jne 0x41d824
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41d829
or eax, 0xffffffff
jmp 0x41d852
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41d847
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x41dbd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004797e0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x57d6b4
call fcn.004bb075
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41dc37
or eax, 0xffffffff
jmp 0x41dc91
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x41dc6e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41dc32
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41dc32
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041dc97
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41f282
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d5dfc
call fcn.004789bc
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004baf52
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004bb2cf
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b8c68
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0047a1ef
pop ecx
test eax, eax
pop ecx
jne 0x41f326
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041f34a
test eax, eax
je 0x41f326
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x427d3b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4d63a0
call fcn.004789bc
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
cdq
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
call fcn.004baf52
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004baf52
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00428445
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x427db5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004baede
mov eax, dword [ebp + 0xc]
jmp 0x427ef2
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x88]
push eax
call fcn.004bb025
lea eax, [ebp + 8]
lea ecx, [esi + 0x8c]
push eax
call fcn.004bb025
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00428261
cmp eax, ebx
je 0x427e03
push 0x28
push 4
mov ecx, esi
call fcn.00427f03
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4f4958
push eax
call fcn.0047a0f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x427e41
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 2
adc ecx, ebx
cmp eax, edi
jne 0x427e21
cmp ecx, dword [ebp - 0x34]
je 0x427e41
push 0x28
push 4
mov ecx, esi
call fcn.00427f03
lea eax, [ebp - 0x1c]
push 0x4f4958
push eax
mov dword [ebp - 0x1c], 0xfffffffe
call fcn.0047a0f7
lea eax, [ebp - 0x20]
push 0x4f4958
push eax
mov dword [ebp - 0x20], ebx
call fcn.0047a0f7
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x427ed1
lea eax, [ebp - 0x28]
push eax
call fcn.0042917b
mov edi, dword [ebp - 0x24]
mov eax, dword [eax]
pop ecx
push ebx
push 2
pop esi
mov ecx, edi
push esi
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
call fcn.00427f03
mov ecx, edi
call fcn.00427f8b
cmp word [edi + 0x78], si
jne 0x427e90
cmp word [edi + 0x7a], bx
je 0x427e99
mov dword [edi + 0xa0], ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x427ed1
mov ecx, dword [ebp - 0x30]
mov eax, edi
add ecx, esi
mov esi, dword [ebp - 0x2c]
cdq
adc esi, ebx
cmp ecx, eax
jne 0x427ebf
cmp esi, edx
je 0x427ed1
push 0x28
push 4
mov ecx, edi
call fcn.00427f03
mov dword [ebp + 0xc], 0xfffffffe
mov eax, 0x427ed7
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x428747
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004797e0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x57d6b4
call fcn.004bb075
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4287aa
or eax, 0xffffffff
jmp 0x428804
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x4287e1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4287a5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x4287a5
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.004288ac
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x42880a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004797e0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004789e0
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004289bb
test eax, eax
jne 0x428878
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42887d
or eax, 0xffffffff
jmp 0x4288a6
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42889b
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x42917b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d64a8
call fcn.004789bc
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b8c68
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004baf52
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004bb2cf
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004789e0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0047a1ef
add esp, 0x14
test eax, eax
jne 0x42921d
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041f34a
test eax, eax
je 0x42921d
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004baede
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x429f64
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x429f77
cmp eax, 0xffffffff
jne 0x429f7c
or eax, 0xffffffff
jmp 0x429f95
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc
Function at 0x42c4a7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4d6ccb
call fcn.004789bc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004baede
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004baede
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004baede
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004baede
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004baede
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004baede
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004baede
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004baede
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004baede
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004baede
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004baede
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004baede
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004baede
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004baede
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004baede
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004baede
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004baede
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004baede
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004baede
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004baede
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004baede
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004baede
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004baede
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004baede
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004baede
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004baede
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004baede
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004baede
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004baede
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004baede
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004baede
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004baede
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004baede
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004baede
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004baede
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004baede
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004baede
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42cdf3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d6e26
call fcn.004789bc
sub esp, 0x240
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041b792
pop ecx
mov eax, dword [eax]
push 1
xor esi, esi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004150d7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004baede
lea ecx, [ebp - 0x84]
call fcn.0042ccdb
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0042c8ee
cmp eax, esi
je 0x42ce6f
mov byte [ebp - 4], 4
mov esi, eax
jmp 0x42cf58
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ce88
mov byte [ebp - 4], 5
or esi, 0xffffffff
jmp 0x42cf58
push esi
lea ecx, [ebp - 0x24c]
call fcn.0045fb90
push 3
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00460880
test al, al
jne 0x42ced6
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4e16b8
call fcn.0045fc60
lea ecx, [ebp - 0x24c]
call fcn.0045fbb0
mov byte [ebp - 4], 7
jmp 0x42ce80
cmp dword [ebp + 0x24], esi
jle 0x42cf20
cmp dword [ebp + 0x20], esi
jle 0x42cf20
push edi
lea ecx, [ebp - 0x24c]
call fcn.0045ecd0
lea ecx, [ebp - 0x24c]
mov edi, eax
call fcn.0045ecc0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.0042db16
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24c]
push dword [ebp + 0x18]
push eax
call fcn.0041634e
add esp, 0x20
pop edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.004601b0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4e16b8
call fcn.0045fc60
lea ecx, [ebp - 0x24c]
call fcn.0045fbb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x84], 0x4e2384
call fcn.00415144
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42db79
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d6f64
call fcn.004789bc
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x57d6bc
push str._sMediaProbe.exe
push edi
call fcn.004b8471
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x57d6bc]
call esi
test eax, eax
jne 0x42dbbd
push str.MediaProbe.exe
mov ecx, edi
call fcn.004bb075
push ebx
mov edi, 0x57d6c0
push str._sMediaEncode.exe
push edi
call fcn.004b8471
add esp, 0xc
push dword [0x57d6c0]
call esi
test eax, eax
jne 0x42dbe9
push str.MediaEncode.exe
mov ecx, edi
call fcn.004bb075
push dword [0x57d6c0]
lea eax, [ebp - 0x14]
push eax
call fcn.00415469
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x50fae8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bb183
push eax
mov ecx, 0x57d6c4
mov byte [ebp - 4], 1
call fcn.004bb025
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004baede
push ebx
mov edi, 0x57d6c8
push str._sMediaPlay.exe
push edi
call fcn.004b8471
add esp, 0xc
push dword [0x57d6c8]
call esi
test eax, eax
jne 0x42dc60
push str.MediaPlay.exe
mov ecx, edi
call fcn.004bb075
cmp dword [0x57d6cc], 0
jne 0x42dd64
mov eax, dword [0x575fa8]
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.004b8471
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42dca0
mov dword [0x57d6cc], 6
cmp dword [0x57d6cc], 0
jne 0x42dd58
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004b8471
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42dcd2
mov dword [0x57d6cc], 5
cmp dword [0x57d6cc], 0
jne 0x42dd58
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004b8471
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42dd00
mov dword [0x57d6cc], 4
cmp dword [0x57d6cc], 0
jne 0x42dd58
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004b8471
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42dd2e
mov dword [0x57d6cc], 3
cmp dword [0x57d6cc], 0
jne 0x42dd58
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004b8471
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42dd58
mov dword [0x57d6cc], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x57d6d0], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42dd7f
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x57d6c8]
call esi
test eax, eax
je 0x42dd9f
xor eax, eax
push eax
push eax
push eax
push dword [0x57d6c8]
jmp 0x42ddcf
push dword [0x57d6c0]
call esi
test eax, eax
je 0x42ddb8
xor eax, eax
push eax
push eax
push eax
push dword [0x57d6c0]
jmp 0x42ddcf
push dword [0x57d6bc]
call esi
test eax, eax
je 0x42ddd7
xor eax, eax
push eax
push eax
push eax
push dword [0x57d6bc]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4d6fc0
call fcn.004789bc
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 0x42e03a
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00415469
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004baede
lea eax, [ebp - 0x14]
push eax
call fcn.0041b792
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004150d7
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004baede
push dword [ebp + 8]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004bb075
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 8]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0042dddb
test eax, eax
je 0x42e091
mov esi, eax
jmp 0x42e0c6
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 + 0x20]
test eax, eax
je 0x42e0ab
or esi, 0xffffffff
jmp 0x42e0c6
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x24]
or esi, 0xffffffff
cmp eax, esi
je 0x42e0c6
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.00415144
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x431895
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4d7500
call fcn.004789bc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x57d6b4
lea ecx, [ebp - 0x10]
call fcn.004baf52
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x431929
cmp ebx, edi
jl 0x4318c3
cmp ebx, dword [esi + 0x14]
jge 0x4318c3
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x4318c5
xor eax, eax
cmp dword [eax + 0x800], 0x64
jne 0x431923
cmp dword [eax + 0x808], 0x64
jne 0x431923
push dword [eax + 0x530]
lea edi, [eax + 0x530]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431921
test ebx, ebx
jle 0x4318fe
push 0x502d7c
lea ecx, [ebp - 0x10]
call fcn.004bb2cf
push 0x502d78
lea ecx, [ebp - 0x10]
call fcn.004bb2cf
push edi
lea ecx, [ebp - 0x10]
call fcn.004bb30b
push 0x502d78
lea ecx, [ebp - 0x10]
call fcn.004bb2cf
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x4318b2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x43196c
lea eax, [ebp - 0x14]
push eax
call fcn.00402126
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x431954
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x43195d
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004baede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004baede
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret