joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453f27
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56f929
call fcn.004f85f0
sub esp, 0xe4
push dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453f4f
or eax, 0xffffffff
jmp 0x4540a6
push esi
lea ecx, [ebp - 0xf0]
call fcn.0042e6ae
and dword [ebp - 4], 0
push 0
push 0x74
lea eax, [ebp - 0x28]
push dword [ebp + 8]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0042e817
mov ecx, eax
call fcn.0042e6a6
test al, al
jne 0x453f88
or esi, 0xffffffff
jmp 0x454094
lea eax, [ebp - 0x14]
push str.Downloads
push eax
lea ecx, [ebp - 0xf0]
call fcn.0042e24d
lea ecx, [ebp - 0x14]
call fcn.0042e6a6
test al, al
jne 0x453f80
mov eax, dword [0x64a758]
mov dword [ebp - 0x18], eax
mov esi, 0x6524d4
lea eax, [ebp + 8]
push esi
push 0x5bd874
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x18]
call fcn.0054f7db
push esi
lea eax, [ebp + 8]
push 0x5cb9dc
push eax
lea ecx, [ebp - 0x14]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x18]
call fcn.0054f7db
mov esi, 0x5bc654
lea eax, [ebp - 0x10]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0042e24d
lea ecx, [ebp - 0x10]
call fcn.0042e230
test eax, eax
je 0x454086
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x9e8
call fcn.0054fc33
mov ebx, eax
pop ecx
mov dword [ebp + 8], ebx
test ebx, ebx
mov byte [ebp - 4], 2
je 0x454047
mov ecx, ebx
call fcn.004501f3
mov dword [ebx], 0x5872d0
jmp 0x454049
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004540b4
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, edi
call fcn.0054ea28
lea eax, [ebp + 0xc]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e2db
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0042e230
test eax, eax
jne 0x454020
pop edi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0054f644
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042e6c5
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x45708a
Capabilities:
Check if file exists

Disassembly:
push dword [0x652568]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4570af
push 0
push 0x414
push dword [0x652568]
call fcn.0041e083
add esp, 0xc
ret

Function at 0x4570b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x56fa58
call fcn.004f85f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], fcn.00456459
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.0054ea4f
push 1
mov dword [edi], method.CPtrArray.virtual_0
pop eax
mov dword [edi + 0x14], eax
mov ecx, dword [0x64a758]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov dword [esi], fcn.00456459
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x458687
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x56fb98
call fcn.004f85f0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x6524d4
lea ecx, [ebp - 0x10]
call fcn.0054f6b8
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
jle 0x458716
jmp 0x4586b5
xor ebx, ebx
cmp edi, ebx
jl 0x4586c4
cmp edi, dword [esi + 0x14]
jge 0x4586c4
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov ecx, ebx
call fcn.00412509
test eax, eax
je 0x45870e
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x4586e5
push 0x5bccb8
lea ecx, [ebp - 0x10]
call fcn.0054fa35
push 0x5bccb4
lea ecx, [ebp - 0x10]
call fcn.0054fa35
add ebx, 0x69c
lea ecx, [ebp - 0x10]
push ebx
call fcn.0054fa71
push 0x5bccb4
lea ecx, [ebp - 0x10]
call fcn.0054fa35
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4586b3
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x458759
lea eax, [ebp - 0x14]
push eax
call fcn.00403854
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push ebx
je 0x458741
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
jmp 0x45874a
push ebx
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45f1dd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5704de
call fcn.004f85f0
sub esp, 0x240
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00427871
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.0041dbc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0054f644
lea ecx, [ebp - 0x84]
call fcn.0045effc
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.0045ebf4
cmp eax, esi
je 0x45f259
mov byte [ebp - 4], 4
mov esi, eax
jmp 0x45f342
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f272
mov byte [ebp - 4], 5
or esi, 0xffffffff
jmp 0x45f342
push esi
lea ecx, [ebp - 0x24c]
call fcn.004d4a20
push 3
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004d5b90
test al, al
jne 0x45f2c0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x584478
call fcn.004d4af0
lea ecx, [ebp - 0x24c]
call fcn.004d4a40
mov byte [ebp - 4], 7
jmp 0x45f26a
cmp dword [ebp + 0x24], esi
jle 0x45f30a
cmp dword [ebp + 0x20], esi
jle 0x45f30a
push edi
lea ecx, [ebp - 0x24c]
call fcn.004d2af0
lea ecx, [ebp - 0x24c]
mov edi, eax
call fcn.004d2ae0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.00460043
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24c]
push dword [ebp + 0x18]
push eax
call fcn.0041fd00
add esp, 0x20
pop edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.004d5040
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x584478
call fcn.004d4af0
lea ecx, [ebp - 0x24c]
call fcn.004d4a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x84], 0x589088
call fcn.0041dc2d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x45f36f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x570508
call fcn.004f85f0
sub esp, 0x60
push esi
lea ecx, [ebp - 0x6c]
call fcn.0045effc
push dword [ebp + 0x14]
xor esi, esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045eedc
cmp eax, esi
je 0x45f3ad
mov dword [ebp - 4], 1
mov esi, eax
jmp 0x45f3cd
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f3c6
mov dword [ebp - 4], 2
or esi, 0xffffffff
jmp 0x45f3cd
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4600a6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x570624
call fcn.004f85f0
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x6524ec
push str._sMediaProbe.exe
push edi
call fcn.0054c8d9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x6524ec]
call esi
test eax, eax
jne 0x4600ea
push str.MediaProbe.exe
mov ecx, edi
call fcn.0054f7db
push ebx
mov edi, 0x6524f0
push str._sMediaEncode.exe
push edi
call fcn.0054c8d9
add esp, 0xc
push dword [0x6524f0]
call esi
test eax, eax
jne 0x460116
push str.MediaEncode.exe
mov ecx, edi
call fcn.0054f7db
push dword [0x6524f0]
lea eax, [ebp - 0x14]
push eax
call fcn.0041ecb5
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0054f8e9
push eax
mov ecx, 0x6524f4
mov byte [ebp - 4], 1
call fcn.0054f78b
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054f644
push ebx
mov edi, 0x6524f8
push str._sMediaPlay.exe
push edi
call fcn.0054c8d9
add esp, 0xc
push dword [0x6524f8]
call esi
test eax, eax
jne 0x46018d
push str.MediaPlay.exe
mov ecx, edi
call fcn.0054f7db
cmp dword [0x6524fc], 0
jne 0x460291
mov eax, dword [0x64a758]
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.0054c8d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4601cd
mov dword [0x6524fc], 6
cmp dword [0x6524fc], 0
jne 0x460285
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4601ff
mov dword [0x6524fc], 5
cmp dword [0x6524fc], 0
jne 0x460285
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x46022d
mov dword [0x6524fc], 4
cmp dword [0x6524fc], 0
jne 0x460285
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x46025b
mov dword [0x6524fc], 3
cmp dword [0x6524fc], 0
jne 0x460285
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x460285
mov dword [0x6524fc], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x652500], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4602ac
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x6524f8]
call esi
test eax, eax
je 0x4602cc
xor eax, eax
push eax
push eax
push eax
push dword [0x6524f8]
jmp 0x4602fc
push dword [0x6524f0]
call esi
test eax, eax
je 0x4602e5
xor eax, eax
push eax
push eax
push eax
push dword [0x6524f0]
jmp 0x4602fc
push dword [0x6524ec]
call esi
test eax, eax
je 0x460304
xor eax, eax
push eax
push eax
push eax
push dword [0x6524ec]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x570680
call fcn.004f85f0
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 0x4605a9
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041ecb5
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.0054f644
lea eax, [ebp - 0x14]
push eax
call fcn.00427871
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041dbc0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0054f644
push dword [ebp + 8]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0054f7db
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.00460329
test eax, eax
je 0x460600
mov esi, eax
jmp 0x460635
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 0x46061a
or esi, 0xffffffff
jmp 0x460635
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 0x460635
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.0041dc2d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x465726
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5712e9
call fcn.004f85f0
push ecx
push esi
mov esi, ecx
push 0x74
call fcn.0054fc33
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x46574b
push dword [ebp + 8]
push esi
call fcn.004669e4
mov esi, eax
jmp 0x46574d
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46576f
push 0
push 0
push 4
mov ecx, esi
call fcn.00553a69
test eax, eax
jne 0x465773
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x465789
push 0
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46940f
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x6524d4
mov dword [edi], esi
call fcn.0054f7db
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4694f0
cmp dword [ebp + 8], esi
je 0x4694f0
push ebx
push 4
pop eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyEnable
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x46948f
cmp dword [ebp - 0xc], esi
setne al
mov dword [edi], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov word [ebp - 0x80c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyServer
mov dword [ebp - 8], 0x400
push dword [ebp + 8]
call ebx
test eax, eax
pop ebx
jne 0x4694e3
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.0054f7db
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4694f3
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x46afa8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5716a4
call fcn.004f85f0
push ecx
mov eax, dword [0x64a758]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str._sNIO_curl.exe
push eax
call fcn.0054c8d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46aff3
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.0054f78b
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x46b00b
push dword [esi + 8]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_wget.exe
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46b034
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.0054f78b
cmp dword [esi + 0xc], 0
jne 0x46b049
push dword [esi + 0x10]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_msdl.exe
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46b072
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.0054f78b
cmp dword [esi + 0x14], 0
jne 0x46b087
push dword [esi + 0x18]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_rtmp.exe
push eax
call fcn.0054c8d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46b0b0
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.0054f78b
cmp dword [esi + 0x1c], 0
jne 0x46b0c5
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.ca_bundle.crt
mov ebx, 0x5bbfa0
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0054c8d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46b0f9
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054c8d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46b113
push 0x5d6060
push dword [ebp + 8]
push ebx
push esi
call fcn.0054c8d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46b12d
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054c8d9
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x46c838
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa8]
test edi, edi
mov dword [ebp - 4], edi
je 0x46c91c
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c862
push eax
jmp 0x46c8ad
push 1
pop ebx
cmp edi, ebx
jle 0x46c87a
cmp dword [esi + 0x38], ebx
jne 0x46c87a
push ebx
lea ecx, [esi + 0xa0]
call fcn.0046c7f6
test edi, edi
jle 0x46c888
cmp dword [esi + 0x3c], 0
jle 0x46c90f
push dword [esi + 0xc]
call fcn.0041ee73
pop ecx
xor ecx, ecx
cmp edx, ecx
jg 0x46c89d
jl 0x46c8ac
cmp eax, ecx
jbe 0x46c8ac
test byte [esi + 0x68], bl
je 0x46c8be
cmp eax, dword [esi + 0x40]
jne 0x46c8ac
cmp edx, dword [esi + 0x44]
je 0x46c8d0
push ecx
lea ecx, [esi + 0xa0]
call fcn.0046c7f6
and dword [esi + 0x68], 0xfffffffe
jmp 0x46c91c
cmp edi, ebx
jne 0x46c8d0
mov ebx, dword [esi + 0xa4]
mov ebx, dword [ebx]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x46c90f
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46c906
xor edi, edi
cmp dword [eax + 0x44], edi
jg 0x46c8f9
jl 0x46c8f3
cmp dword [eax + 0x40], edi
jae 0x46c8f9
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
add ecx, edi
mov edi, dword [ebp - 4]
adc ebx, eax
inc edx
cmp edx, edi
jl 0x46c8d8
or ecx, ebx
jne 0x46c91c
push 0
lea ecx, [esi + 0xa0]
call fcn.0046c7f6
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x46d3f0
Capabilities:
Resume thread

Disassembly:
mov eax, 0x571a01
call fcn.004f85f0
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x130
call fcn.0054fc33
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x46d42e
push dword [edi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
call fcn.0046bc14
jmp 0x46d430
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push 4
mov ecx, eax
mov dword [esi + 0x68], eax
call fcn.00553a69
test eax, eax
jne 0x46d464
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x46d454
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
mov eax, dword [edi]
push 0xfffffffffffffffe
mov ecx, edi
call dword [eax + 0x14]
push 0xfffffffffffffffe
jmp 0x46d4aa
mov eax, dword [esi + 0x68]
push ebx
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x68]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x14], ebx
je 0x46d4ad
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x46d491
cmp dword [eax], ebx
jne 0x46d4a8
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46d4b1
cmp dword [esi + 0x24], 0x14
jge 0x46d4ad
jmp 0x46d486
push 1
pop eax
jmp 0x46d4d7
xor eax, eax
jmp 0x46d4d7
mov ecx, dword [esi + 0x68]
push 0x14
call fcn.0046c4ac
mov ecx, dword [esi + 0x68]
call fcn.0046c4c4
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x46d4d1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

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

Disassembly:
mov eax, 0x573cd2
call fcn.004f85f0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0048d935
mov eax, dword [0x64a758]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x58a78c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x64a758]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x40], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x44], eax
mov edi, 0x6524d4
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x58a780
call fcn.0054f7db
push edi
lea ecx, [esi + 0x18]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.0054f7db
push edi
lea ecx, [esi + 0x40]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x44]
call fcn.0054f7db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x494dac
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57430f
call fcn.004f85f0
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x494f0a
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x494f0a
lea ecx, [ebp - 0xf0]
call fcn.0042e6ae
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.0042e817
mov ecx, eax
call fcn.0042e6a6
test al, al
jne 0x494e11
or esi, 0xffffffff
jmp 0x494edc
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0042e24d
lea ecx, [ebp - 0x10]
call fcn.0042e6a6
test al, al
jne 0x494e09
push 0x6524d4
lea eax, [ebp - 0x1c]
push 0x5bd874
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x14]
call fcn.0054f6b8
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.004f86a5
pop ecx
test eax, eax
pop ecx
je 0x494e74
push 1
pop esi
jmp 0x494ed0
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e24d
lea ecx, [ebp - 0x18]
call fcn.0042e6a6
test al, al
je 0x494e96
or esi, 0xffffffff
jmp 0x494ed0
cmp dword [esi + 0x10], ebx
jle 0x494ece
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.0042e24d
lea ecx, [ebp + 8]
call fcn.0042e6a6
test al, al
jne 0x494eef
lea eax, [ebp + 8]
push eax
push edi
call fcn.00494f1e
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x494e9b
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042e6c5
mov eax, esi
jmp 0x494f0d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042e6c5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8