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

Disassembly:
mov eax, 0x56d270
call fcn.004f9d14
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00555287
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.00555604
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9e20
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0054e2d6
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fb5f8
pop ecx
test eax, eax
pop ecx
jne 0x42aa22
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.0042aa46
test eax, eax
je 0x42aa22
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.00555213
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43197e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56d5c4
call fcn.004f9d14
push ecx
push ecx
mov eax, dword [0x657b88]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov ebx, ecx
jne 0x4319cf
lea eax, [ebp - 0x14]
push eax
call fcn.00426c8f
and dword [ebp - 4], 0
mov dword [esp], str.dwebp.exe
push dword [ebp - 0x14]
push 0x5bf5b8
push 0x657b88
call fcn.0054e079
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00555213
push dword [0x657b88]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x431a65
mov edi, dword [ebp + 8]
test edi, edi
je 0x431a65
push edi
call esi
test eax, eax
je 0x431a65
cmp dword [ebp + 0xc], 0
je 0x431a65
mov eax, dword [0x64f210]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
je 0x431a2e
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
push dword [0x657b88]
push str.__s____s____s__o___s_
push eax
call fcn.0054e079
add esp, 0x18
jmp 0x431a46
push edi
lea eax, [ebp - 0x10]
push dword [0x657b88]
push str.__s____s___o___s_
push eax
call fcn.0054e079
add esp, 0x14
push dword [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00555213
mov eax, esi
jmp 0x431a68
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x432950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x56d7fd
call fcn.004f9d14
push ecx
mov eax, dword [0x64f210]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x64f210]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x24], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x28], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x2c], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x30], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x34], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x40], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x44], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x50], eax
mov edi, 0x656fac
mov byte [ebp - 4], 0xa
push edi
mov dword [esi], 0x5873f8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.005553aa
fldz
push edi
lea ecx, [esi + 0x20]
fstp dword [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x24]
call fcn.005553aa
push edi
lea ecx, [esi + 0x28]
call fcn.005553aa
push edi
lea ecx, [esi + 0x2c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x30]
call fcn.005553aa
push edi
lea ecx, [esi + 0x34]
call fcn.005553aa
mov dword [esi + 0x38], ebx
push edi
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x44]
call fcn.005553aa
mov dword [esi + 0x48], ebx
push edi
lea ecx, [esi + 0x4c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x50]
call fcn.005553aa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x436c09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004fabd0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x656fac
call fcn.005553aa
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004f9e20
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 0x436c6c
or eax, 0xffffffff
jmp 0x436cc6
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 0x436ca3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436c67
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x436c67
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00436d6e
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x436ccc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004fabd0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004f9e20
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.00436e7d
test eax, eax
jne 0x436d3a
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 0x436d3f
or eax, 0xffffffff
jmp 0x436d68
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 0x436d5d
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 0x43cc57
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56eb70
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x6571c4
push str._sMediaProbe.exe
push edi
call fcn.0054e079
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x6571c4]
call esi
test eax, eax
jne 0x43cc9b
push str.MediaProbe.exe
mov ecx, edi
call fcn.005553aa
push ebx
mov edi, 0x6571c8
push str._sMediaEncode.exe
push edi
call fcn.0054e079
add esp, 0xc
push dword [0x6571c8]
call esi
test eax, eax
jne 0x43ccc7
push str.MediaEncode.exe
mov ecx, edi
call fcn.005553aa
push dword [0x6571c8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5cf4b0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.005554b8
push eax
mov ecx, 0x6571cc
mov byte [ebp - 4], 1
call fcn.0055535a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00555213
push ebx
mov edi, 0x6571d0
push str._sMediaPlay.exe
push edi
call fcn.0054e079
add esp, 0xc
push dword [0x6571d0]
call esi
test eax, eax
jne 0x43cd3e
push str.MediaPlay.exe
mov ecx, edi
call fcn.005553aa
cmp dword [0x6571d4], 0
jne 0x43ce42
mov eax, dword [0x64f210]
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.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cd7e
mov dword [0x6571d4], 6
cmp dword [0x6571d4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cdb0
mov dword [0x6571d4], 5
cmp dword [0x6571d4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cdde
mov dword [0x6571d4], 4
cmp dword [0x6571d4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43ce0c
mov dword [0x6571d4], 3
cmp dword [0x6571d4], 0
jne 0x43ce36
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.0054e079
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43ce36
mov dword [0x6571d4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x6571d8], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ce5d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x6571d0]
call esi
test eax, eax
je 0x43ce7d
xor eax, eax
push eax
push eax
push eax
push dword [0x6571d0]
jmp 0x43cead
push dword [0x6571c8]
call esi
test eax, eax
je 0x43ce96
xor eax, eax
push eax
push eax
push eax
push dword [0x6571c8]
jmp 0x43cead
push dword [0x6571c4]
call esi
test eax, eax
je 0x43ceb5
xor eax, eax
push eax
push eax
push eax
push dword [0x6571c4]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x56ebcc
call fcn.004f9d14
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 0x43d158
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.00555213
lea eax, [ebp - 0x14]
push eax
call fcn.00426df2
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d7de
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00555213
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.005553aa
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.0043ceda
test eax, eax
je 0x43d1af
mov esi, eax
jmp 0x43d1e4
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 0x43d1c9
or esi, 0xffffffff
jmp 0x43d1e4
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 0x43d1e4
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.0041d84b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4435c3
Capabilities:
Resume thread

Disassembly:
mov eax, 0x56f9b5
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
push 0x74
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x4435e8
push dword [ebp + 8]
push esi
call fcn.004448fe
mov esi, eax
jmp 0x4435ea
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44360c
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
jne 0x443610
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x443626
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 0x4470ad
Capabilities:
Parse url

Disassembly:
mov eax, 0x56fa6c
call fcn.004f9d14
mov eax, 0x4048
call fcn.004fabd0
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00555287
xor ebx, ebx
push 0x23
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.005556f2
or esi, 0xffffffff
cmp eax, esi
je 0x447109
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0054dc6b
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0055535a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00555213
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x4471b4
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x656fac
push esi
mov dword [edi], ebx
call fcn.005553aa
mov ecx, dword [ebp + 0x14]
push esi
call fcn.005553aa
mov eax, dword [ebp + 0x18]
push 0x3c
pop esi
mov dword [eax], ebx
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004f9e20
mov eax, 0x1000
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4054]
lea ecx, [ebp - 0x2050]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
mov dword [ebp - 0x4c], esi
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esi, eax
cmp esi, ebx
je 0x44718b
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x18]
mov dword [edi], eax
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2050]
push eax
call fcn.005553aa
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x4054]
push eax
call fcn.005553aa
xor eax, eax
cmp esi, ebx
setne al
dec eax
pop edi
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44736a
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 0x656fac
mov dword [edi], esi
call fcn.005553aa
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 0x44744b
cmp dword [ebp + 8], esi
je 0x44744b
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 0x4473ea
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 0x44743e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.005553aa
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x44744e
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x447e76
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56fc68
call fcn.004f9d14
push ecx
mov eax, dword [0x64f210]
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.0054e079
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447ec1
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.0055535a
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x447ed9
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.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f02
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.0055535a
cmp dword [esi + 0xc], 0
jne 0x447f17
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.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f40
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.0055535a
cmp dword [esi + 0x14], 0
jne 0x447f55
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.0054e079
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447f7e
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.0055535a
cmp dword [esi + 0x1c], 0
jne 0x447f93
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, 0x5bf5b8
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447fc7
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447fe1
push str.curl_ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447ffb
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054e079
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x46ade9
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x5724f2
call fcn.004f9d14
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046ae96
mov eax, dword [0x64f210]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x588f00
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x64f210]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x40], eax
mov eax, dword [0x64f210]
mov dword [esi + 0x44], eax
mov edi, 0x656fac
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x588ef4
call fcn.005553aa
push edi
lea ecx, [esi + 0x18]
call fcn.005553aa
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x40]
call fcn.005553aa
push edi
lea ecx, [esi + 0x44]
call fcn.005553aa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47252d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x572b67
call fcn.004f9d14
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x47268b
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47268b
lea ecx, [ebp - 0xf0]
call fcn.0042dcbe
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.0042de27
mov ecx, eax
call fcn.0042dcb6
test al, al
jne 0x472592
or esi, 0xffffffff
jmp 0x47265d
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0042d84f
lea ecx, [ebp - 0x10]
call fcn.0042dcb6
test al, al
jne 0x47258a
push 0x656fac
lea eax, [ebp - 0x1c]
push 0x5c0cb4
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d896
mov ecx, eax
call fcn.0042d63b
push eax
lea ecx, [ebp - 0x14]
call fcn.00555287
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
je 0x4725f5
push 1
pop esi
jmp 0x472651
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d84f
lea ecx, [ebp - 0x18]
call fcn.0042dcb6
test al, al
je 0x472617
or esi, 0xffffffff
jmp 0x472651
cmp dword [esi + 0x10], ebx
jle 0x47264f
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.0042d84f
lea ecx, [ebp + 8]
call fcn.0042dcb6
test al, al
jne 0x472670
lea eax, [ebp + 8]
push eax
push edi
call fcn.0047269f
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x47261c
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042dcd5
mov eax, esi
jmp 0x47268e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042dcd5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x47680b
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573179
call fcn.004f9d14
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.00551a68
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x47684b
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0047704d
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x47688a
push 0
push 0
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
je 0x476899
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x47682a
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x4768a6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x47688a