joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ef7
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cb980
call fcn.0049c8c4
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.0042670f
cmp eax, edi
je 0x426081
or ebx, 0xffffffff
cmp eax, ebx
je 0x425f5d
cmp eax, 0xfffffffe
je 0x425f92
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x425f46
push eax
mov ecx, esi
call fcn.004267a3
test eax, eax
jne 0x425f92
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.004269a1
cmp eax, edi
je 0x425f60
cmp eax, 0xfffffffe
je 0x425f92
push edi
jmp 0x425f9d
cmp word [esi + 0x78], 2
jne 0x426081
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.004267a8
cmp eax, ebx
jne 0x425f96
push 0x28
jmp 0x425f9d
cmp eax, 0xfffffffe
jne 0x425fad
push 0x15
push 4
mov ecx, esi
call fcn.00426261
mov eax, ebx
jmp 0x42608a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004265bf
test eax, eax
je 0x425fdc
push 0x28
push 4
mov ecx, esi
call fcn.00426261
lea eax, [ebp - 0x14]
push 0x4e7c60
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e11d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x42601a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x425ffd
cmp ecx, dword [ebp - 0x2c]
je 0x42601a
push 0x28
push 4
mov ecx, esi
call fcn.00426261
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e7c60
push eax
call fcn.0049e11d
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x426039
mov ecx, esi
call fcn.0042697b
cmp eax, 0xffffffff
jne 0x426034
push 0
jmp 0x42605c
cmp eax, 0xfffffffe
je 0x42605a
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x426081
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x42605a
cmp ecx, dword [ebp - 0x2c]
je 0x426081
push 0x28
push 4
mov ecx, esi
call fcn.00426261
or eax, 0xffffffff
jmp 0x42608a
mov ecx, esi
call fcn.004262e9
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x426ab3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db50
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x56f4d4
call fcn.004b9382
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049cb00
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 0x426b16
or eax, 0xffffffff
jmp 0x426b70
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 0x426b4d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426b11
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x426b11
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00426c18
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x426b76
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db50
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049cb00
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.00426d27
test eax, eax
jne 0x426be4
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 0x426be9
or eax, 0xffffffff
jmp 0x426c12
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 0x426c07
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 0x4274e7
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cbaa4
call fcn.0049c8c4
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5797
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.004b925f
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b95dc
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049cb00
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e215
add esp, 0x14
test eax, eax
jne 0x427589
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.0041e35b
test eax, eax
je 0x427589
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.004b91eb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4282d0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4282e3
cmp eax, 0xffffffff
jne 0x4282e8
or eax, 0xffffffff
jmp 0x428301
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 0x42ad60
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cbf7d
call fcn.0049c8c4
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x42ad7b
push 1
pop eax
jmp 0x42adea
push 0x78
mov dword [esi + 4], edi
call fcn.004b8677
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42ad9d
push dword [ebp + 8]
push esi
call fcn.0042f4cd
jmp 0x42ad9f
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x42adca
push edi
push edi
push 4
mov ecx, eax
call fcn.004b7b2b
test eax, eax
jne 0x42adcf
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42adc7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x42adea
mov eax, dword [esi + 8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
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 4
Function at 0x42b635
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cc094
call fcn.0049c8c4
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x56f4d4
lea ecx, [ebp - 0x10]
call fcn.004b925f
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x42b6c9
cmp ebx, edi
jl 0x42b663
cmp ebx, dword [esi + 0x14]
jge 0x42b663
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x42b665
xor eax, eax
cmp dword [eax + 0x800], 0x64
jne 0x42b6c3
cmp dword [eax + 0x808], 0x64
jne 0x42b6c3
push dword [eax + 0x530]
lea edi, [eax + 0x530]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b6c1
test ebx, ebx
jle 0x42b69e
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b95dc
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b95dc
push edi
lea ecx, [ebp - 0x10]
call fcn.004b9618
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b95dc
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x42b652
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42b70c
lea eax, [ebp - 0x14]
push eax
call fcn.00402057
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x42b6f4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x42b6fd
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b91eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b91eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42c28c
Capabilities:
Contain obfuscated stackstrings

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

Disassembly:
mov eax, 0x4cca5f
call fcn.0049c8c4
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 0x42e89b
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42e898
cmp eax, 0xd
je 0x42e898
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.004174d9
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00417548
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0041758d
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42e788
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.0041781e
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.004b54c1
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b91eb
jmp 0x42e874
push dword [esi]
call ebx
test eax, eax
je 0x42e874
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040e1be
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b9332
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b9332
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b9332
lea ecx, [ebp - 0xe8]
call fcn.004b8b69
dec eax
je 0x42e80d
dec eax
je 0x42e85f
dec eax
je 0x42e857
sub eax, 8
je 0x42e7f2
dec eax
je 0x42e84f
dec eax
je 0x42e847
jmp 0x42e826
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b54c1
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42e826
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b54c1
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040e273
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e799
jmp 0x42e874
mov dword [edi], 0xd
jmp 0x42e865
mov dword [edi], 0xc
jmp 0x42e865
mov dword [edi], 3
jmp 0x42e865
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040e273
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b91eb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b91eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b91eb
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 0x42e92e
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e972
xor ebx, ebx
mov esi, 0x3e8
push dword [esp + 0x10]
call fcn.0041740a
cmp eax, 0xffffffff
pop ecx
jne 0x42e972
push dword [edi + 0x10]
push esi
call fcn.00416fff
pop ecx
test eax, eax
pop ecx
jne 0x42e976
add ebx, esi
cmp ebx, 0x2710
jge 0x42e976
jmp 0x42e948
xor eax, eax
jmp 0x42e979
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret 4
Function at 0x42e97f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov ebx, ecx
call esi
test eax, eax
jne 0x42e99b
push 0xfffffffffffffffe
pop eax
jmp 0x42e9f5
push dword [ebp + 0xc]
call esi
xor edi, edi
test eax, eax
je 0x42e9b9
cmp dword [ebp + 0x10], edi
je 0x42e9f2
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0042e92e
test eax, eax
jl 0x42e9f2
mov esi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041742e
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42e9ee
push dword [ebx + 0x10]
push esi
call fcn.00416fff
pop ecx
test eax, eax
pop ecx
jne 0x42e9f2
add edi, esi
cmp edi, 0x2710
jge 0x42e9f2
jmp 0x42e9be
xor eax, eax
jmp 0x42e9f5
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x431166
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ccd4a
call fcn.0049c8c4
sub esp, 0x240
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041a7a3
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.00417147
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b91eb
lea ecx, [ebp - 0x84]
call fcn.0042ca7d
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.00430d9c
cmp eax, esi
je 0x4311e2
mov byte [ebp - 4], 4
mov esi, eax
jmp 0x4312cb
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4311fb
mov byte [ebp - 4], 5
or esi, 0xffffffff
jmp 0x4312cb
push esi
lea ecx, [ebp - 0x24c]
call fcn.004609e0
push 3
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00462700
test al, al
jne 0x431249
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4d34bc
call fcn.00460ab0
lea ecx, [ebp - 0x24c]
call fcn.00460a00
mov byte [ebp - 4], 7
jmp 0x4311f3
cmp dword [ebp + 0x24], esi
jle 0x431293
cmp dword [ebp + 0x20], esi
jle 0x431293
push edi
lea ecx, [ebp - 0x24c]
call fcn.004615c0
lea ecx, [ebp - 0x24c]
mov edi, eax
call fcn.004615b0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.00431d9a
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24c]
push dword [ebp + 0x18]
push eax
call fcn.00418c4e
add esp, 0x20
pop edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.00461000
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4d34bc
call fcn.00460ab0
lea ecx, [ebp - 0x24c]
call fcn.00460a00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004b91eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x84], 0x4d6da4
call fcn.004171b4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x432280
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4ccea0
call fcn.0049c8c4
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 0x4322be
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004174d9
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b91eb
lea eax, [ebp - 0x14]
push eax
call fcn.0041a7a3
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00417147
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b91eb
push dword [ebp + 8]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004b9382
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.0043205f
test eax, eax
je 0x432315
mov esi, eax
jmp 0x43234a
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 0x43232f
or esi, 0xffffffff
jmp 0x43234a
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 0x43234a
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.004171b4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

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

Disassembly:
mov eax, 0x4cf372
call fcn.0049c8c4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00451023
mov eax, dword [0x56acd8]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x56acd8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4d84e8
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x56acd8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x56acd8]
mov dword [esi + 0x40], eax
mov eax, dword [0x56acd8]
mov dword [esi + 0x44], eax
mov edi, 0x56f4d4
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d84dc
call fcn.004b9382
push edi
lea ecx, [esi + 0x18]
call fcn.004b9382
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b9382
push edi
lea ecx, [esi + 0x40]
call fcn.004b9382
push edi
lea ecx, [esi + 0x44]
call fcn.004b9382
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45a347
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cfaf7
call fcn.0049c8c4
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x45a4a5
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a4a5
lea ecx, [ebp - 0xf0]
call fcn.004213e1
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.0042154a
mov ecx, eax
call fcn.004213d9
test al, al
jne 0x45a3ac
or esi, 0xffffffff
jmp 0x45a477
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.00421015
lea ecx, [ebp - 0x10]
call fcn.004213d9
test al, al
jne 0x45a3a4
push 0x56f4d4
lea eax, [ebp - 0x1c]
push 0x4f4ff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0042105c
mov ecx, eax
call fcn.00420eb5
push eax
lea ecx, [ebp - 0x14]
call fcn.004b925f
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.0049d255
pop ecx
test eax, eax
pop ecx
je 0x45a40f
push 1
pop esi
jmp 0x45a46b
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.00421015
lea ecx, [ebp - 0x18]
call fcn.004213d9
test al, al
je 0x45a431
or esi, 0xffffffff
jmp 0x45a46b
cmp dword [esi + 0x10], ebx
jle 0x45a469
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.00421015
lea ecx, [ebp + 8]
call fcn.004213d9
test al, al
jne 0x45a48a
lea eax, [ebp + 8]
push eax
push edi
call fcn.0045a4b9
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x45a436
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b91eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004213f8
mov eax, esi
jmp 0x45a4a8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b91eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004213f8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x468660
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.004615b0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x468692
mov dword [esp + 0x2c], 0
jmp 0x4686ad
mov ecx, ebp
call fcn.004615b0
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.004615b0
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.004615c0
cmp eax, esi
jae 0x4686ed
mov ecx, ebp
call fcn.004615c0
mov dword [esp + 0x10], eax
jmp 0x4686f1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.00461400
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x46875d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x468758
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.00461900
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 0x46874b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.00461d70
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x468718
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x468706
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8