joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4093a0
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54931c
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x12c
test eax, eax
je 0x409432
push 0
lea ecx, [esp + 0x18]
call fcn.004a06e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0
call fcn.00533ae5
lea ecx, [esp + 0xe8]
mov dword [esp + 0x134], 3
call fcn.0053f83e
lea ecx, [esp + 0xac]
mov byte [esp + 0x134], 2
call fcn.0053228f
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 1
call fcn.0053f876
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0xffffffff
call fcn.00533726
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 0x409484
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 0x40aef0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54951c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebx], 0x55e1fc
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x48]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x40af34
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x50]
call fcn.00450af0
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x18], edi
cmp edi, eax
jge 0x40afde
mov eax, dword [ebx + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, dword [eax + edi*4]
add ecx, 0x14
call fcn.00411d80
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx + edi*4]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40afd8
lea esi, [eax + 0x14]
mov dword [ebp - 0x24], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 4]
mov byte [ebp - 4], 6
test eax, eax
je 0x40afb2
mov ecx, dword [esi + 8]
mov edi, eax
mov edx, ecx
dec ecx
test edx, edx
mov dword [ebp - 0x1c], ecx
je 0x40afa3
push 0
mov ecx, edi
call fcn.00411f00
mov ecx, dword [ebp - 0x1c]
add edi, 0x24
jmp 0x40af88
mov esi, dword [esi + 4]
push esi
call fcn.005380ca
mov edi, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
lea ecx, [eax + 4]
call fcn.00537b04
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00537b04
push esi
call fcn.005380ca
add esp, 4
inc edi
jmp 0x40af3f
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x20]
call fcn.0049e0c0
jmp 0x40aff5
lea esi, [ebx + 0x50]
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 4]
mov byte [ebp - 4], 8
test eax, eax
je 0x40b029
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.005309a7
mov esi, dword [esi + 4]
push esi
call fcn.005380ca
add esp, 4
lea eax, [ebx + 0x20]
mov dword [ebp - 0x24], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 9
test eax, eax
je 0x40b049
push eax
call fcn.005380ca
add esp, 4
lea ecx, [ebx + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00405bf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b080
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 0x40b09f
call fcn.0040b2d0
test eax, eax
jne 0x40b09f
mov ecx, esi
call fcn.0040d030
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b169
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x40b169
push edi
push str.IntegrateMIE
mov ecx, esi
call fcn.0040b510
mov ecx, dword [0x5ba8bc]
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 0x40b118
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x5983cc
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 [0x5ba8bc]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.IDMBIIEXPLORE
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40b169
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push 0x5983cc
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 0x40b180
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x549530
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 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40b1ce
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 0x80000002
call esi
test eax, eax
je 0x40b1fd
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 0x40b23f
mov edx, dword [esp + 8]
push 0x598d58
push edx
call edi
mov eax, dword [esp + 8]
push 0x598d54
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 0x40b26f
mov eax, dword [esp + 8]
push 0x598d58
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 0x40b2ab
mov eax, dword [esp + 8]
push 0x598d58
push eax
call edi
mov ecx, dword [esp + 8]
push 0x598d54
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 0x40b380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549581
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
mov edx, dword [0x5ba8bc]
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 0x40b3ec
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 0x40b486
mov ecx, dword [0x5ba8bc]
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 0x40b46e
lea ecx, [ebp - 0x124]
call fcn.00459300
mov edx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x124]
call fcn.004593e0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00537b04
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.004593d0
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 - 0x124]
call fcn.00459300
mov edx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x124]
call fcn.004593e0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00537b04
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
jmp 0x40b469

Function at 0x40b510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5495ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
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 [0x5ba8bc]
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 0x40b576
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 - 0x11c]
call fcn.00459300
mov ecx, dword [0x5b5ecc]
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.0053091a
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push 1
push eax
call fcn.004593e0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], bl
call fcn.004593d0
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 0x40b620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5495cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x5ba440
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00537c8d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARENetscapeNetscape_6
push 0x80000002
call esi
test eax, eax
jne 0x40b7e9
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40b7e9
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40b7e9
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40b7e9
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40b7e9
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40b753
mov edi, 0x598f5c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00537c8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 4
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 4
Function at 0x40b8a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
push 0x5ba440
mov ecx, ebx
call fcn.00537c8d
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b8ea
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
mov edi, 0x104
push str.Last_Directory
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x40b99e
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], edi
call esi
test eax, eax
je 0x40b96d
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], edi
call esi
test eax, eax
je 0x40b99e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
lea ecx, [esp + 0x14]
push 0x598fd0
push ecx
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x40ba17
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0051c7b0
add esp, 8
test eax, eax
je 0x40b99e
mov byte [eax + 1], 0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x13], 0x5c
je 0x40b9e3
mov edi, 0x598f5c
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00537c8d
push str.ProgramPlugins_
mov ecx, ebx
call fcn.00537ee0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
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], edi
call esi
test eax, eax
je 0x40b99e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
Function at 0x40bdc0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x7d0
mov eax, dword [esp + 0x7d4]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push edi
push 5
push eax
mov byte [esp + 0x10], 0
call esi
push 2
push eax
call esi
push 2
push eax
call esi
push 2
push eax
call esi
push 5
push eax
call esi
push 5
push eax
call esi
push 2
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2755
push eax
call esi
push 0x3e9
push eax
call esi
lea ecx, [esp + 8]
push ecx
push 0x7d0
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x7e0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x7d0
ret

Function at 0x40be60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [esi + 0x44], eax
je 0x40bebc
mov edi, 1
mov dword [ebp + 8], edi
call fcn.0040ba70
test eax, eax
jne 0x40bec8
mov ecx, esi
call fcn.0040ba50
test eax, eax
jne 0x40bec8
mov ecx, esi
mov dword [esi + 0x44], ebx
call fcn.0040ba60
xor edi, edi
jmp 0x40bec5
mov ecx, esi
call fcn.0040ba60
mov edi, eax
mov dword [ebp + 8], edi
cmp dword [ebp + 0xc], ebx
je 0x40bee1
cmp edi, ebx
je 0x40bee1
mov eax, dword [esi + 0x44]
mov ecx, esi
push eax
push str.IntegrateOpera
call fcn.0040b510
cmp dword [esi + 0x44], ebx
je 0x40bf9b
cmp dword [esi + 0x48], ebx
jne 0x40bf9b
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], ebx
push ecx
push ebx
push ebx
push 0x40ba80
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x40bf9b
lea ecx, [ebp - 0x198]
call fcn.00459300
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x90]
push str.CreateThread___failed_during_CBrowsersIntegrator::Set_Opera_integration____errCode___ld_n
push edx
call fcn.0051d0e8
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x198]
push 1
push eax
call fcn.004593e0
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], bl
call fcn.004593d0
jmp 0x40bf9b
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40c190
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549673
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x40c202
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40c2cb
cmp eax, dword [ecx + 0x58]
jge 0x40c2cb
mov ecx, dword [ecx + 0x54]
lea edx, [ecx + eax*4]
lea ecx, [ebp - 0x14]
push edx
call fcn.00537c3d
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [eax - 8]
test eax, eax
setg cl
mov eax, ecx
jmp case.default.0x40c20d
mov edx, dword [ebp + 8]
xor eax, eax
dec edx
cmp edx, 3
ja case.default.0x40c20d
jmp dword [edx*4 + 0x40c354]
lea eax, [ebp - 0x14]
push eax
call fcn.0040b8a0
jmp case.default.0x40c20d
lea edx, [ebp - 0x14]
push edx
call fcn.0040b620
jmp case.default.0x40c20d
lea eax, [ebp - 0x14]
push eax
call fcn.0040c860
jmp case.default.0x40c20d
lea edx, [ebp - 0x14]
push edx
call fcn.0040c680
test eax, eax
je 0x40c2cb
lea eax, [ebp - 0x14]
push str.NPIDMan1.dll
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00537d99
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 2
push edx
mov byte [ebp - 4], bl
call esi
test eax, eax
jne 0x40c27c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c2bf
lea ecx, [ebp - 0x14]
push str.NPIDMan2.dll
lea edx, [ebp + 0xc]
push ecx
push edx
call fcn.00537d99
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00537c3d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00537b04
mov eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x40c2ec
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c2ec
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
xor eax, eax
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 + 8]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
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 8
Function at 0x40c680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5496db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x5ba440
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00537c8d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREmozilla.orgMozilla
push 0x80000002
call esi
test eax, eax
jne 0x40c849
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40c849
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40c849
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40c849
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40c849
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40c7b3
mov edi, 0x598f5c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00537c8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 4
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 4