joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408df0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.005c76d0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e0]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x408e75
mov ecx, dword [esi + 0x4f4]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x408e89
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00404cf0
add esp, 0xc
jmp 0x408e89
mov edx, dword [esi + 0x4f4]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x4d0]
push eax
push 0x6a1fe8
push ecx
call fcn.005dc6eb
add esp, 0xc
mov ecx, esi
call fcn.004094e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409c40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x78]
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x98]
cmp ebx, dword [eax + 0x1c]
jge 0x409dd7
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x18]
lea ebx, [ebx + ebx*8]
shl ebx, 2
mov byte [ebp - 4], 1
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6a241c
push eax
call fcn.005dc6eb
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [esi + 0x5c]
push 0
push 0
push 0
push 0
push edx
push edi
push 1
call fcn.005dda57
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x98]
push 0x4411
lea edx, [ebp - 0x324]
push 0x160
mov ecx, dword [eax + 0x18]
push edx
push 0x80
mov eax, dword [ecx + ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp - 0x320]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x1006
push edx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebx + 8]
test eax, eax
mov eax, 0x6d1a54
jne 0x409d63
mov eax, 0x6d1a50
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
push 1
push edi
call fcn.005ddb52
mov edx, dword [esi + 0x98]
mov dword [ebp - 0x68], 2
lea ecx, [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov edx, dword [esi + 0x78]
push ecx
push edi
mov ebx, dword [eax + ebx]
push 0x1074
push edx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.005ddad9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e38b9
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x409c81
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a110
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f531b
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x40a228
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x40a228
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ebx, ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax + ebx + 4]
push edx
push edi
push 0xf003f
push edi
push 0x6d0ab8
push edi
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40a1ba
lea ecx, [esp + 0x20]
call fcn.0049fc40
push 1
push str.Cannot_open__create__registry_subkey_during_CBrowsersIntegration::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x240], edi
call fcn.0049fd60
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.0049fd50
jmp 0x40a200
mov ecx, dword [esi + 4]
xor eax, eax
mov edx, dword [ecx + ebx]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push 0x6a2778
push edx
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, dword [eax + ebx + 8]
mov eax, dword [esp + 0x18]
push 4
push 0
push 0x6a2774
push eax
mov dword [esp + 0x30], ecx
call ebp
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40a157
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, edi
pop ebx
je 0x40a228
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x40c420
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 0x14]
push 1
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c475
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.found
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c475
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40c484
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x40d2d0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
push ebp
push esi
push edi
push str.shell32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
je 0x40d328
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40d31c
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x40d316
mov edi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop ebx
jne 0x40d379
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d379
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push ebp
push eax
push eax
push str.Local_AppData
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d36e
mov edi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x40ecb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.005c7292
add esp, 4
test eax, eax
jle 0x40ecdb
mov ecx, esi
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x40ecc4
pop esi
ret
Function at 0x410b60
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f582c
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x12c
test eax, eax
je 0x410bf2
push 0
lea ecx, [esp + 0x18]
call fcn.004fd490
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0
call fcn.005df8b6
lea ecx, [esp + 0xe8]
mov dword [esp + 0x134], 3
call fcn.005eb3c5
lea ecx, [esp + 0xac]
mov byte [esp + 0x134], 2
call fcn.005de05d
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 1
call fcn.005eb3fd
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0xffffffff
call fcn.005df4f7
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x410c44
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x411990
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10c
add ecx, 4
push ebx
push ebp
push esi
push edi
push str.IEXPLORE
call fcn.0040c3c0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_accept
call ebp
test eax, eax
jne 0x411a63
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411a31
test ebx, ebx
je 0x411a58
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411a28
test cl, cl
je 0x411a24
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411a28
add eax, 2
add esi, 2
test cl, cl
jne 0x411a04
xor eax, eax
jmp 0x411a2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411a58
mov edi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x411b1d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push str.DownloadUI
push edx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411aeb
test ebx, ebx
je 0x411b12
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411ae2
test cl, cl
je 0x411ade
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411ae2
add eax, 2
add esi, 2
test cl, cl
jne 0x411aba
xor eax, eax
jmp 0x411ae7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411b12
mov edi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x413700
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.00441af0
neg eax
sbb eax, eax
lea ecx, [esp + 8]
and eax, 0x100
push ecx
add eax, 0xf003f
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x413766
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x6a3730
push eax
mov dword [esp + 0x24], 1
call esi
mov ecx, dword [esp + 8]
push ecx
call edi
lea edx, [esp + 8]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push 0x6a1f00
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4137b7
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.AdvIntDriverEnabled2
push ecx
mov dword [esp + 0x24], 1
call esi
mov edx, dword [esp + 8]
push edx
call edi
pop edi
pop esi
add esp, 8
ret
Function at 0x413e70
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa0
push esi
lea eax, [esp + 0x10]
push edi
mov edi, ecx
push eax
xor esi, esi
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x413ebc
cmp dword [esp + 0x24], 2
jne 0x413ebc
cmp dword [esp + 0x18], 6
jb 0x413eca
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x413ede
mov eax, dword [edi + 0x1c]
pop edi
pop esi
add esp, 0xa0
ret 4
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..IDMTDI
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x413f0d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xac]
pop edi
mov eax, 1
pop esi
mov dword [ecx], 1
add esp, 0xa0
ret 4
call fcn.00441af0
mov edi, dword [esp + 0xac]
neg eax
sbb eax, eax
mov dword [edi], 0
and eax, 0x100
add eax, 0x20019
test esi, esi
je 0x413f40
lea edx, [esp + 8]
push edx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x413f4d
lea ecx, [esp + 8]
push ecx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413fa5
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6a3730
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413f9a
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x413f9a
cmp eax, 2
je 0x413f9a
mov dword [edi], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret 4
Function at 0x415460
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov dword [esi + 0x34], edi
call fcn.004156e0
test eax, eax
jne 0x41549b
mov eax, dword [0x6d1144]
test eax, eax
je 0x415492
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x415492
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x415492
mov byte [eax + 0x40], 1
mov ecx, esi
call fcn.00416d10
jmp 0x4154c0
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x4154c0
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x4154c0
push 0
push 0
push 0
push 0
push 0
push 0x4152c0
call fcn.005e3eb7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41557d
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x41557d
mov ecx, dword [0x6d116c]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.IDMBIIEXPLORE
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41552c
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x6a2774
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
mov eax, dword [0x6d116c]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push str.IDMBIIEXPLORE
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41557d
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push 0x6a2774
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x415590
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f5cc0
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push reloc.WS2_32.dll_accept
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4155de
mov ecx, dword [esp + 0xc]
push str.Download_with_IDMan
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SoftwareClassesPROTOCOLSName_Space_Handler_
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x41560d
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.http_
push ecx
call esi
test eax, eax
jne 0x41564f
mov edx, dword [esp + 8]
push 0x6a3a40
push edx
call edi
mov eax, dword [esp + 8]
push 0x6a3a3c
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.https_
push edx
call esi
test eax, eax
jne 0x41567f
mov eax, dword [esp + 8]
push 0x6a3a40
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ftp_
push edx
call esi
test eax, eax
jne 0x4156bb
mov eax, dword [esp + 8]
push 0x6a3a40
push eax
call edi
mov ecx, dword [esp + 8]
push 0x6a3a3c
push ecx
call edi
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4156e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5cdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x41585b
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
jne 0x41585b
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.NoExplorer
push edx
mov dword [ebp - 0x24], 4
call edi
test eax, eax
jne 0x41585b
cmp dword [ebp - 0x1c], 1
jne 0x41585b
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
call fcn.00441af0
test eax, eax
je 0x41580f
lea edx, [ebp - 0x18]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x41585b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push ecx
call esi
test eax, eax
jne 0x41585b
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.NoExplorer
push ecx
mov dword [ebp - 0x20], 4
call edi
test eax, eax
jne 0x41585b
cmp dword [ebp - 0x1c], 1
jne 0x41585b
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov eax, dword [ebp - 0x18]
push eax
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5d0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 4
xor ebx, ebx
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x6d116c]
push 4
push ebx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
jne 0x4158d6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x224]
call fcn.0049fc40
mov ecx, dword [0x6cc564]
mov dword [ebp + 0xc], ecx
push esi
lea edx, [ebp + 0xc]
push str.RegSetValueEx_err__ld_in_CBrInt:SaveIntToReg_n
push edx
mov byte [ebp - 4], 2
call fcn.005dc6eb
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x224]
push 1
push eax
call fcn.0049fd60
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.005e38b9
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.0049fd50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415d10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
mov ecx, esi
call fcn.00401070
mov eax, 0x6d0ab8
test eax, eax
je 0x415d80
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415d80
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x6d0ab8
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x415d80
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dfcbc
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x415d80
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x6d0ab8
push 0
push 0
call edi
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x415dae
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push str.Last_Directory
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x415e60
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x415e31
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x415e60
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
lea ecx, [esp + 0x14]
push 0x6a3c38
push ecx
call fcn.005c7ae5
add esp, 8
test eax, eax
je 0x415eb9
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.005c71e2
add esp, 8
test eax, eax
je 0x415e60
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push eax
call fcn.005c7292
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x415e87
lea ecx, [esp + 0x14]
push 0x6a2080
push ecx
call fcn.005c7400
add esp, 8
lea edx, [esp + 0x14]
push str.ProgramPlugins_
push edx
push 0x6a2074
mov ecx, esi
call fcn.0040eb20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.Last_Directory2
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x415e60
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4