joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4641b0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x51f97e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push edi
push str.WindowPos
push str.SoftwareMicrosoftInternet_ExplorerIEDevTools
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push 0x56e1d0
push str.CLSID1a6fe369_f28c_4ad9_a3e6_2bcb50807cf1InProcServer32
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHRegGetPathW]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, 0xa3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], al
mov byte [esp + 0x18], al
lea eax, [esp + 8]
lea edx, [esp + 0x1c]
push eax
push ecx
push 1
push ebx
push edx
mov dword [esp + 0x30], 0x1a6fe369
mov word [esp + 0x34], 0xf28c
mov word [esp + 0x36], 0x4ad9
mov byte [esp + 0x39], 0xe6
mov byte [esp + 0x3a], 0x2b
mov byte [esp + 0x3b], 0xcb
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x80
mov byte [esp + 0x3e], 0x7c
mov byte [esp + 0x3f], 0xf1
mov dword [esp + 0x20], 0x59055df
mov word [esp + 0x24], 0x6bb0
mov word [esp + 0x26], 0x402a
mov byte [esp + 0x28], 0xba
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x58
mov byte [esp + 0x2b], 0xbf
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2e], 0x71
mov byte [esp + 0x2f], 0x9c
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 8], ebx
jne 0x4642e2
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
push esi
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov dword [esp + 0x248], ebx
je 0x46432b
mov ecx, dword [esp + 0x250]
lea eax, [esi + 8]
cmp ecx, ebx
mov dword [eax], ebx
je 0x464319
mov edx, dword [ecx]
push eax
push 0x561210
push ecx
call dword [edx]
mov dword [esi + 4], 0x525958
mov dword [esi + 0xc], ebx
mov dword [esi], 0x525930
jmp 0x46432d
xor esi, esi
mov eax, dword [esp + 0xc]
push esi
push eax
mov dword [esp + 0x250], 0xffffffff
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0xc]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x240]
mov eax, dword [esp + 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x46a2e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x588510]
push esi
test eax, eax
push edi
mov esi, ecx
mov word [esp + 0x14], 3
je 0x46a3f5
mov eax, dword [0x5a18b4]
test eax, eax
jne 0x46a3f5
mov eax, dword [esi + 0x6794]
test eax, eax
je 0x46a3f5
cmp dword [esi + 0x6764], 0xffffffff
jne 0x46a3f5
call fcn.0046acf0
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 4
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push str.LogPixels
mov edi, 0x60
push str.Control_PanelDesktop
push SysReAllocStringLen
mov dword [esp + 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], edi
jne 0x46a3f5
mov eax, dword [esi + 0x6794]
lea edx, [esp + 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0
push 0x3f
push eax
call dword [ecx + 0xd8]
test eax, eax
jne 0x46a3f5
mov ecx, 0x81
lea edi, [esp + 0x26]
mov word [esp + 0x24], ax
push ebx
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
stosw word es:[edi], ax
mov eax, dword [esp + 0xc]
push eax
push ebx
push str._d_dwLogPixels_d
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov dx, bx
mov ecx, esi
mov dword [esi + 0x6764], ebx
push 0
push edx
push 0xd
mov dword [esi + 0x6768], ebx
call fcn.004158a0
pop ebx
pop edi
pop esi
add esp, 0x224
ret

Function at 0x46aac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x46ab36
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x46ab54.21
xor ecx, ecx
mov cl, byte [eax + 0x46abdc]
jmp dword [ecx*4 + 0x46abcc]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ab54.21
mov eax, dword [0x5884f4]
test eax, eax
je case.0x46ab54.21
push 1
push 1
mov ecx, esi
call fcn.00415cf0
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004158a0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x46ab54.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x46ab54.21
xor ecx, ecx
mov cl, byte [eax + 0x46ac60]
jmp dword [ecx*4 + 0x46ac50]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.004158a0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x46ab54.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004158a0
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ab54.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.004158a0
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.00415cf0
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
Function at 0x46b030
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push edx
push edx
push 0x1a
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.ExtSmartWiz
push str.ExtSmartWiz
lea ecx, [esp + 0x10]
push str.360SE
push ecx
push str._s_s_apps_s_s.dll
lea edx, [esp + 0x224]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov edx, dword [0x5258f0]
lea eax, [esp + 0x210]
push esi
push eax
mov eax, dword [0x5258f4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x5258f8]
mov dword [ecx + 4], eax
mov eax, dword [0x5258fc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x8cf0]
call fcn.00495980
pop edi
pop esi
add esp, 0x410
ret

Function at 0x46b9e0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.0051d7f0
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0046ace0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x46bac4
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x46ba35
mov ecx, esi
call fcn.0046ace0
push eax
call fcn.00477c80
add esp, 4
test eax, eax
je 0x46ba76
jmp 0x46ba71
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x56e1d0
push 0x56e1d0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x46ba76
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x46bac4
cmp word [0x56e88c], 0
jne 0x46baa8
mov eax, dword [0x58e228]
push 0x104
push 0x56e88c
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x56e88c
push 0x78
call fcn.0049bcd0
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x46bbb0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
mov edi, ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x46bbf6
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46bc8f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x56e1d0
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x46bc8f
cmp word [esp + 0x10], 0x22
jne 0x46bc3f
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x46bc54
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x46bc6c
mov word [eax], 0
push 5
lea eax, [edi + 0x4708]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46bc98
push 2
mov ecx, edi
call fcn.0046bcb0
pop edi
pop esi
add esp, 0x210
ret
Function at 0x46dd60
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x46ddc0
mov ecx, dword [edi + 0xb330]
test ecx, ecx
jne 0x46dd79
xor eax, eax
jmp 0x46dd84
mov eax, dword [edi + 0xb334]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x46ddc0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xb330]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x46ddb2
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x46ddbb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x46dd97
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x46e3e0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push 0x56e274
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x46e44b
push 0x56e274
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.00478d90
push 1
push 2
push 9
call fcn.00478d60
push 1
push 2
push 0xf
call fcn.00478d60
push 0
push 2
push 5
call fcn.00478d60
push 1
push 2
push 0xa
call fcn.00478d60
push 0
call fcn.00478d90
mov dword [0x59f7bc], 1
call fcn.00450e60
add esp, 0x248
ret

Function at 0x46e970
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x46e99a
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46e99a
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x46e9a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x46ea60
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x57cb14]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x46ea79
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46eb68
cmp word [esi], 0
je 0x46eb68
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46eb68
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call fcn.0046eb70
mov edi, eax
test edi, edi
jne 0x46eacc
pop edi
pop esi
pop ecx
ret 4
mov edx, dword [esp + 8]
inc edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x46eaf9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46eaf1
push eax
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00481e10
add esp, 8
test eax, eax
jle 0x46eb43
push 1
push 8
push str.SWITCH_
push eax
push esi
push esi
call fcn.0041dff0
push esi
push 0x57cb14
call fcn.00495d60
add esp, 0x20
push esi
call fcn.0051d79a
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x46eb5d
push eax
call fcn.0051d79a
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x46eb70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
je 0x46ec51
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x46ec51
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46ec51
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esi], eax
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp], edi
jne 0x46ebe2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esi]
xor eax, eax
inc ecx
push 0
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46ec33
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x46ec33
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebp]
test eax, eax
je 0x46ec4a
push eax
call fcn.0051d79a
add esp, 4
mov dword [ebp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x477a20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5884f8]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x477a4c
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x477a8d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x477aa0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5884f8]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x477acf
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x477b3d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push str.AutoDetect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x478a70
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d18
push 0x51d85e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.0051d7f0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [eax + eax]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push str.file:__
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
call edi
cmp eax, esi
jne 0x478b18
push str.file:__
push 0x53a4a4
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.res:__
push esi
call edi
cmp eax, esi
jne 0x478b53
push str.res:__
push 0x53a4a4
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x54]
push edx
push 0x10000000
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x478c2e
mov word [ebp - 0x109c], di
mov ecx, 0x411
lea edi, [ebp - 0x109a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push str.http:___s
push 0x823
lea eax, [ebp - 0x109c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
lea edx, [ebp - 0x109c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x478c2e
lea ecx, [ebp - 0x109c]
push ecx
push 0x53a4a4
mov edx, dword [ebp + 0x10]
dec edx
push edx
push ebx
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x478bf7
cmp word [ebx], 0
je 0x478bf7
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479270
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov edi, 1
push 0
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x479369
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x479369
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x47935c
mov eax, dword [esi + 8]
test eax, eax
je 0x47935c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47935c
mov eax, dword [0x57cb38]
test eax, eax
jne 0x47933a
push 0x558108
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47931e
push 0x558108
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x479331
push str.IsUrlCacheEntryExpiredW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57cb38], eax
jmp 0x479336
mov eax, dword [0x57cb38]
test eax, eax
je 0x47935c
lea ecx, [esi + 0x28]
push ecx
push 0
push ebp
call eax
test eax, eax
jne 0x47935c
push esi
xor edi, edi
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x14]
push esi
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x479960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
push ebx
mov ebx, ecx
push esi
push 0x43e
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
lea ecx, [esp + 8]
mov esi, eax
push ecx
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x14], 0
call fcn.0040ea80
mov eax, dword [esp + 0x14]
add esp, 0xc
xor edx, edx
cmp esi, 1
setne dl
mov esi, edx
cmp esi, eax
je 0x479a47
push edi
push esi
push str.NotJoinPrivate
push str.option
call fcn.0040ec00
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x14]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push str.360se360se.ini
lea edx, [esp + 0x21c]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test esi, esi
pop edi
mov eax, 0x53aecc
jne 0x479a2e
mov eax, 0x53aee4
lea ecx, [esp + 0x214]
push ecx
push eax
push str.NotJoinPrivate
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
pop ebx
add esp, 0x414
ret
Function at 0x47e380
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push esi
push str.MEDIASAVER_PROC
push eax
mov dword [esi + 0x1060], eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47e3b7
push eax
mov eax, dword [esi + 0x1060]
push 0xb6
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esi + 0x1060]
push 0x434
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [0x56e23c]
test eax, eax
jne 0x47e3ed
push 1
push 0x9051
mov dword [0x56e23c], 0x9051
call fcn.004c25d0
add esp, 8
mov edx, dword [0x56e23c]
mov eax, dword [0x588e5c]
push 0x280000
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e418
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4