joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4210d8
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x70
mov eax, 0x4be429
call fcn.00494508
mov edi, dword [ebp + 0x80c]
push edi
lea eax, [ebp - 0x1c]
push str.GetURLStatus__:_strURL_
push eax
call fcn.00473090
push 0x4cf21c
push eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00473040
push eax
mov byte [ebp - 4], 1
call fcn.00411cd0
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00472740
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x14]
push eax
push 2
push ebx
mov dword [ebp - 0x14], 0x7530
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 6
push ebx
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 5
push ebx
call esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00493f80
lea eax, [ebp]
mov dword [ebp - 0x6c], eax
mov eax, 0x400
add esp, 0xc
cmp byte [edi + 7], 0xff
lea ecx, [ebp + 0x400]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jne 0x4211ad
mov edi, dword [edi]
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push ebx
push ebx
push ebx
push ebx
push str.StubInstaller
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4212a5
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4212a0
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
lea ecx, [ebp + 0x400]
push ecx
push str.HEAD
push eax
mov dword [ebp - 0x30], 0x4cf210
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x42129b
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x421298
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x20], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
call fcn.0043459c
push eax
lea eax, [ebp - 0x38]
push str.dwStatus_
push eax
mov dword [ebp - 4], 2
call fcn.00473090
push eax
mov byte [ebp - 4], 3
call fcn.00411cd0
add esp, 0x18
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00472740
push esi
call edi
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x804
leave
ret
Function at 0x422314
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x204
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x204], eax
push 0x18
mov eax, 0x4be6af
call fcn.00494508
mov esi, dword [ebp + 0x210]
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
js 0x4224df
push 0x103
lea eax, [ebp + 0x101]
push 0
push eax
mov byte [ebp + 0x100], 0
call fcn.00493f80
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00494970
mov esi, 0x4cf410
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00493860
add esp, 0x1c
test eax, eax
je 0x42239f
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00493860
pop ecx
pop ecx
mov byte [eax], 0
lea eax, [ebp + 0x100]
push eax
lea ebx, [edi + 8]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00473040
add esp, 0xc
and dword [ebp - 4], 0
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.004727f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472740
lea ecx, [edi + 0x18]
call fcn.0040d513
test al, al
jne 0x422490
and dword [ebp - 0x10], 0
push 0xff
mov byte [ebp], al
lea eax, [ebp + 1]
push 0
push eax
call fcn.00493f80
add esp, 0xc
lea eax, [edi + 0x18]
cmp byte [eax + 7], 0xff
jne 0x422406
mov eax, dword [eax]
push dword [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
call fcn.0049543b
inc dword [ebp - 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00473040
add esp, 0x18
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004727f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00472740
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x42244c
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x422490
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00473040
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004727f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00472740
cmp dword [ebp - 0x10], 0x64
jl 0x4223fb
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x42249a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x4224ab
mov eax, dword [esi]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x4224dd
push esi
mov ecx, 0x4fb644
call fcn.004727f0
mov eax, 0x80004005
jmp 0x4224df
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x208
leave
ret 4

Function at 0x422529
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
leave
ret 8
Function at 0x423770
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0x18
mov eax, 0x4be8fe
call fcn.00494508
xor ebx, ebx
push 0x4cd9ca
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00472760
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0040d513
test al, al
jne 0x423888
lea ecx, [ebp + 8]
call fcn.004724c0
cmp byte [ebp + 0xf], 0xff
lea ecx, [ebp + 8]
jne 0x4237b8
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4237ca
push 0x5c
lea ecx, [ebp + 8]
call fcn.00472c40
push str.version.ini
lea ecx, [ebp + 8]
call fcn.00472bc0
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x4237e3
mov eax, dword [ebp + 8]
push eax
mov eax, 0x100
push eax
push eax
lea ecx, [ebp - 0x24]
call fcn.004731d0
push eax
push ebx
push 0x4cf7a4
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00473260
lea ecx, [ebp - 0x24]
call fcn.0040d513
test al, al
jne 0x423888
cmp byte [ebp - 0x1d], 0xff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x24]
jne 0x423833
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push str._d._d._d._d
push eax
call fcn.004940f3
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
and esi, 0x7f
shl eax, 7
or esi, eax
movzx eax, byte [ebp - 0x18]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x1c]
and eax, 0xfff
shl esi, 0xc
or esi, eax
add esp, 0x18
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x423881
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x423898
lea eax, [ebp - 0x24]
push eax
call fcn.004727f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00472740
mov eax, esi
call fcn.004945e0
ret 0xc
Function at 0x424a51
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x44
mov eax, 0x4bebb4
call fcn.00494508
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.004724b0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareRealNetworksDLPdlpinstallcounts
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424bd3
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x28]
call fcn.004724b0
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x100
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x100
call fcn.004731d0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x10]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.00473260
cmp dword [ebp - 0x18], ebx
jne 0x424bb6
lea ecx, [ebp - 0x30]
call fcn.004724b0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push str.SoftwareRealNetworksDLPdlpinstallcounts_
push eax
mov byte [ebp - 4], 2
call fcn.00473090
add esp, 0xc
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 3
jne 0x424b1e
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push str.Count
push eax
push esi
call fcn.0041014a
add esp, 0x18
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00472740
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push 0x4ce690
push eax
call fcn.00473090
push str.installcount
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00473040
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.00472ff0
add esp, 0x24
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00472ca0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00472740
cmp dword [ebp - 0x18], ebx
je 0x424aa0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
call fcn.004945e0
ret 4
Function at 0x424c7f
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x4bebd7
call fcn.00494508
xor esi, esi
push 0x38
lea eax, [ebp - 0x44]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00493f80
mov eax, dword [ebp + 0xc]
shr eax, 0x18
add esp, 0xc
cmp al, 0xff
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], str.open
lea eax, [ebp + 8]
jne 0x424cc7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x424cee
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00472740
call fcn.004945e0
ret
Function at 0x42521c
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
push 0x98
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00493f80
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x9c
call edi
test eax, eax
jne 0x42526f
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x94
call edi
mov eax, dword [ebp - 0x20]
dec eax
je 0x42528f
dec eax
jne 0x4252d1
cmp byte [esi + 7], 0xff
jne 0x425280
mov esi, dword [esi]
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x4252d1
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], ebx
jne 0x4252a3
mov esi, dword [esi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x34]
push edx
push eax
call fcn.004953d0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x7c]
shl eax, 0x14
pop edi
cdq
pop esi
pop ebx
cmp edx, dword [ebp - 0x40]
ja 0x4252eb
jb 0x4252e7
cmp eax, dword [ebp - 0x44]
jae 0x4252eb
xor eax, eax
jmp 0x4252f0
mov eax, 0x80004005
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x70
leave
ret 8
Function at 0x42557a
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x2d8
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x2d8], eax
push 0xc
mov eax, 0x4bec9d
call fcn.00494508
mov dword [ebp - 0x10], ecx
push str.NOLOG_in_CloseBrowsers__
lea ecx, [ebp - 0x18]
call fcn.00472760
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00472740
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
mov ebx, 0x425301
push ebx
mov dword [0x4fb6f4], edi
call esi
cmp dword [0x4fb6f4], edi
je 0x425730
push str.NOLOG_prompting
lea ecx, [ebp - 0x18]
call fcn.00472760
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00472740
mov ecx, dword [ebp - 0x10]
add ecx, 0x12c
push str.false
mov dword [ebp - 0x14], ecx
call fcn.00472890
push dword [ebp - 0x10]
lea ecx, [ebp + 0x128]
call fcn.0041c2ac
push 1
push 0xb1
lea ecx, [ebp + 0x128]
mov dword [ebp - 4], 2
call fcn.0041de35
cmp eax, 3
jne 0x425721
mov ecx, dword [ebp - 0x14]
push str.true
call fcn.00472890
push edi
push 0x4253bd
call esi
push edi
push ebx
mov dword [0x4fb6f4], edi
call esi
cmp dword [0x4fb6f4], edi
je 0x425689
push edi
push 0x425489
call esi
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x425721
push 0x124
lea eax, [ebp + 4]
push edi
push eax
call fcn.00493f80
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov ebx, 0x128
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32First
jmp 0x42571d
lea eax, [ebp + 0x24]
push eax
push str.ieuser.exe
call fcn.004948c4
pop ecx
pop ecx
test eax, eax
je 0x4256ed
lea eax, [ebp + 0x24]
push eax
push str.iexplore.exe
call fcn.004948c4
pop ecx
pop ecx
test eax, eax
jne 0x42570e
push dword [ebp + 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x42570e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4256c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x128]
call fcn.0041de91
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2d8]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x2dc
leave
ret
Function at 0x4274ea
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x54
mov eax, 0x4bf0ed
call fcn.00494508
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xa54], edi
je 0x427540
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004944f9
add ebp, 0xa0
leave
ret
cmp dword [esi + 0x34], edi
je 0x42751a
push 0x98
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], edi
call fcn.00493f80
mov ebx, 0x9c
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.00493f80
add esp, 0x18
lea eax, [ebp]
mov dword [ebp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call ebx
test eax, eax
jne 0x42758a
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call ebx
cmp dword [ebp + 4], 6
jb 0x42751a
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0041baae
push str.vista.exe
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], edi
call fcn.00473040
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00472740
push 0x38
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00493f80
add esp, 0xc
cmp byte [ebp - 0x15], 0xff
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x440
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], str.open
lea eax, [ebp - 0x1c]
jne 0x4275ef
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea eax, [ebp - 0x60]
inc ebx
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42762a
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xa54], eax
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00472740
mov eax, edi
jmp 0x42751d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
cmp eax, 0x4c7
jne 0x42764a
push str.actionerrorvalueuac_cancel
call fcn.00472760
mov byte [ebp - 4], 3
jmp 0x427658
push str.actionerrorvaluehelper_invalid
call fcn.00472760
mov byte [ebp - 4], 4
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00472740
jmp 0x427617
Function at 0x43468e
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x4c18d6
call fcn.00494508
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ebx, ebx
cmp al, 0xff
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
jne 0x4346af
mov eax, dword [ebp + 8]
push 0x4cf9a8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00495016
add esp, 0xc
cmp eax, ebx
jne 0x43472a
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0049aa87
push dword [ebp - 0x10]
call fcn.0049a998
push dword [ebp - 0x10]
mov esi, eax
call fcn.0049b181
lea edi, [esi + 1]
push edi
call fcn.00491462
push edi
push ebx
push eax
mov dword [ebp + 0x14], eax
call fcn.00493f80
push dword [ebp - 0x10]
push esi
push 1
push esi
push dword [ebp + 0x14]
call fcn.0049a6a0
mov ecx, dword [ebp + 0x10]
add esp, 0x38
push dword [ebp + 0x14]
call fcn.00472890
push dword [ebp - 0x10]
call fcn.00494b68
push dword [ebp + 0x14]
call fcn.0049407a
pop ecx
pop ecx
jmp 0x434843
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push str.Unable_to_open_file:
push eax
call fcn.00473090
push str.___try_creating_it_instead.
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00473040
push eax
mov byte [ebp - 4], 2
call fcn.00411cd0
add esp, 0x1c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00472740
mov edi, dword [ebp + 0x10]
mov esi, 0x4cd9ca
cmp dword [ebp + 0x14], ebx
je 0x4347b7
push ebx
push ebx
push edi
push esi
push str.SOFTWARERealNetworksRealPlayer15.0PreferencesUID
push SysReAllocString
call fcn.0041014a
add esp, 0x18
mov ecx, edi
call fcn.0040d513
test al, al
je 0x4347b7
push ebx
push ebx
push edi
push esi
push str.SOFTWARERealNetworksRealPlayer16.0PreferencesUID
push SysReAllocString
call fcn.0041014a
add esp, 0x18
mov ecx, edi
call fcn.0040d513
test al, al
je 0x4347f9
lea eax, [ebp - 0x20]
push eax
call fcn.0040ecca
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004727f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00472740
mov ecx, edi
call fcn.004736b0
push 1
push esi
push 0x4e1384
mov ecx, edi
call fcn.004736d0
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x434805
mov eax, dword [ebp + 8]
push 0x4d4c0c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00495016
add esp, 0xc
cmp eax, ebx
jne 0x434853
cmp byte [edi + 7], 0xff
mov esi, edi
jne 0x434825
mov esi, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004724c0
push eax
push 1
push esi
call fcn.0049ac5a
push dword [ebp - 0x10]
call fcn.00494b68
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00472740
xor eax, eax
jmp 0x43488c
lea eax, [eax + str.Machine_GUID_error:]
push eax
lea ecx, [ebp - 0x18]
call fcn.00472760
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00472740
mov eax, 0x80004005
call fcn.004945e0
ret 0x10
Function at 0x43a97f
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x4c27c1
call fcn.00494508
mov esi, ecx
mov edi, 0x4cd9ca
push edi
lea ecx, [esi + 0x414]
call fcn.00472890
lea ecx, [esi + 0x744]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0043a7fe
lea ecx, [esi + 0x754]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0043a7fe
push edi
mov ecx, 0x4fc2ec
call fcn.00472890
push str._temp_detect.log
lea ecx, [ebp - 0x18]
mov dword [esi + 0x72c], 1
call fcn.00472760
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004109b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004727f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00472740
cmp byte [ebp - 0x11], 0xff
lea eax, [ebp - 0x18]
jne 0x43aa27
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00472740
xor eax, eax
call fcn.004945e0
ret
Function at 0x44dec3
Capabilities:
Hide graphical window

Disassembly:
push 0x28
mov eax, 0x4c32ee
call fcn.00494508
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0043459c
mov ebx, eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0043459c
push eax
lea eax, [ebp - 0x24]
push str.USER_ShowWindow__iRow_
push eax
mov byte [ebp - 4], 1
call fcn.00473090
push str.__iCol_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00473040
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00472ff0
push eax
mov byte [ebp - 4], 4
call fcn.00411cd0
add esp, 0x38
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00472740
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00472740
push 1
push edi
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
push dword [esi + 0x1d4]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x1d8]
call ebx
push 5
push dword [esi + 0x1d4]
call ebx
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
push dword [esi + 0x1d4]
call edi
call fcn.004945e0
ret 8

Function at 0x44dfbe
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x1d8]
call edi
push 0
push dword [esi + 0x1d4]
call edi
pop edi
pop esi
ret