joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4097f0
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.00464780
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.00464780
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 0x40a870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df7d8
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.004ab030
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.00474390
lea ecx, [esi + 0x30]
xor eax, eax
mov dword [esi], 0x4e5c90
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 0x40a970
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 [0x50fd54]
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 0x40a9c4
xor eax, eax
mov ecx, 0x8400004c
test edi, edi
mov edx, 0x8000080
mov edi, 0x50fd10
jne 0x40a9c8
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.004ab120
mov eax, dword [esi + 4]
test eax, eax
je 0x40aa0e
mov ecx, dword [esi + 0x50]
test ecx, ecx
jne 0x40aa0e
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40aa0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aa0e
push 0
push 9
mov ecx, esi
call fcn.0040b110
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x40aa20
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 0x40b220
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 0x40b26f
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.0040b2d0
test eax, eax
jne 0x40b299
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 0x40ba20
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 0x40bbc4
dec eax
je 0x40bae3
dec eax
jne 0x40bbeb
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.00468f80
mov ecx, eax
call fcn.004692c0
test eax, eax
je 0x40bbeb
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 0x40bbf2
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.00468f80
mov ecx, eax
call fcn.004692c0
test eax, eax
je 0x40bbeb
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 0x40bbeb
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 0x40bb7a
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.0040c3e0
test eax, eax
je 0x40bbeb
mov dword [esp + 0x10], 1
jmp 0x40bbf2
push edi
push esi
push ebp
push ebx
push edx
mov dword [esi + 0x55d0], edx
mov dword [esi + 0x55d4], 0xffffffff
call fcn.004425c0
add esp, 0x14
mov dword [esp + 0x10], 1
jmp 0x40bbf2
mov ecx, esi
call fcn.0040e3c0
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 0x40bc31
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 0x40e6c0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.0040e070
cmp dword [esi + 0x5638], 2
jne 0x40e6ed
mov eax, dword [esi + 0x55d0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.0040e3a0
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 0x40e718
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 0x40e737
mov edx, dword [esi + 0x5630]
push edx
call fcn.00468f80
mov ecx, eax
call fcn.00469310
mov ecx, esi
call fcn.0040e3a0
pop esi
ret

Function at 0x410c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df8cb
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 0x410c40
mov ecx, eax
call fcn.0040b370
mov esi, eax
jmp 0x410c42
xor esi, esi
mov eax, dword [0x6b7658]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x410c60
mov eax, dword [0x6b765c]
mov ecx, esi
push eax
call fcn.0040fe50
mov eax, dword [esp + 0x28]
test eax, eax
je 0x410c6e
mov dword [esi + 0x5634], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
push ecx
push edi
call fcn.00468f80
mov ecx, eax
call fcn.004692a0
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.0040ba20
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x411680
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x57ad40
call fcn.004119c0
push 0x40
push 0x4e5ce0
push 0x57ad40
push 0x57ad40
call fcn.004118e0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41170b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4f7274]
mov ecx, 8
mov esi, eax
mov edi, 0x57ad20
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00411820
mov ecx, dword [0x4f7270]
mov edx, dword [0x4f7274]
push 0x20
push ecx
push edx
call fcn.00411930
mov edi, dword [0x4f7270]
add esp, 0x14
mov ecx, 8
mov esi, 0x57ad20
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4116bf
jmp 0x411764
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4f7270]
mov ecx, 8
mov esi, eax
mov edi, 0x57ad20
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00411820
mov ecx, dword [0x4f7274]
mov edx, dword [0x4f7270]
push 0x20
push ecx
push edx
call fcn.00411930
mov edi, dword [0x4f7274]
add esp, 0x14
mov ecx, 8
mov esi, 0x57ad20
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41171a
push 0x40
push 0x4e5d20
push 0x57ad40
push 0x57ad40
call fcn.004118e0
mov eax, dword [esp + 0x24]
push 0x40
push 0x57ad40
push eax
call fcn.00411a00
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4117a0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x57ace0
call fcn.004119c0
push 0x38
push str.91__
push 0x57ace0
push 0x57ace0
call fcn.004118e0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4e5e18]
mov edx, dword [0x4f7278]
push ecx
push 0x1c
push edx
call fcn.00411960
movsx eax, byte [esi + 0x4e5e18]
mov ecx, dword [0x4f727c]
push eax
push 0x1c
push ecx
call fcn.00411960
push 0x30
push 0x4e5de8
push 0x57ace0
push edi
call fcn.004118e0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4117d2
pop edi
pop esi
ret

Function at 0x411820
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4e5d60
push esi
push 0x57acb0
call fcn.004118e0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x57acb0
call fcn.00411930
push 0x57acb0
push esi
call fcn.00411870
push 0x20
push 0x4e5d90
push esi
push esi
call fcn.004118e0
add esp, 0x34
pop esi
ret

Function at 0x411930
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x411952
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x411944
pop ebx
pop esi
ret
Function at 0x412520
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 0x50fd10
push str.XWnd
push 0
mov ecx, esi
call fcn.004ab120
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.00464780
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.00440c20
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00441110
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.00464780
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.00440c20
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00441110
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x4126d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x4126f0
call fcn.00412650
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 0x4137b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.00414520
mov esi, dword [esp + 0x214]
test eax, eax
jne 0x41384b
push 0
push str._tp:
mov ecx, 0x50fd18
call fcn.004069d0
push eax
call fcn.00433530
add esp, 0xc
cmp eax, 2
je 0x41384b
mov ax, word [0x50fd10]
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 0x4f685c
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 0x50fd6c
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
jbe 0x4138b5
test esi, esi
je 0x413859
mov dword [0x6b4098], 1
call fcn.00414970
push esi
call fcn.00413a70
push esi
call fcn.00413e90
push esi
call fcn.00413bb0
push esi
call fcn.00414250
push esi
call fcn.00414840
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 0x413a70
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x50fd10]
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 0x413b62
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x51017c
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x51017c
push 1
push 0x50fd10
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x51017c
push str.SOFTWAREClientsStartMenuInternet
push 0x4f789c
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push 0x4f7878
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push 0x4f7878
push 1
push 0x50fd10
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x51017c
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x50fd6c
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x50fd6c
push 1
push 0x50fd10
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x413b8f
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 0x50fd10
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 0x413bb0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5e8070]
sub esp, 0x22c
test eax, eax
je 0x413d90
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x413bdf
mov ebp, str.TheWorldURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x413bf1
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], 0x4f6d48
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 0x413cc2
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 0x413d26
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 0x413dc0
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 0x50fd10
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 0x50fd10
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 0x50fd10
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 0x414970
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.00470500
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.00413da0
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x4f789c
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 0x50fd10
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.00413dc0
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.00413dc0
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.00413dc0
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 0x414aa0
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 0x414b2c
cmp word [esp + 8], ax
je 0x414b2c
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 0x414b2c
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret