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

Disassembly:
sub esp, 0x628
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
call fcn.00402e30
mov esi, eax
xor ebp, ebp
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], esi
je 0x41c0e2
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x41c0e2
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.004329a0
test eax, eax
je 0x41c0e1
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 0x41bfd3
lea eax, [esp + 0x20]
push 0x103
push eax
call fcn.004290a0
lea ecx, [esp + 0x430]
push 0x103
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00428fc0
jmp 0x41c074
cmp word [esp + 0x228], bp
je 0x41c074
lea edx, [esp + 0x228]
push ebp
push edx
mov ecx, esi
call fcn.00429cb0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push esi
call edi
test eax, eax
jne 0x41c015
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push 1
push eax
call fcn.00429cb0
mov esi, eax
push esi
call edi
test eax, eax
je 0x41c070
lea ecx, [esp + 0x430]
push 0x103
push ecx
push esi
call fcn.00439220
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 0x41c066
mov cx, word [edx + eax]
cmp cx, bp
je 0x41c066
mov word [eax], cx
add eax, 2
dec esi
jne 0x41c048
jmp 0x41c06a
cmp esi, ebp
jne 0x41c06d
sub eax, 2
mov word [eax], bp
mov esi, dword [esp + 0x10]
cmp word [esp + 0x20], bp
je 0x41c0d8
cmp word [esp + 0x430], bp
je 0x41c0d8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x200
jge 0x41c0e1
cmp eax, ebp
jne 0x41c0b1
lea edx, [esp + 0x430]
lea eax, [esp + 0x20]
push edx
push eax
push 0x50d5a8
push 0x1ff
push ebx
jmp 0x41c0cf
lea ecx, [esp + 0x430]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x1ff
push edx
sub ecx, eax
push 0x50d598
lea edx, [ebx + eax*2]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
inc dword [esp + 0x18]
jmp 0x41bf2f
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 0x41c2f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [esp + 0x21c]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
ja case.default.0x41c316
jmp dword [eax*4 + 0x41c4cc]
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.0040a7a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, ecx
add esp, 0x10
sub eax, edx
js 0x41c38b
cmp eax, 0x5460
jle case.default.0x41c316
push ecx
push str.LastCheckUpdate
push str.Main
mov ebx, 0x53ada0
call fcn.0040a920
add esp, 0xc
jmp 0x41c44b
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 0x41c44b
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 0x50d600
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne case.default.0x41c316
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x7d0
push eax
push 0x50d5fc
push str.flag
push 0x50d600
mov ebx, str._v3_update_only_update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp ebx, ebp
je case.default.0x41c316
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.00438f20
add esp, 0x18
test eax, eax
je case.default.0x41c316
lea eax, [esp + 0x20]
push eax
call fcn.0049c4c0
add esp, 4
test eax, eax
je case.default.0x41c316
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.00448fa0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x41c590
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 0x41c5d1
mov eax, 0x103
jmp 0x41c5d8
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.00438f20
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x41c629
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c629
test al, 0x10
jne 0x41c629
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 0x41c710
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 0x50c6a4
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00438f20
add esp, 0x1c
test eax, eax
je 0x41c7a3
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push esi
push 0x41c7b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41c7a3
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 0x41cb10
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 0x41cba5
push 0
push str.seupdr.dat
mov ecx, 0x53adc0
call fcn.00408460
test eax, eax
je 0x41cb9c
push 0x50d6fc
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41cb9c
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.004f3f00
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.004f3eca
add esp, 4
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41cdd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.004a6420
test eax, eax
jne 0x41ce6d
push eax
push str._tp:
mov ecx, 0x53adc0
call fcn.00406e70
push eax
call fcn.00447280
add esp, 0xc
cmp eax, 2
je 0x41ce6d
mov ax, word [0x53ada0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0xc]
push ecx
push 0x50c448
push 2
push str._tp:
push str._s_d__s_d
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea eax, [esp + 0xc]
push 5
push 0
push eax
push 0x53ae24
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x20c
ret
mov esi, dword [esp + 0x214]
test esi, esi
je 0x41ce96
push 1
push 0x50d788
push 0x50c394
mov dword [0x5ce2f8], 1
call fcn.0040a920
add esp, 0xc
push esi
push 0x50d768
push 0x50c394
mov dword [0x5ce2fc], esi
call fcn.0040a920
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041e250
push esi
call fcn.0041d110
push esi
call fcn.0041d530
push esi
call fcn.0041cf40
push esi
call fcn.0041d250
push esi
call fcn.0041d940
add esp, 0x14
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
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, dword [0x5b8078]
test eax, eax
je 0x41cf32
test esi, esi
je 0x41cf2d
call fcn.004a6b40
pop esi
add esp, 0x20c
ret
call fcn.004a6b50
pop esi
add esp, 0x20c
ret

Function at 0x41cf40
Capabilities:
Delete registry key
Set registry value

Disassembly:
call fcn.004a4800
test eax, eax
je 0x41cfe9
mov eax, dword [esp + 4]
test eax, eax
je 0x41cfd9
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
push str.360seURL
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push str.360seURL
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_ftpUserChoice
push SysReAllocStringLen
call edi
push str.360seURL
call esi
add esp, 4
shl eax, 1
push eax
push str.360seURL
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocStringLen
call edi
push str.360seURL
call esi
add esp, 4
shl eax, 1
push eax
push str.360seURL
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
push SysReAllocStringLen
call edi
pop edi
pop esi
ret
push str.SoftwareMicrosoftWindowsShellAssociations
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
ret
Function at 0x41d110
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x53ada0]
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 0x41d202
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x53b234
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x53b234
push 1
push 0x53ada0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x53b234
push str.SOFTWAREClientsStartMenuInternet
push 0x50dabc
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 0x53ada0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x53b234
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x53ae24
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x53ae24
push 1
push 0x53ada0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x41d22f
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 0x53ada0
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 0x41d250
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5b8070]
sub esp, 0x22c
test eax, eax
je 0x41d430
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x41d27f
mov ebp, str.360seURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x41d291
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], 0x50ccb8
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 0x41d362
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 0x41d3c6
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 0x41d460
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 0x53ada0
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 0x53ada0
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 0x53ada0
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 0x41e250
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.004a5540
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.0041d440
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x50dabc
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.0041d460
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.0041d460
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.0041d460
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 0x41e360
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 0x41e3ec
cmp word [esp + 8], ax
je 0x41e3ec
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 0x41e3ec
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x41e580
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.0041e360
add esp, 0x10
test eax, eax
je 0x41e5c5
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 0x41e5d0
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 0x53ada0
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 0x53ada0
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 0x53ada0
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 0x41eb80
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 0x41ec15
cmp word [esp + 8], ax
je 0x41ec15
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
lea eax, [esp + 8]
push eax
push 0x50c180
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 0x41f3f0
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 0x41f4dc
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x41f4ae
cmp eax, 4
je 0x41f4ae
cmp eax, 1
jne 0x41f4dc
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 0x41f4f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x41f500
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 0x41f53f
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.004240b0
test eax, eax
pop edi
jne 0x41f54e
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 0x41f595
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x41f940
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