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

Disassembly:
mov eax, 0x56ca00
call fcn.004f9364
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.00554929
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.00554ca6
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9470
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0054d926
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fac3f
pop ecx
test eax, eax
pop ecx
jne 0x42a9b0
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.0042a9d4
test eax, eax
je 0x42a9b0
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.005548b5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43190f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56cd54
call fcn.004f9364
push ecx
push ecx
mov eax, dword [0x656078]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov ebx, ecx
jne 0x431960
lea eax, [ebp - 0x14]
push eax
call fcn.00426cc5
and dword [ebp - 4], 0
mov dword [esp], str.dwebp.exe
push dword [ebp - 0x14]
push 0x5be5bc
push 0x656078
call fcn.0054d6c9
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.005548b5
push dword [0x656078]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4319f6
mov edi, dword [ebp + 8]
test edi, edi
je 0x4319f6
push edi
call esi
test eax, eax
je 0x4319f6
cmp dword [ebp + 0xc], 0
je 0x4319f6
mov eax, dword [0x64d6b8]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
je 0x4319bf
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
push dword [0x656078]
push str.__s____s____s__o___s_
push eax
call fcn.0054d6c9
add esp, 0x18
jmp 0x4319d7
push edi
lea eax, [ebp - 0x10]
push dword [0x656078]
push str.__s____s___o___s_
push eax
call fcn.0054d6c9
add esp, 0x14
push dword [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005548b5
mov eax, esi
jmp 0x4319f9
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4328e1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x56cf8d
call fcn.004f9364
push ecx
mov eax, dword [0x64d6b8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x64d6b8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x24], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x28], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x2c], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x34], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x40], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x44], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64d6b8]
mov dword [esi + 0x50], eax
mov edi, 0x65549c
mov byte [ebp - 4], 0xa
push edi
mov dword [esi], 0x5861b8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00554a4c
fldz
push edi
lea ecx, [esi + 0x20]
fstp dword [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.00554a4c
push edi
lea ecx, [esi + 0x24]
call fcn.00554a4c
push edi
lea ecx, [esi + 0x28]
call fcn.00554a4c
push edi
lea ecx, [esi + 0x2c]
call fcn.00554a4c
push edi
lea ecx, [esi + 0x30]
call fcn.00554a4c
push edi
lea ecx, [esi + 0x34]
call fcn.00554a4c
mov dword [esi + 0x38], ebx
push edi
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], ebx
call fcn.00554a4c
push edi
lea ecx, [esi + 0x44]
call fcn.00554a4c
mov dword [esi + 0x48], ebx
push edi
lea ecx, [esi + 0x4c]
call fcn.00554a4c
push edi
lea ecx, [esi + 0x50]
call fcn.00554a4c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x435fd2
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x56d584
call fcn.004f9364
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0xa0], edi
call fcn.004367ea
cmp eax, edi
je 0x43615c
or ebx, 0xffffffff
cmp eax, ebx
je 0x436038
cmp eax, 0xfffffffe
je 0x43606d
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x436021
push eax
mov ecx, esi
call fcn.0049393e
test eax, eax
jne 0x43606d
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.00436a92
cmp eax, edi
je 0x43603b
cmp eax, 0xfffffffe
je 0x43606d
push edi
jmp 0x436078
cmp word [esi + 0x78], 2
jne 0x43615c
mov eax, esi
mov ecx, esi
cdq
mov edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
call fcn.0043687e
cmp eax, ebx
jne 0x436071
push 0x28
jmp 0x436078
cmp eax, 0xfffffffe
jne 0x436088
push 0x15
push 4
mov ecx, esi
call fcn.0043633c
mov eax, ebx
jmp 0x436165
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0043669a
test eax, eax
je 0x4360b7
push 0x28
push 4
mov ecx, esi
call fcn.0043633c
lea eax, [ebp - 0x14]
push 0x5a0a10
push eax
mov dword [ebp - 0x14], ebx
call fcn.004fab47
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x4360f5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x4360d8
cmp ecx, dword [ebp - 0x2c]
je 0x4360f5
push 0x28
push 4
mov ecx, esi
call fcn.0043633c
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x5a0a10
push eax
call fcn.004fab47
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x436114
mov ecx, esi
call fcn.00436a4b
cmp eax, 0xffffffff
jne 0x43610f
push 0
jmp 0x436137
cmp eax, 0xfffffffe
je 0x436135
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x43615c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x436135
cmp ecx, dword [ebp - 0x2c]
je 0x43615c
push 0x28
push 4
mov ecx, esi
call fcn.0043633c
or eax, 0xffffffff
jmp 0x436165
mov ecx, esi
call fcn.004363c4
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x436174
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x56d5a0
call fcn.004f9364
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.00554929
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00554929
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0043687e
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4361ee
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.005548b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005548b5
mov eax, dword [ebp + 0xc]
jmp 0x43632b
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x88]
push eax
call fcn.005549fc
lea eax, [ebp + 8]
lea ecx, [esi + 0x8c]
push eax
call fcn.005549fc
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.0043669a
cmp eax, ebx
je 0x43623c
push 0x28
push 4
mov ecx, esi
call fcn.0043633c
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x5a0a10
push eax
call fcn.004fab47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x43627a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 2
adc ecx, ebx
cmp eax, edi
jne 0x43625a
cmp ecx, dword [ebp - 0x34]
je 0x43627a
push 0x28
push 4
mov ecx, esi
call fcn.0043633c
lea eax, [ebp - 0x1c]
push 0x5a0a10
push eax
mov dword [ebp - 0x1c], 0xfffffffe
call fcn.004fab47
lea eax, [ebp - 0x20]
push 0x5a0a10
push eax
mov dword [ebp - 0x20], ebx
call fcn.004fab47
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x43630a
lea eax, [ebp - 0x28]
push eax
call fcn.004375d8
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.0043633c
mov ecx, edi
call fcn.004363c4
cmp word [edi + 0x78], si
jne 0x4362c9
cmp word [edi + 0x7a], bx
je 0x4362d2
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 0x43630a
mov ecx, dword [ebp - 0x30]
mov eax, edi
add ecx, esi
mov esi, dword [ebp - 0x2c]
cdq
adc esi, ebx
cmp ecx, eax
jne 0x4362f8
cmp esi, edx
je 0x43630a
push 0x28
push 4
mov ecx, edi
call fcn.0043633c
mov dword [ebp + 0xc], 0xfffffffe
mov eax, 0x436310
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x436ba4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004fa220
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x65549c
call fcn.00554a4c
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004f9470
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 0x436c07
or eax, 0xffffffff
jmp 0x436c61
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 0x436c3e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436c02
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x436c02
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00436d09
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x436c67
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004fa220
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004f9470
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.00436e18
test eax, eax
jne 0x436cd5
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 0x436cda
or eax, 0xffffffff
jmp 0x436d03
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 0x436cf8
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 0x4375d8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56d6a8
call fcn.004f9364
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0054d926
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.00554929
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.00554ca6
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9470
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fac3f
add esp, 0x14
test eax, eax
jne 0x43767a
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.0042a9d4
test eax, eax
je 0x43767a
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.005548b5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43841b
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x43842e
cmp eax, 0xffffffff
jne 0x438433
or eax, 0xffffffff
jmp 0x43844c
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 0x43af5c
Capabilities:
Contain obfuscated stackstrings

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

Disassembly:
mov eax, 0x56e11a
call fcn.004f9364
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00426d6c
pop ecx
mov eax, dword [eax]
push 1
xor edi, edi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0041d41b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.005548b5
lea ecx, [ebp - 0xe4]
call fcn.0043b7b0
push dword [ebp + 0x2c]
lea ecx, [ebp - 0xe4]
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.0043b3a3
mov esi, eax
cmp esi, edi
je 0x43baa4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.005548b5
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x58654c
call fcn.0043b854
jmp 0x43bbcd
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43bada
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.005548b5
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x58654c
call fcn.0043b854
or esi, 0xffffffff
jmp 0x43bbcd
push edi
lea ecx, [ebp - 0x2ac]
call fcn.004d5850
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004d69c0
test al, al
jne 0x43bb2e
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x585848
call fcn.004d5920
lea ecx, [ebp - 0x2ac]
call fcn.004d5870
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x43bbb0
cmp dword [ebp + 0x24], edi
jle 0x43bb76
cmp dword [ebp + 0x20], edi
jle 0x43bb76
lea ecx, [ebp - 0x2ac]
call fcn.004d3920
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.004d3910
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0043c9d6
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.0041f667
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.004d5e70
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x585848
call fcn.004d5920
lea ecx, [ebp - 0x2ac]
call fcn.004d5870
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.005548b5
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x58619c
call fcn.00431abc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041d488
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43bbe9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56e150
call fcn.004f9364
sub esp, 0xc0
push esi
lea ecx, [ebp - 0xcc]
call fcn.0043b7b0
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.0043b68b
cmp eax, esi
je 0x43bc30
mov dword [ebp - 4], 1
mov esi, eax
jmp 0x43bc50
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43bc49
mov dword [ebp - 4], 2
or esi, 0xffffffff
jmp 0x43bc50
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.005548b5
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x58619c
call fcn.00431abc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43ca39
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56e2b8
call fcn.004f9364
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x6556ac
push str._sMediaProbe.exe
push edi
call fcn.0054d6c9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x6556ac]
call esi
test eax, eax
jne 0x43ca7d
push str.MediaProbe.exe
mov ecx, edi
call fcn.00554a4c
push ebx
mov edi, 0x6556b0
push str._sMediaEncode.exe
push edi
call fcn.0054d6c9
add esp, 0xc
push dword [0x6556b0]
call esi
test eax, eax
jne 0x43caa9
push str.MediaEncode.exe
mov ecx, edi
call fcn.00554a4c
push dword [0x6556b0]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e50e
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5cdb84
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00554b5a
push eax
mov ecx, 0x6556b4
mov byte [ebp - 4], 1
call fcn.005549fc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.005548b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005548b5
push ebx
mov edi, 0x6556b8
push str._sMediaPlay.exe
push edi
call fcn.0054d6c9
add esp, 0xc
push dword [0x6556b8]
call esi
test eax, eax
jne 0x43cb20
push str.MediaPlay.exe
mov ecx, edi
call fcn.00554a4c
cmp dword [0x6556bc], 0
jne 0x43cc24
mov eax, dword [0x64d6b8]
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.0054d6c9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb60
mov dword [0x6556bc], 6
cmp dword [0x6556bc], 0
jne 0x43cc18
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.0054d6c9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb92
mov dword [0x6556bc], 5
cmp dword [0x6556bc], 0
jne 0x43cc18
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.0054d6c9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cbc0
mov dword [0x6556bc], 4
cmp dword [0x6556bc], 0
jne 0x43cc18
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.0054d6c9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cbee
mov dword [0x6556bc], 3
cmp dword [0x6556bc], 0
jne 0x43cc18
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.0054d6c9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cc18
mov dword [0x6556bc], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005548b5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x6556c0], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret