joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b8a0
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 0x40b8f5
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 0x40b8f5
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40b904
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4
Function at 0x40db90
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bf8ac
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x12c
test eax, eax
je 0x40dc22
push 0
lea ecx, [esp + 0x18]
call fcn.004dedd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0
call fcn.005a9be3
lea ecx, [esp + 0xe8]
mov dword [esp + 0x134], 3
call fcn.005b5759
lea ecx, [esp + 0xac]
mov byte [esp + 0x134], 2
call fcn.005a835c
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 1
call fcn.005b5791
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0xffffffff
call fcn.005a9824
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 0x40dc74
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 0x40e9d0
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.0040b840
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.WSOCK32.dll_accept
call ebp
test eax, eax
jne 0x40eaa3
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 0x40ea71
test ebx, ebx
je 0x40ea98
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ea68
test cl, cl
je 0x40ea64
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ea68
add eax, 2
add esi, 2
test cl, cl
jne 0x40ea44
xor eax, eax
jmp 0x40ea6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ea98
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.WSOCK32.dll_bind
call ebp
test eax, eax
jne 0x40eb5d
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 0x40eb2b
test ebx, ebx
je 0x40eb52
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 0x40eb22
test cl, cl
je 0x40eb1e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40eb22
add eax, 2
add esi, 2
test cl, cl
jne 0x40eafa
xor eax, eax
jmp 0x40eb27
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40eb52
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 0x410630
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.00438150
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.WSOCK32.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 0x410696
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x6673c4
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 0x691568
push 0
push 0x665e5c
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4106e7
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 0x410da0
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 0x410dec
cmp dword [esp + 0x24], 2
jne 0x410dec
cmp dword [esp + 0x18], 6
jb 0x410dfa
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x410e0e
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 0x410e3d
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.00438150
mov edi, dword [esp + 0xac]
neg eax
sbb eax, eax
mov dword [edi], 0
and eax, 0x100
add eax, 0x20019
test esi, esi
je 0x410e70
lea edx, [esp + 8]
push edx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x410e7d
lea ecx, [esp + 8]
push ecx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410ed5
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6673c4
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410eca
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x410eca
cmp eax, 2
je 0x410eca
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 0x411f50
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
mov dword [esi + 0x34], edi
je 0x411f6f
call fcn.004121a0
test eax, eax
jne 0x411f6f
mov ecx, esi
call fcn.00413970
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412039
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x412039
push edi
push str.IntegrateMIE
mov ecx, esi
call fcn.004124c0
mov ecx, dword [0x691b84]
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 0x411fe8
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x666704
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 [0x691b84]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.IDMBIIEXPLORE
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x412039
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push 0x666704
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 0x412050
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bfd00
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.WSOCK32.dll_accept
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41209e
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.WSOCK32.dll_bind
call esi
test eax, eax
je 0x4120cd
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 0x41210f
mov edx, dword [esp + 8]
push 0x667630
push edx
call edi
mov eax, dword [esp + 8]
push 0x66762c
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 0x41213f
mov eax, dword [esp + 8]
push 0x667630
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 0x41217b
mov eax, dword [esp + 8]
push 0x667630
push eax
call edi
mov ecx, dword [esp + 8]
push 0x66762c
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 0x4121a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfd1b
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.WSOCK32.dll_bind
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x41231b
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 0x41231b
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 0x41231b
cmp dword [ebp - 0x1c], 1
jne 0x41231b
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.00438150
test eax, eax
je 0x4122cf
lea edx, [ebp - 0x18]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x41231b
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 0x41231b
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 0x41231b
cmp dword [ebp - 0x1c], 1
jne 0x41231b
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 0x412330
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfd61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
mov edx, dword [0x691b84]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
mov ebx, 4
push edi
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x41239c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 2
jne 0x412436
mov ecx, dword [0x691b84]
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0
push edi
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x41241e
lea ecx, [ebp - 0x22c]
call fcn.00486d60
mov edx, dword [0x68d01c]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.RegSetValueEx_err__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], 2
call fcn.005a6a18
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00486e80
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005adc4d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00486e70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x22c]
call fcn.00486d60
mov edx, dword [0x68d01c]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.Error__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], bl
call fcn.005a6a18
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00486e80
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.005adc4d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
jmp 0x412419

Function at 0x4124c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfd8e
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 [0x691b84]
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 0x412526
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.00486d60
mov ecx, dword [0x68d01c]
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.005a6a18
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x224]
push 1
push eax
call fcn.00486e80
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.00486e70
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 0x412960
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, 0x691568
test eax, eax
je 0x4129d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4129d0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x691568
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x4129d0
lea ecx, [eax + eax + 2]
push ecx
call fcn.005a9fe9
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4129d0
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x691568
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.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4129fe
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 0x412ab0
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 0x412a81
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 0x412ab0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
lea ecx, [esp + 0x14]
push 0x6678e8
push ecx
call fcn.00591f37
add esp, 8
test eax, eax
je 0x412b09
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.00591662
add esp, 8
test eax, eax
je 0x412ab0
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push eax
call fcn.00591712
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x412ad7
lea ecx, [esp + 0x14]
push 0x665ffc
push ecx
call fcn.00591880
add esp, 8
lea edx, [esp + 0x14]
push str.ProgramPlugins_
push edx
push 0x665ff4
mov ecx, esi
call fcn.0040cec0
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 0x412ab0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
Function at 0x413970
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov edi, ecx
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x4139c9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push 0xf003f
push eax
push 0x691568
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
je 0x4139e7
cmp eax, 5
je 0x413b06
push eax
push str.Err__ld_CBIr::IntIE__s7_n
mov ecx, edi
call fcn.00413b10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [str.IDM_Helper]
mov ecx, dword [0x667b24]
mov dx, word [0x667b28]
mov dword [esp + 0x20], eax
mov al, byte [0x667b2a]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2a], al
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x28], dx
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x30], 1
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
call fcn.00438150
test eax, eax
je 0x413b06
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0x691568
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x413b06
lea edx, [esp + 0x10]
push eax
push edx
push eax
push 0xf013f
push eax
push 0x691568
push eax
mov eax, dword [esp + 0x30]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call esi
test eax, eax
jne 0x413b06
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x34], 1
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4152f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x691b84]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415330
mov eax, dword [esp + 4]
test eax, eax
je 0x415330
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x417cf0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417d62
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x20
ret
Function at 0x419710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c0511
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x210
cmp eax, 1
push ebp
push esi
push edi
mov edi, ecx
jg 0x419740
xor eax, eax
jmp 0x4198b8
mov esi, dword [esp + 0x22c]
xor ebp, ebp
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4198b6
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4198b6
mov ecx, dword [0x68d01c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push eax
mov dword [esp + 0x22c], ebp
call fcn.004152a0
test eax, eax
jne 0x41978f
push str.this
lea ecx, [esp + 0x14]
call fcn.005addd6
mov eax, dword [0x691b38]
mov ebp, 1
test eax, eax
jne 0x4197a2
mov eax, 0x691b3c
push str.idmmzcc.xpi
push eax
lea eax, [esp + 0x1c]
push 0x667010
push eax
call fcn.0059261e
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x234]
jne 0x419839
test eax, eax
je 0x419821
mov edx, dword [0x68d01c]
mov dword [esp + 0xc], edx
mov eax, dword [0x6920ac]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x230], 1
call fcn.005a6a18
mov edx, dword [esp + 0x18]
add esp, 0xc
push 0x30
push 0x666094
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.005adc4d
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call fcn.005adc4d
xor eax, eax
jmp 0x4198b8
test eax, eax
je 0x419891
mov eax, dword [0x68d01c]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [0x692314]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x234], 2
call fcn.005a6a18
mov edx, dword [0x692354]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.005adc4d
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.0040d8a0
lea ecx, [esp + 0x10]
mov dword [esi + 0x10], 1
mov dword [esp + 0x224], 0xffffffff
call fcn.005adc4d
mov eax, ebp
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x21c
ret 0xc