joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096f0
Capabilities:
Delete directory
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 0x28]
push 0
push 0x3f0
push eax
mov dword [esi + 0x30], 0
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xc36a
call fcn.00465020
mov ecx, dword [esi + 0x28]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 1
push ecx
call ebp
push 0xc367
call fcn.00465020
mov edx, dword [esi + 0x28]
add esp, 4
push eax
push 0x42e
push edx
call ebp
mov eax, dword [esi + 0x28]
push 5
push 1
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x28]
push 1
push 1
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 0x62ac8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40a710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dfb88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004ab390
xor eax, eax
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.00474780
lea ecx, [esi + 0x30]
xor eax, eax
mov dword [esi], 0x4e5ca0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40a810
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [0x50fd24]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [esi + 0x50]
mov ecx, 0x4600004c
test edi, edi
mov edx, 0x80
mov eax, 0xfffffffd
je 0x40a864
xor eax, eax
mov ecx, 0x8400004c
test edi, edi
mov edx, 0x8000080
mov edi, 0x50fce0
jne 0x40a868
mov edi, dword [esp + 0x18]
push 0
push eax
push ebx
push ecx
push edi
push str.Container
push edx
mov ecx, esi
call fcn.004ab480
mov eax, dword [esi + 4]
test eax, eax
je 0x40a8ae
mov ecx, dword [esi + 0x50]
test ecx, ecx
jne 0x40a8ae
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40a8ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40a8ae
push 0
push 9
mov ecx, esi
call fcn.0040afb0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x40a8c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x40b0c0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push edi
mov eax, dword [esi + 0x2c]
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esi + 4]
push 0x80
push 0xffffffffffffffec
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, eax
push 1
push edi
push ebx
call ebp
test eax, eax
je 0x40b10f
push 0
push edi
push ebx
call ebp
mov eax, dword [esi + 4]
push 0x8000080
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.0040b170
test eax, eax
jne 0x40b139
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40b8c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
mov esi, ecx
mov eax, dword [esp + 0x44]
mov ecx, edi
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
and ecx, 2
xor edx, edx
mov dword [esi + 0x561c], ecx
mov ecx, edi
and ecx, 1
mov dword [esi + 0x5638], eax
mov dword [esi + 0x5620], ecx
mov ecx, dword [esp + 0x4c]
sub eax, edx
mov dword [esp + 0x10], edx
mov dword [esi + 0x55c4], ebx
mov dword [esi + 0x55c8], ebp
mov dword [esi + 0x5628], edi
mov dword [esi + 0x5630], ecx
je 0x40ba64
dec eax
je 0x40b983
dec eax
jne 0x40ba8b
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], edx
push eax
mov dword [esp + 0x24], edx
push edi
lea edx, [esp + 0x1c]
push 2
push edx
push esi
push ebp
push ebx
push ecx
call fcn.00469810
mov ecx, eax
call fcn.00469b50
test eax, eax
je 0x40ba8b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 1
mov dword [esi + 0x55d0], eax
mov dword [esi + 0x55d4], ecx
jmp 0x40ba92
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x20], edx
push edi
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1c]
push 1
push edx
push esi
push ebp
push ebx
push ecx
call fcn.00469810
mov ecx, eax
call fcn.00469b50
test eax, eax
je 0x40ba8b
push 2
lea eax, [esi + 0x55d0]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x40ba8b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x55d4], ecx
test eax, eax
mov dword [esi + 0x55dc], edx
je 0x40ba1a
mov eax, dword [esi + 0x55d0]
push 0x2710
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor ecx, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
push 0x14
mov dword [esp + 0x2c], ecx
push edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0x226
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ecx
mov ecx, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
call fcn.0040c280
test eax, eax
je 0x40ba8b
mov dword [esp + 0x10], 1
jmp 0x40ba92
push edi
push esi
push ebp
push ebx
push edx
mov dword [esi + 0x55d0], edx
mov dword [esi + 0x55d4], 0xffffffff
call fcn.00442ec0
add esp, 0x14
mov dword [esp + 0x10], 1
jmp 0x40ba92
mov ecx, esi
call fcn.0040e260
mov eax, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
lea edx, [esp + 0x44]
push eax
push ecx
push edx
push str.IEFontSize
push str.SoftwareMicrosoftInternet_ExplorerInternationalScripts3
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40bad1
mov eax, dword [esp + 0x48]
mov dword [esi + 0x5604], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
Function at 0x40e560
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.0040df10
cmp dword [esi + 0x5638], 2
jne 0x40e58d
mov eax, dword [esi + 0x55d0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.0040e240
pop esi
ret
mov ecx, dword [esi + 0x55d8]
push edi
push ecx
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x40e5b8
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x5638]
pop edi
cmp eax, 1
jne 0x40e5d7
mov edx, dword [esi + 0x5630]
push edx
call fcn.00469810
mov ecx, eax
call fcn.00469ba0
mov ecx, esi
call fcn.0040e240
pop esi
ret

Function at 0x410a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dfc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x5648
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x410ad0
mov ecx, eax
call fcn.0040b210
mov esi, eax
jmp 0x410ad2
xor esi, esi
mov eax, dword [0x6b7658]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x410af0
mov eax, dword [0x6b765c]
mov ecx, esi
push eax
call fcn.0040fcf0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x410afe
mov dword [esi + 0x5634], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
push ecx
push edi
call fcn.00469810
mov ecx, eax
call fcn.00469b30
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push edi
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0040b8c0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x411e80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44
lea edx, [esp + 0x10]
push edi
push edx
push 0x44000000
push 0x50fce0
push str.XWnd
push 0
mov ecx, esi
call fcn.004ab480
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.00465020
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x44]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x52c], eax
call fcn.00441550
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00441a40
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.00465020
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2b8]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x530], eax
call fcn.00441550
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00441a40
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x412030
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x412050
call fcn.00411fb0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x413110
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.00413e80
mov esi, dword [esp + 0x214]
test eax, eax
jne 0x4131ab
push 0
push str._tp:
mov ecx, 0x50fce8
call fcn.004068e0
push eax
call fcn.00434250
add esp, 0xc
cmp eax, 2
je 0x4131ab
mov ax, word [0x50fce0]
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 0x4f6850
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 0x50fd3c
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
jbe 0x413215
test esi, esi
je 0x4131b9
mov dword [0x6b4098], 1
call fcn.004142d0
push esi
call fcn.004133d0
push esi
call fcn.004137f0
push esi
call fcn.00413510
push esi
call fcn.00413bb0
push esi
call fcn.004141a0
add esp, 0x14
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]
pop esi
add esp, 0x20c
ret
Function at 0x4133d0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x50fce0]
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 0x4134c2
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x51014c
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x51014c
push 1
push 0x50fce0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x51014c
push str.SOFTWAREClientsStartMenuInternet
push 0x4f76fc
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push str.TheWorld_Browser
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push str.TheWorld_Browser
push 1
push 0x50fce0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x51014c
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x50fd3c
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x50fd3c
push 1
push 0x50fce0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x4134ef
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 0x50fce0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x413510
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5e8040]
sub esp, 0x22c
test eax, eax
je 0x4136f0
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x41353f
mov ebp, str.ELvesURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x413551
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 reloc.DSOUND.dll_DirectSoundCreate
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 reloc.DSOUND.dll_DirectSoundCreate
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 reloc.DSOUND.dll_DirectSoundCreate
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 reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x3c], 0x4f6d3c
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 reloc.DSOUND.dll_DirectSoundCreate
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 reloc.DSOUND.dll_DirectSoundCreate
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x413622
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 reloc.DSOUND.dll_DirectSoundCreate
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 reloc.DSOUND.dll_DirectSoundCreate
call ebx
add edi, 4
dec ebp
jne 0x413686
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 0x413720
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 0x50fce0
push ebp
push SysReAllocString
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 0x50fce0
push edx
push SysReAllocString
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 0x50fce0
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x4142d0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.004709e0
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.00413700
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x4f76fc
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]
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 0x50fce0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 8]
push eax
push str.open
push str.htmlfile_shell
call fcn.00413720
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.00413720
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.00413720
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x24
push str.TheWorld.HTTP
push SysReAllocString
call esi
push str.TheWorld.AssocFile.HTM
push SysReAllocString
call esi
push str.TheWorld.AssocFile.MHT
push SysReAllocString
call esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x414400
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 0x41448c
cmp word [esp + 8], ax
je 0x41448c
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 0x41448c
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
Function at 0x4148b0
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, 0x914
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 0x414992
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x41496e
cmp eax, 4
je 0x41496e
cmp eax, 1
jne 0x414992
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x2448], ecx
mov dword [esi + 0x244c], ecx
mov cx, word [esp + 0x20]
pop edi
mov word [esi], cx
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x4149a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4149b0
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esi + 0x5d4d8]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x4149ef
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 + 0x2688], eax
mov ecx, esi
call fcn.00419490
test eax, eax
pop edi
jne 0x4149fe
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 + 0x245c], eax
je 0x414a45
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x414de0
push 0
push 0
mov dword [esi + 0x5d0a4], 8
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x415ad0
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26d4]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x415b5d
mov eax, dword [edi + 0x2474]
test eax, eax
je 0x415b8b
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2478]
mov eax, dword [edi + 0x2474]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x415b46
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov eax, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x415b95
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x415b76
mov eax, dword [esi + 4]
test eax, eax
je 0x415b76
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00417130
test eax, eax
je 0x415b95
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4