joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f580
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x64
lea eax, [esp + 0x6c]
push esi
xor esi, esi
push eax
push ecx
push esi
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f67f
push edi
mov ecx, 0x19
lea edi, [esp + 8]
mov edx, dword [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
mov dword [esp + 0x88], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x40f674
lea eax, [esp + 4]
push 0x2e
push eax
mov esi, 1
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x40f600
mov byte [eax], 0
lea ecx, [esp + 4]
push ecx
call fcn.005e5453
add esp, 4
test eax, eax
je 0x40f674
mov edx, dword [esp + 0x84]
cmp eax, 0x34
mov dword [edx], eax
jle 0x40f628
mov eax, dword [esp + 0x80]
jmp 0x40f66e
cmp eax, 0x1a
jle 0x40f649
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
cmp eax, 7
jle 0x40f66a
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
push ecx
mov dword [edx], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov dword [eax], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
Function at 0x4103b0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x613aac
push eax
mov dword fs:[0], esp
sub esp, 0xb4
lea eax, [esp + 0xc]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410405
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], bx
mov esi, dword [0x6f6320]
mov dword [esp + 0xc4], ebx
cmp esi, ebx
jne 0x410429
mov esi, 0x6f6324
mov ecx, 0x6c5124
test ecx, ecx
je 0x410563
cmp esi, ebx
je 0x410563
mov edx, str.idmmzcc5
test edx, edx
je 0x410563
push ebp
push edi
push ebx
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], bx
call fcn.00402ce0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 1
call fcn.0040e5b0
push str.idmmzcc5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 2
call fcn.0040e5b0
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 3
call fcn.00401070
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov edi, eax
jne 0x4104ac
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
push edi
mov ebp, eax
call fcn.005e519b
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x41052f
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 2
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], bl
call fcn.00401070
pop edi
pop ebp
lea edx, [esp + 0x3c]
push 0x6c5dbc
push edx
call fcn.005e5369
lea eax, [esp + 0x44]
push eax
call fcn.005e519b
add esp, 0xc
cmp eax, ebx
jle 0x41059e
lea ecx, [esp + 0x3c]
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x410587
mov esi, dword [esp + 8]
cmp esi, ebx
je 0x4105aa
mov eax, esi
jmp 0x4105b2
lea eax, [esp + 0xc]
lea esi, [esp + 0xc]
push eax
call fcn.005e519b
mov edx, dword [esp + 0x18]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x3c]
push eax
push esi
push 1
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
jne 0x4105de
mov ebx, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xb8]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret
Function at 0x412270
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x613c8c
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x12c
test eax, eax
je 0x412302
push 0
lea ecx, [esp + 0x18]
call fcn.0050c410
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0
call fcn.005fd8c6
lea ecx, [esp + 0xe8]
mov dword [esp + 0x134], 3
call fcn.006093d5
lea ecx, [esp + 0xac]
mov byte [esp + 0x134], 2
call fcn.005fc06d
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 1
call fcn.0060940d
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0xffffffff
call fcn.005fd507
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 0x412354
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 0x412ce0
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.0040d1d0
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 0x412db3
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 0x412d81
test ebx, ebx
je 0x412da8
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x412d78
test cl, cl
je 0x412d74
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x412d78
add eax, 2
add esi, 2
test cl, cl
jne 0x412d54
xor eax, eax
jmp 0x412d7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412da8
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 0x412e6d
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 0x412e3b
test ebx, ebx
je 0x412e62
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 0x412e32
test cl, cl
je 0x412e2e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x412e32
add eax, 2
add esi, 2
test cl, cl
jne 0x412e0a
xor eax, eax
jmp 0x412e37
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412e62
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 0x4135b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeExtensionsStoredatastoreConfig
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413646
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
push edi
xor ebx, ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push ebx
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x41361e
mov edi, str.IDMIntegrationModule_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
push ecx
push str.IDMIntegrationModule_
push eax
call fcn.005e89c0
add esp, 0xc
test eax, eax
je 0x413625
inc ebx
test esi, esi
je 0x4135e2
jmp 0x413637
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00413570
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x413690
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6f6360]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.bShInstEdgeExtTip
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret

Function at 0x4136d0
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x613e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push 0
lea ecx, [esp + 8]
call fcn.004e6ef0
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0
call fcn.005fd8c6
mov ecx, dword [0x6f6360]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.bShInstEdgeExtTip
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.004135b0
push 0
push 0
push 0
push str.ms_windows_store:__review__PFNTonecInc.IDMIntegrationModule_e7b5mm5d3r6v2
push 0x6c5054
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x11c]
mov dword [esp + 0x12c], 5
call fcn.00504440
lea ecx, [esp + 0x114]
mov byte [esp + 0x12c], 4
call fcn.00504440
lea ecx, [esp + 0xd8]
mov byte [esp + 0x12c], 3
call fcn.006093d5
lea ecx, [esp + 0x9c]
mov byte [esp + 0x12c], 2
call fcn.006093d5
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 1
call fcn.006093d5
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.005fd507
mov ecx, dword [esp + 0x124]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x130
ret
Function at 0x414f00
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.00446240
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 0x414f66
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x6c6b18
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 0x6f5cb8
push 0
push 0x6c4f9c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x414fb7
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 0x415670
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 0x4156bc
cmp dword [esp + 0x24], 2
jne 0x4156bc
cmp dword [esp + 0x18], 6
jb 0x4156ca
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x4156de
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 0x41570d
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.00446240
mov edi, dword [esp + 0xac]
neg eax
sbb eax, eax
mov dword [edi], 0
and eax, 0x100
add eax, 0x20019
test esi, esi
je 0x415740
lea edx, [esp + 8]
push edx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x41574d
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 0x4157a5
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6c6b18
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41579a
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41579a
cmp eax, 2
je 0x41579a
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 0x416c80
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
lea eax, [esp + 8]
push eax
mov dword [esi + 0x34], ebp
call fcn.00417040
add esp, 4
test eax, eax
jne 0x416ce2
mov eax, dword [0x6f6334]
test eax, eax
je 0x416cd9
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x416cd9
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x416cd9
cmp dword [esp + 8], 5
jne 0x416cd2
mov ecx, esi
call fcn.0041b100
cmp dword [esp + 8], 5
jne 0x416cd2
cmp dword [esi + 0x68], 1
jne 0x416cd9
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x40], 1
mov ecx, esi
call fcn.00418690
jmp 0x416d07
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x416d07
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x416d07
push 0
push 0
push 0
push 0
push 0
push 0x416ad0
call fcn.00601eca
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416dc6
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x416dc6
mov eax, dword [0x6f6360]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push str.IDMBIIEXPLORE
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416d73
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push eax
push 0x6c5834
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebp
pop ecx
ret 8
mov edx, dword [0x6f6360]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x6f5cb8
push 0
push str.IDMBIIEXPLORE
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x416dc6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push 0x6c5834
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebp
pop ecx
ret 8
Function at 0x417040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6142ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
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
mov edi, dword [ebp + 8]
test eax, eax
mov dword [edi], eax
jne 0x4171ca
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 0x4171ca
mov edx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.NoExplorer
push edx
mov dword [ebp - 0x20], 4
call ebx
test eax, eax
jne 0x4171ca
cmp dword [ebp - 0x1c], 1
jne 0x4171ca
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00446240
test eax, eax
je 0x41717e
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
mov dword [edi], eax
jne 0x4171ca
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 0x4171ca
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 8]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.NoExplorer
push ecx
mov dword [ebp + 8], 4
call ebx
test eax, eax
jne 0x4171ca
cmp dword [ebp - 0x1c], 1
jne 0x4171ca
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [ebp - 0x18]
push eax
call esi
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 0x4171e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6142de
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 [0x6f6360]
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 0x417246
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.004ac570
mov ecx, dword [0x6f175c]
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.005fa6fb
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x224]
push 1
push eax
call fcn.004ac690
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.004ac680
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 0x417680
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, 0x6f5cb8
test eax, eax
je 0x4176f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4176f0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x6f5cb8
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x4176f0
lea ecx, [eax + eax + 2]
push ecx
call fcn.005fdccd
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4176f0
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x6f5cb8
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 0x41771e
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 0x4177d0
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 0x4177a1
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 0x4177d0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
lea ecx, [esp + 0x14]
push 0x6c7020
push ecx
call fcn.005e5a05
add esp, 8
test eax, eax
je 0x417829
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.005e50eb
add esp, 8
test eax, eax
je 0x4177d0
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push eax
call fcn.005e519b
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x4177f7
lea ecx, [esp + 0x14]
push 0x6c5154
push ecx
call fcn.005e533f
add esp, 8
lea edx, [esp + 0x14]
push str.ProgramPlugins_
push edx
push 0x6c5124
mov ecx, esi
call fcn.0040fbe0
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 0x4177d0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4