joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421227
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00497170
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00496f90
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.004212eb
test eax, eax
jne 0x421295
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 0x42129a
or eax, 0xffffffff
jmp 0x4212c3
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 0x4212b8
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 0x421645
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00497170
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x5081ac
call fcn.004b226d
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00496f90
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 0x4216a8
or eax, 0xffffffff
jmp 0x421702
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 0x4216df
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4216a3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x4216a3
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00421708
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x42bf0e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00497170
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x5081ac
call fcn.004b226d
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00496f90
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 0x42bf71
or eax, 0xffffffff
jmp 0x42bfcb
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 0x42bfa8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42bf6c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42bf6c
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0042c073
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x42bfd1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00497170
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00496f90
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.0042c182
test eax, eax
jne 0x42c03f
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 0x42c044
or eax, 0xffffffff
jmp 0x42c06d
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 0x42c062
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 0x42c942
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ca668
call fcn.00496f6c
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b01fe
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.004b214a
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b24c7
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00496f90
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004986c4
add esp, 0x14
test eax, eax
jne 0x42c9e4
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.00422dc1
test eax, eax
je 0x42c9e4
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.004b20d6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42ec26
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4cacaa
call fcn.00496f6c
push ecx
mov eax, dword [0x503b98]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [0x503b98]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], eax
mov ebx, 0x5081ac
mov byte [ebp - 4], 1
push ebx
mov dword [esi], 0x4d3f9c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004b226d
push ebx
lea ecx, [esi + 0x10]
call fcn.004b226d
mov ecx, dword [ebp - 0xc]
push 0x64
pop eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x432d80
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb138
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x432d9c
push 1
pop eax
jmp 0x432f74
test byte [esi + 4], 1
jne 0x432db3
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432db3
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004b221d
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004b221d
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004b221d
mov ecx, edi
call fcn.004afae9
mov ecx, edi
call fcn.004afa5d
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x432e0e
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004b226d
lea ebx, [esi + 0x2fc]
mov edi, 0x5081ac
push edi
mov ecx, ebx
call fcn.004b226d
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x432e5c
jg 0x432e33
cmp ecx, edx
jbe 0x432e5c
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.00429186
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004b221d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004b226d
lea ecx, [esi + 0x304]
push edi
call fcn.004b226d
lea ecx, [esi + 0x308]
push edi
call fcn.004b226d
lea ecx, [esi + 0x30c]
push edi
call fcn.004b226d
lea ecx, [esi + 0x38]
call fcn.0043933c
mov edi, eax
test edi, edi
je 0x432f5d
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x432ec0
jg 0x432eb0
test eax, eax
jbe 0x432ec0
push ecx
push eax
push str._d_f
push ebx
call fcn.004afa07
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x432ed1
push str.HD_720
jmp 0x432f07
cmp eax, 0x438
jne 0x432edf
push str.HD_1080
jmp 0x432f07
cmp eax, 0x5a0
jne 0x432eed
push str.QHD_2K
jmp 0x432f07
cmp eax, 0x870
jne 0x432efb
push str.UHD_4K
jmp 0x432f07
cmp eax, 0x10e0
jne 0x432f12
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004b226d
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x432f37
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x432f37
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004afa07
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x432f5d
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x432f5d
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004afa07
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004b221d
or byte [esi + 9], 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x432fec
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb14c
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43301c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43301c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
je 0x43308e
test byte [esi + 4], 1
jne 0x433069
mov eax, dword [0x503b98]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330a2
test eax, eax
jne 0x43305d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
jne 0x43305d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
jmp 0x43308e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
push 0x4eef98
push dword [esi + 0x128]
call fcn.00497025
pop ecx
test eax, eax
pop ecx
jne 0x433092
mov ecx, esi
call fcn.00433143
test eax, eax
jne 0x433092
or byte [esi + 5], 2
xor eax, eax
jmp 0x433095
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x432ff7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb14c
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43301c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43301c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
je 0x43308e
test byte [esi + 4], 1
jne 0x433069
mov eax, dword [0x503b98]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330a2
test eax, eax
jne 0x43305d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
jne 0x43305d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
jmp 0x43308e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
push 0x4eef98
push dword [esi + 0x128]
call fcn.00497025
pop ecx
test eax, eax
pop ecx
jne 0x433092
mov ecx, esi
call fcn.00433143
test eax, eax
jne 0x433092
or byte [esi + 5], 2
xor eax, eax
jmp 0x433095
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4330a2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb160
call fcn.00496f6c
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x43312b
test byte [ebx + 4], 1
jne 0x43312b
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..jpeg
mov dword [ebp - 0x18], str..png
mov dword [ebp - 0x14], str..bmp
lea esi, [ebp - 0x20]
push dword [esi]
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041d0af
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b221d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b20d6
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43313f
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x4330e9
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
xor eax, eax
jmp 0x43312e

Function at 0x434bd6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb3f0
call fcn.00496f6c
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434d36
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004b214a
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042e1e2
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042e28c
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b214a
mov eax, dword [0x503b98]
mov dword [ebp - 0x10], eax
push 0x4fd14c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b24c7
lea ecx, [ebp - 0x38]
call fcn.0049625d
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00496322
xor esi, esi
cmp eax, ebx
je 0x434cf7
push edi
lea ecx, [ebp - 0x38]
call fcn.00496548
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0049650b
test eax, eax
jne 0x434cee
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.00496617
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004b221d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004b20d6
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x434cca
cmp dword [ebp + 0x10], ebx
je 0x434cee
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00434bd6
jmp 0x434cec
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x434ce1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042e364
test eax, eax
je 0x434cee
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004349a3
add esi, eax
cmp edi, ebx
jne 0x434c68
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0049629c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b20d6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004b20d6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042e250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b20d6
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x434d44
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb405
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x434d69
call fcn.00434dff
push 1
pop eax
jmp 0x434de1
push 0x74
call fcn.004b26aa
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x434d85
push esi
call fcn.00433390
jmp 0x434d87
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x434dbb
push edi
push edi
push 4
mov ecx, eax
call fcn.004b6364
test eax, eax
jne 0x434dc0
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x434db5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x434de1
mov eax, dword [esi + 0x1f8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1f8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x434dff
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb419
call fcn.00496f6c
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x434e1e
push 1
pop eax
jmp 0x434e84
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b26aa
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x434e44
push edi
push ebx
mov ecx, eax
call fcn.0043344a
jmp 0x434e46
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x434eaf
push 0
push 0
push 4
mov ecx, eax
call fcn.004b6364
test eax, eax
je 0x434e93
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc ebx
add esi, 4
cmp ebx, 2
jl 0x434e26
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [edi + ebx*4 + 0x1fc]
lea esi, [edi + ebx*4 + 0x1fc]
test ecx, ecx
je 0x434eac
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x434e84

Function at 0x43515f
Capabilities:
Check if file exists

Disassembly:
push dword [0x508264]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435184
push 0
push 0x414
push dword [0x508264]
call fcn.0041ceb5
add esp, 0xc
ret
Function at 0x43a10f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cbdd0
call fcn.00496f6c
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x5081b4
push str._sMediaProbe.exe
push edi
call fcn.004afa07
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x5081b4]
call esi
test eax, eax
jne 0x43a153
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b226d
push ebx
mov edi, 0x5081b8
push str._sMediaEncode.exe
push edi
call fcn.004afa07
add esp, 0xc
push dword [0x5081b8]
call esi
test eax, eax
jne 0x43a17f
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b226d
push dword [0x5081b8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041cfa4
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b237b
push eax
mov ecx, 0x5081bc
mov byte [ebp - 4], 1
call fcn.004b221d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b20d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b20d6
push ebx
mov edi, 0x5081c0
push str._sMediaPlay.exe
push edi
call fcn.004afa07
add esp, 0xc
push dword [0x5081c0]
call esi
test eax, eax
jne 0x43a1f6
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b226d
cmp dword [0x5081c4], 0
jne 0x43a2fa
mov eax, dword [0x503b98]
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.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a236
mov dword [0x5081c4], 6
cmp dword [0x5081c4], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a268
mov dword [0x5081c4], 5
cmp dword [0x5081c4], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a296
mov dword [0x5081c4], 4
cmp dword [0x5081c4], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2c4
mov dword [0x5081c4], 3
cmp dword [0x5081c4], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2ee
mov dword [0x5081c4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b20d6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x5081c8], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43a315
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x5081c0]
call esi
test eax, eax
je 0x43a335
xor eax, eax
push eax
push eax
push eax
push dword [0x5081c0]
jmp 0x43a365
push dword [0x5081b8]
call esi
test eax, eax
je 0x43a34e
xor eax, eax
push eax
push eax
push eax
push dword [0x5081b8]
jmp 0x43a365
push dword [0x5081b4]
call esi
test eax, eax
je 0x43a36d
xor eax, eax
push eax
push eax
push eax
push dword [0x5081b4]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4cbec8
call fcn.00496f6c
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 0x43b418
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041cfa4
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b20d6
lea eax, [ebp - 0x14]
push eax
call fcn.0041f1ad
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c4b6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b20d6
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b226d
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.0043b1bb
test eax, eax
je 0x43b46f
mov esi, eax
jmp 0x43b4a4
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 0x43b489
or esi, 0xffffffff
jmp 0x43b4a4
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 0x43b4a4
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.0041c523
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4b4ed7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b4f19
call fcn.004c4d32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b4f19
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b4f10
xor eax, eax
jmp 0x4b4f21
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b4f27
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bc465
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cdd5c
call fcn.00496f6c
push ecx
push ecx
push esi
push 0x10
call fcn.004b26aa
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4bc4b2
mov ecx, esi
call fcn.004b7691
mov eax, dword [0x503b98]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004b226d
jmp 0x4bc4b4
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4eaa38
push eax
mov dword [ebp - 0x10], esi
call fcn.004985cc
pop esi