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

Disassembly:
mov eax, 0x4d4744
call fcn.00476e6c
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b7108
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.004b93f2
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b976f
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00476e90
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00478682
add esp, 0x14
test eax, eax
jne 0x4270ba
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.0041d17d
test eax, eax
je 0x4270ba
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.004b937e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x427d84
Capabilities:
Write file on windows

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

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

Disassembly:
mov eax, 0x4d50be
call fcn.00476e6c
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00419626
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.00413110
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b937e
lea ecx, [ebp - 0xe4]
call fcn.0042ab60
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.0042a712
mov esi, eax
cmp esi, edi
je 0x42ada0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b937e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e1104
call fcn.0042ab55
jmp 0x42aec9
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42add6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b937e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e1104
call fcn.0042ab55
or esi, 0xffffffff
jmp 0x42aec9
push edi
lea ecx, [ebp - 0x2ac]
call fcn.0045e030
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0045ed20
test al, al
jne 0x42ae2a
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4e0448
call fcn.0045e100
lea ecx, [ebp - 0x2ac]
call fcn.0045e050
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x42aeac
cmp dword [ebp + 0x24], edi
jle 0x42ae72
cmp dword [ebp + 0x20], edi
jle 0x42ae72
lea ecx, [ebp - 0x2ac]
call fcn.0045d170
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.0045d160
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0042bb31
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.00414495
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.0045e650
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4e0448
call fcn.0045e100
lea ecx, [ebp - 0x2ac]
call fcn.0045e050
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b937e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e1084
call fcn.0042aafe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041317d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42bb94
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d5210
call fcn.00476e6c
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x57e134
push str._sMediaProbe.exe
push edi
call fcn.004b6911
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x57e134]
call esi
test eax, eax
jne 0x42bbd8
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b9515
push ebx
mov edi, 0x57e138
push str._sMediaEncode.exe
push edi
call fcn.004b6911
add esp, 0xc
push dword [0x57e138]
call esi
test eax, eax
jne 0x42bc04
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b9515
push dword [0x57e138]
lea eax, [ebp - 0x14]
push eax
call fcn.004134a2
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5105a4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b9623
push eax
mov ecx, 0x57e13c
mov byte [ebp - 4], 1
call fcn.004b94c5
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b937e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b937e
push ebx
mov edi, 0x57e140
push str._sMediaPlay.exe
push edi
call fcn.004b6911
add esp, 0xc
push dword [0x57e140]
call esi
test eax, eax
jne 0x42bc7b
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b9515
cmp dword [0x57e144], 0
jne 0x42bd7f
mov eax, dword [0x576918]
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.004b6911
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bcbb
mov dword [0x57e144], 6
cmp dword [0x57e144], 0
jne 0x42bd73
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004b6911
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bced
mov dword [0x57e144], 5
cmp dword [0x57e144], 0
jne 0x42bd73
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004b6911
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bd1b
mov dword [0x57e144], 4
cmp dword [0x57e144], 0
jne 0x42bd73
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004b6911
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bd49
mov dword [0x57e144], 3
cmp dword [0x57e144], 0
jne 0x42bd73
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004b6911
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bd73
mov dword [0x57e144], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b937e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x57e148], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42bd9a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x57e140]
call esi
test eax, eax
je 0x42bdba
xor eax, eax
push eax
push eax
push eax
push dword [0x57e140]
jmp 0x42bdea
push dword [0x57e138]
call esi
test eax, eax
je 0x42bdd3
xor eax, eax
push eax
push eax
push eax
push dword [0x57e138]
jmp 0x42bdea
push dword [0x57e134]
call esi
test eax, eax
je 0x42bdf2
xor eax, eax
push eax
push eax
push eax
push dword [0x57e134]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4d526c
call fcn.00476e6c
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 0x42c053
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004134a2
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b937e
lea eax, [ebp - 0x14]
push eax
call fcn.00419626
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00413110
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b937e
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b9515
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.0042bdf6
test eax, eax
je 0x42c0aa
mov esi, eax
jmp 0x42c0df
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 0x42c0c4
or esi, 0xffffffff
jmp 0x42c0df
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 0x42c0df
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.0041317d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x42f818
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, ecx
push ebx
call edi
test eax, eax
je 0x42f86b
and dword [esp + 0x14], 0
mov esi, 0x3e8
push ebx
call fcn.004133d3
cmp eax, 0xffffffff
pop ecx
jne 0x42f86b
push ebx
call edi
test eax, eax
je 0x42f86b
push dword [ebp + 0x10]
push esi
call fcn.00415329
pop ecx
test eax, eax
pop ecx
jne 0x42f86f
add dword [esp + 0x14], esi
cmp dword [esp + 0x14], 0x2710
jge 0x42f86f
jmp 0x42f839
xor eax, eax
jmp 0x42f872
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42f879
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call esi
test eax, eax
je 0x42f8f6
push dword [ebp + 0xc]
call esi
xor ebx, ebx
test eax, eax
je 0x42f8b1
cmp dword [ebp + 0x10], ebx
je 0x42f8fb
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042f818
test eax, eax
jl 0x42f8fb
mov edi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004133f7
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42f8f2
push dword [ebp + 8]
call esi
test eax, eax
je 0x42f8f6
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push edi
call fcn.00415329
pop ecx
test eax, eax
pop ecx
jne 0x42f8fb
add ebx, edi
cmp ebx, 0x2710
jge 0x42f8fb
jmp 0x42f8b6
xor eax, eax
jmp 0x42f8fe
push 0xfffffffffffffffe
pop eax
jmp 0x42f8fe
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4305b9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d5be3
call fcn.00476e6c
sub esp, 0xdc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call ebx
test eax, eax
je 0x430781
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x43077e
cmp eax, 0xd
je 0x43077e
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.004134a2
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00413511
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00413556
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x43066e
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.004137e7
add esp, 0x10
push dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str._s_s._s
push esi
call fcn.004b6911
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b937e
jmp 0x43075a
push dword [esi]
call ebx
test eax, eax
je 0x43075a
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040db85
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b94c5
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b94c5
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b94c5
lea ecx, [ebp - 0xe8]
call fcn.004b9efc
dec eax
je 0x4306f3
dec eax
je 0x430745
dec eax
je 0x43073d
sub eax, 8
je 0x4306d8
dec eax
je 0x430735
dec eax
je 0x43072d
jmp 0x43070c
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b6911
add esp, 0x14
mov dword [edi], 0xb
jmp 0x43070c
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b6911
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040dc3a
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43067f
jmp 0x43075a
mov dword [edi], 0xd
jmp 0x43074b
mov dword [edi], 0xc
jmp 0x43074b
mov dword [edi], 3
jmp 0x43074b
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040dc3a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b937e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b937e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b937e
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43205b
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4d5ee8
call fcn.00476e6c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x57e12c
lea ecx, [ebp - 0x10]
call fcn.004b93f2
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x4320ec
cmp ebx, edi
jl 0x432089
cmp ebx, dword [esi + 0x14]
jge 0x432089
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x43208b
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x4320e6
cmp dword [eax + 0x80], 0x64
jne 0x4320e6
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4320e4
test ebx, ebx
jle 0x4320c1
push 0x5018d0
lea ecx, [ebp - 0x10]
call fcn.004b976f
push 0x5018cc
lea ecx, [ebp - 0x10]
call fcn.004b976f
push edi
lea ecx, [ebp - 0x10]
call fcn.004b97ab
push 0x5018cc
lea ecx, [ebp - 0x10]
call fcn.004b976f
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x432078
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x43212f
lea eax, [ebp - 0x14]
push eax
call fcn.00401f8b
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x432117
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x432120
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b937e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b937e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x452894
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4d85fa
call fcn.00476e6c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00452941
mov eax, dword [0x576918]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x576918]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4e2b6c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x576918]
mov dword [esi + 0x3c], eax
mov eax, dword [0x576918]
mov dword [esi + 0x40], eax
mov eax, dword [0x576918]
mov dword [esi + 0x44], eax
mov edi, 0x57e12c
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4e2b60
call fcn.004b9515
push edi
lea ecx, [esi + 0x18]
call fcn.004b9515
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b9515
push edi
lea ecx, [esi + 0x40]
call fcn.004b9515
push edi
lea ecx, [esi + 0x44]
call fcn.004b9515
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x459cfc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d8c37
call fcn.00476e6c
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x459e5a
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x459e5a
lea ecx, [ebp - 0xf0]
call fcn.004201fa
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.00420363
mov ecx, eax
call fcn.0041fe1e
test al, al
jne 0x459d61
or esi, 0xffffffff
jmp 0x459e2c
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041fe36
lea ecx, [ebp - 0x10]
call fcn.0041fe1e
test al, al
jne 0x459d59
push 0x57e12c
lea eax, [ebp - 0x1c]
push 0x502568
push eax
lea ecx, [ebp - 0x10]
call fcn.0041fe7d
mov ecx, eax
call fcn.0041fcc3
push eax
lea ecx, [ebp - 0x14]
call fcn.004b93f2
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.00476f25
pop ecx
test eax, eax
pop ecx
je 0x459dc4
push 1
pop esi
jmp 0x459e20
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0041fe36
lea ecx, [ebp - 0x18]
call fcn.0041fe1e
test al, al
je 0x459de6
or esi, 0xffffffff
jmp 0x459e20
cmp dword [esi + 0x10], ebx
jle 0x459e1e
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.0041fe36
lea ecx, [ebp + 8]
call fcn.0041fe1e
test al, al
jne 0x459e3f
lea eax, [ebp + 8]
push eax
push edi
call fcn.00459e6e
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x459deb
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b937e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420211
mov eax, esi
jmp 0x459e5d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b937e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420211
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x464c80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.0045d160
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x464cb2
mov dword [esp + 0x2c], 0
jmp 0x464ccd
mov ecx, ebp
call fcn.0045d160
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.0045d160
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0045d170
cmp eax, esi
jae 0x464d0d
mov ecx, ebp
call fcn.0045d170
mov dword [esp + 0x10], eax
jmp 0x464d11
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.0045cfb0
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x464d7d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x464d78
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.0045d4b0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x464d6b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0045d920
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x464d38
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x464d26
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x477bfd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x477c1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047a98e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x477c40
test byte [esp + 8], 2
je 0x477c40
call fcn.0047aa01
mov dword [eax], 0xd
call fcn.0047aa0a
mov dword [eax], 5
jmp 0x477c19
xor eax, eax
ret
Function at 0x48e910
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00477c70
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x48e9db
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x48e9db
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x48e98e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x48e999
or bh, 8
and edi, 0x8000000
je 0x48e9b4
mov eax, dword [0x5820fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x48e9db
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret