Function at 0x412e70
Capabilities:
Check if file exists
Get file attributes
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a8b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x663654]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
push str.idmmzcc.xpi
push eax
lea ecx, [ebp - 0x130]
xor ebx, ebx
push 0x639028
push ecx
mov dword [ebp - 4], ebx
call fcn.0056d05a
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
lea edx, [ebp - 0x130]
push edx
call esi
cmp eax, 0xffffffff
je 0x4130e5
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x663660]
push str.idmmzcc3
push ecx
lea edx, [ebp - 0x18]
push str._s_scomponentsidmmzcc.dll
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call esi
cmp eax, 0xffffffff
je 0x412f90
mov ecx, dword [0x663660]
push str.idmmzcc3
push ecx
lea edx, [ebp - 0x18]
push str._s_scomponentsiIDMMzCC.xpt
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call esi
cmp eax, 0xffffffff
je 0x412f90
mov ecx, dword [0x663660]
push str.idmmzcc3
push ecx
lea edx, [ebp - 0x18]
push str._s_schromeidmmzcc.jar
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call esi
cmp eax, 0xffffffff
je 0x412f90
mov ecx, dword [0x663660]
push str.idmmzcc3
push ecx
lea edx, [ebp - 0x18]
push str._s_schrome.manifest
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call esi
cmp eax, 0xffffffff
je 0x412f90
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x41302c
jmp 0x412f93
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x130]
push ecx
call fcn.0055b460
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x412fea
lea edx, [ebp - 0x2c]
push edx
push esi
call fcn.0055b860
add esp, 8
cmp ebx, dword [ebp - 0x2c]
jae 0x412fe1
mov eax, dword [ebp - 0x20]
push eax
push edi
push esi
call fcn.00412880
add esp, 0xc
test eax, eax
jne 0x412fe1
mov eax, dword [ebp - 0x2c]
inc ebx
cmp ebx, eax
jae 0x412fe1
push esi
call fcn.0055bcb0
add esp, 4
test eax, eax
je 0x412fb5
push esi
call fcn.0055c260
add esp, 4
mov ecx, dword [0x65ec1c]
mov dword [ebp + 8], ecx
mov edx, dword [0x663660]
push str.idmmzcc3
push edx
lea eax, [ebp + 8]
push 0x639028
push eax
mov byte [ebp - 4], 2
call fcn.0058148b
mov ecx, dword [ebp + 8]
add esp, 0x10
push ecx
call fcn.00412df0
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005886c0
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4130fa
lea eax, [ebp - 0x14]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareMozilla
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4130d9
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareMozillaFirefox
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4130d9
mov eax, dword [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
je 0x413106
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
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 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x65ec1c]
mov dword [ebp + 8], 0
mov dword [ebp - 0x1c], edx
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x1c]
push 0x639028
push ecx
mov byte [ebp - 4], 3
call fcn.0058148b
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x14]
push 1
push eax
push str.mozilla_cc_internetdownloadmanager.com
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x413163
mov dword [ebp + 8], 1
mov eax, dword [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x413200
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareMozillaSeaMonkey
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x413228
mov eax, dword [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x413228
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x14]
push 1
push eax
push str.mozilla_cc_internetdownloadmanager.com
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
jmp 0x413226
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 1
push eax
push str.mozilla_cc_internetdownloadmanager.com
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x14]
push edx
call esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41331e
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
je 0x41331e
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x24], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov ecx, dword [0x663660]
lea edx, [ebp - 0x24]
push ecx
push str._sidmmzcc
push edx
mov byte [ebp - 4], 7
call fcn.0058148b
mov eax, dword [0x663660]
add esp, 0xc
lea ecx, [ebp + 8]
push eax
push str._sidmmzcc2
push ecx
call fcn.0058148b
mov edx, dword [0x663660]
add esp, 0xc
lea eax, [ebp - 0x20]
push edx
push str._sidmmzcc01
push eax
call fcn.0058148b
mov ecx, dword [0x663660]
add esp, 0xc
lea edx, [ebp - 0x28]
push ecx
push str._sidmmzcc02
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x24]
add esp, 0xc
push eax
call esi
cmp eax, 0xffffffff
je 0x4132d5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp + 8]
push eax
call esi
cmp eax, 0xffffffff
je 0x4132ee
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005886c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.005886c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
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 4