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

Disassembly:
sub esp, 0x628
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
call fcn.00406200
mov esi, eax
xor ebp, ebp
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], esi
je 0x422e42
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x422e42
push edi
mov ecx, 0x100
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x228]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push 0x103
push ecx
push edx
mov ecx, esi
call fcn.00439850
test eax, eax
je 0x422e41
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
mov word [esp + 0x430], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
stosw word es:[edi], ax
je 0x422d33
lea eax, [esp + 0x20]
push 0x103
push eax
call fcn.0042f3d0
lea ecx, [esp + 0x430]
push 0x103
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0042f2f0
jmp 0x422dd4
cmp word [esp + 0x228], bp
je 0x422dd4
lea edx, [esp + 0x228]
push ebp
push edx
mov ecx, esi
call fcn.00430070
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push esi
call edi
test eax, eax
jne 0x422d75
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push 1
push eax
call fcn.00430070
mov esi, eax
push esi
call edi
test eax, eax
je 0x422dd0
lea ecx, [esp + 0x430]
push 0x103
push ecx
push esi
call fcn.0043f930
lea edx, [esp + 0x234]
lea ecx, [esp + 0x2c]
add esp, 0xc
mov esi, 0x104
lea eax, [esp + 0x20]
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x422dc6
mov cx, word [edx + eax]
cmp cx, bp
je 0x422dc6
mov word [eax], cx
add eax, 2
dec esi
jne 0x422da8
jmp 0x422dca
cmp esi, ebp
jne 0x422dcd
sub eax, 2
mov word [eax], bp
mov esi, dword [esp + 0x10]
cmp word [esp + 0x20], bp
je 0x422e38
cmp word [esp + 0x430], bp
je 0x422e38
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x200
jge 0x422e41
cmp eax, ebp
jne 0x422e11
lea edx, [esp + 0x430]
lea eax, [esp + 0x20]
push edx
push eax
push str._s__s
push 0x1ff
push ebx
jmp 0x422e2f
lea ecx, [esp + 0x430]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x1ff
push edx
sub ecx, eax
push 0x53bd20
lea edx, [ebx + eax*2]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
inc dword [esp + 0x18]
jmp 0x422c8f
pop edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x638]
push ebx
push eax
mov edx, dword [ecx + 4]
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
pop ebx
add esp, 0x628
ret 4
Function at 0x423080
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [esp + 0x21c]
push ebx
push ebp
xor ebp, ebp
xor ebx, ebx
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
ja case.default.0x4230a8
jmp dword [eax*4 + 0x423264]
mov eax, dword [esi + 4]
push ebp
push 0x7530
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push edx
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCRT.dll_time]
lea eax, [esp + 0x20]
push eax
push str.LastCheckUpdate
push str.Main
call fcn.0040ea80
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, ecx
add esp, 0x10
sub eax, edx
js 0x423119
cmp eax, 0x5460
jle 0x423131
push ecx
push str.LastCheckUpdate
push str.Main
mov ebx, 0x56e1d0
call fcn.0040ec00
add esp, 0xc
call fcn.004c0400
mov ecx, eax
call fcn.004c04b0
jmp 0x4231e5
mov ecx, dword [esi + 4]
push 1
push ecx
mov dword [esp + 0x20], 5
mov ebx, str._manual
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4231e5
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x438]
lea ecx, [esp + 0x20]
push eax
push str._sv3update_v3update.ini
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x20]
push edx
push ebp
push str.flag
push 0x53bd88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne case.default.0x4230a8
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x7d0
push eax
push 0x53bd84
push str.flag
push 0x53bd88
mov ebx, str._v3_update_only_update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp ebx, ebp
je case.default.0x4230a8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
add esi, 0x230
lea ecx, [esp + 0x20]
push esi
push str._sseup.exe
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.0043f630
add esp, 0x18
test eax, eax
je case.default.0x4230a8
lea eax, [esp + 0x20]
push eax
call fcn.004ae180
add esp, 4
test eax, eax
je case.default.0x4230a8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push 1
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00451bc0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x423340
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
lea esi, [edx + 0x438]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call edi
add esp, 4
dec eax
cmp eax, 0x103
jbe 0x423381
mov eax, 0x103
jmp 0x423388
push esi
call edi
add esp, 4
dec eax
push eax
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0043f630
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x4233d9
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4233d9
test al, 0x10
jne 0x4233d9
lea eax, [esp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x208
ret

Function at 0x4234d0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push str.pluginbar.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x230]
lea ecx, [esp + 0x10]
push eax
push 0x53ac6c
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0043f630
add esp, 0x1c
test eax, eax
je 0x423563
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push esi
push 0x423570
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x423563
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x423890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x423925
push 0
push str.seupdr.dat
mov ecx, 0x56e210
call fcn.0040c500
test eax, eax
je 0x42391c
push 0x53be64
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42391c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0051d7f0
mov eax, dword [ebp + 8]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push 1
push eax
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call fcn.0051d79a
add esp, 4
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x423bb0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push esi
mov dword [esp + 4], eax
push edx
lea eax, [esp + 8]
push 0
push eax
push 0x423c10
push 0
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x423c04
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0xc
ret

Function at 0x423d50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
push esi
call fcn.00423c40
add esp, 4
test eax, eax
je 0x423db3
test esi, esi
je 0x423d8d
push 1
push str.CheckDefault
push 0x53a9a8
mov dword [0x59e2fc], 1
call fcn.0040ec00
add esp, 0xc
push esi
push str.DefaultBrowser
push 0x53a9a8
mov dword [0x59e300], esi
call fcn.0040ec00
add esp, 0xc
mov eax, 1
pop esi
add esp, 0x20c
ret
call fcn.004c24f0
test eax, eax
jne 0x423e44
push eax
push str._tp:
mov ecx, 0x56e210
call fcn.0040aec0
push eax
call fcn.0044fd20
add esp, 0xc
cmp eax, 2
je 0x423e44
mov ax, word [0x56e1d0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
push esi
push 0x53aa2c
push 2
push str._tp:
push str._s_d__s_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea edx, [esp + 0xc]
push 5
push 0
push edx
push 0x56e274
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
test esi, esi
je 0x423e66
push 1
push str.CheckDefault
push 0x53a9a8
mov dword [0x59e2fc], 1
call fcn.0040ec00
add esp, 0xc
push esi
push str.DefaultBrowser
push 0x53a9a8
mov dword [0x59e300], esi
call fcn.0040ec00
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00425150
push esi
call fcn.00424010
push esi
call fcn.00424430
push esi
call fcn.00424150
push esi
call fcn.00424840
add esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
pop esi
add esp, 0x20c
ret
Function at 0x424010
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x56e1d0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x210]
test eax, eax
je 0x424102
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x56e684
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x56e684
push 1
push 0x56e1d0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x56e684
push str.SOFTWAREClientsStartMenuInternet
push 0x53c0b0
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push str.360SE_Browser
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push str.360SE_Browser
push 1
push 0x56e1d0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x56e684
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x56e274
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x56e274
push 1
push 0x56e1d0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x42412f
push str.IEXPLORE.EXE
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.IEXPLORE.EXE
push 1
push 0x56e1d0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x424150
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5884f4]
sub esp, 0x22c
test eax, eax
je 0x424330
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x42417f
mov ebp, str.360seURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x424191
mov ebp, str.htmlfile
mov dword [esp + 0x10], str.mhtmlfile
mov edi, str.IE.HTTP
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call esi
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_ftpUserChoice
push SysReAllocStringLen
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocStringLen
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
push SysReAllocStringLen
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], str..htm
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push SysReAllocStringLen
mov dword [esp + 0x3c], str..html
mov dword [esp + 0x40], str..shtm
mov dword [esp + 0x44], str..shtml
mov dword [esp + 0x30], str..mht
mov dword [esp + 0x34], str..mhtml
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebp
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
push ebp
push 1
push str.Progid
push ecx
push SysReAllocStringLen
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x424262
lea edi, [esp + 0x1c]
mov ebp, 2
mov edx, dword [edi]
lea eax, [esp + 0x34]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push str.Progid
push ecx
push SysReAllocStringLen
call ebx
add edi, 4
dec ebp
jne 0x4242c6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret
Function at 0x424360
Capabilities:
Set registry value

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
push edi
call ebx
mov ebp, dword [esp + 0x220]
add esp, 4
shl eax, 1
push eax
push edi
push 1
push 0x56e1d0
push ebp
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x18]
push str.opencommand
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x234]
push esi
call ebx
add esp, 0x14
lea edx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x56e1d0
push edx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push ebp
push str._s_scommand
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebx
add esp, 0x18
lea ecx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x56e1d0
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x425150
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.004c1610
mov edx, eax
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x104
push eax
push edx
call fcn.00424340
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x53c0b0
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [esp + 0x210]
push str.LocalizedString
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [esp + 8]
push eax
push str.open
push str.htmlfile_shell
call fcn.00424360
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.00424360
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.00424360
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x24
push str.TheWorld.HTTP
push SysReAllocStringLen
call esi
push str.TheWorld.AssocFile.HTM
push SysReAllocStringLen
call esi
push str.TheWorld.AssocFile.MHT
push SysReAllocStringLen
call esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x425260
Capabilities:
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
mov eax, dword [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x224]
push edx
mov edx, dword [esp + 0x224]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4252ec
cmp word [esp + 8], ax
je 0x4252ec
mov eax, dword [esp + 0x220]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4252ec
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x425490
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push eax
push edi
push ebx
push SysReAllocStringLen
call fcn.00425260
add esp, 0x10
test eax, eax
je 0x4254d5
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push edi
push ebx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
pop edi
pop ebx
ret
Function at 0x4254e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push edi
call ebx
mov ebp, dword [esp + 0x224]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x220]
push edi
push 1
push 0x56e1d0
push ebp
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [esp + 0x10]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x18]
push str.opencommand
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x238]
push esi
call ebx
mov ecx, dword [esp + 0x230]
add esp, 0x14
shl eax, 1
push eax
push esi
push 1
lea eax, [esp + 0x1c]
push 0x56e1d0
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push ebp
push str._s_scommand
lea edx, [esp + 0x1c]
push 0x104
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebx
mov ecx, dword [esp + 0x234]
add esp, 0x18
shl eax, 1
push eax
push esi
push 1
lea eax, [esp + 0x1c]
push 0x56e1d0
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x425cd0
Capabilities:
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
mov eax, dword [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x224]
push edx
mov edx, dword [esp + 0x224]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x425d65
cmp word [esp + 8], ax
je 0x425d65
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
lea eax, [esp + 8]
push eax
push 0x53a4a4
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
Function at 0x426540
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x48]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0x915
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
lea edx, [esi + 0x48]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x48]
mov eax, 0x800
mov dword [esp + 0x34], edx
lea ecx, [esi + 0x2148]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea edx, [esi + 0x2348]
mov eax, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 0x1048]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esi + 0x2048]
push eax
push edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x38], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42662c
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x4265fe
cmp eax, 4
je 0x4265fe
cmp eax, 1
jne 0x42662c
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x2448], ecx
mov dword [esi + 0x244c], ecx
mov cx, word [esp + 0x20]
mov dword [esi + 0x2450], 0xffffffff
mov word [esi], cx
pop edi
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x426640
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x426650
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esi + 0x5d4e0]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x42668f
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2690], eax
mov ecx, esi
call fcn.0042b200
test eax, eax
pop edi
jne 0x42669e
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x2460], eax
je 0x4266e5
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push fcn.00426a90
push 0
push 0
mov dword [esi + 0x5d0ac], 8
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ecx
ret