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

Disassembly:
push ebp
lea ebp, [esp - 0x2f8]
sub esp, 0x2f8
push 0xffffffffffffffff
push 0x61baf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x2f4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x70f66c]
cmp eax, esi
jne 0x414c02
mov eax, 0x70f670
push str.idmmzcc.xpi
push eax
push 0x651f3c
lea eax, [ebp + 0x6c]
push eax
call fcn.0040fac0
add esp, 0x10
lea ecx, [ebp + 0x6c]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call edi
cmp eax, 0xffffffff
je 0x414f55
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x5c], esi
xor edx, edx
mov word [ebp + 0x58], dx
mov byte [ebp - 4], 1
mov eax, dword [0x70f64c]
cmp eax, esi
jne 0x414c4c
mov eax, 0x70f650
push esi
push str.idmmzcc5
push eax
push str._s_scomponents2idmmzcc.dll
lea ecx, [ebp + 0x54]
call fcn.00402300
mov eax, dword [ebp + 0x54]
cmp eax, esi
jne 0x414c6a
lea eax, [ebp + 0x58]
push eax
call edi
cmp eax, 0xffffffff
je 0x414d22
mov eax, dword [0x70f64c]
cmp eax, esi
jne 0x414c84
mov eax, 0x70f650
push esi
push str.idmmzcc5
push eax
push str._s_scomponents2idmcchandler2.dll
lea ecx, [ebp + 0x54]
call fcn.00402300
mov eax, dword [ebp + 0x54]
cmp eax, esi
jne 0x414ca2
lea eax, [ebp + 0x58]
push eax
call edi
cmp eax, 0xffffffff
je 0x414d22
mov eax, dword [0x70f64c]
cmp eax, esi
jne 0x414cb8
mov eax, 0x70f650
push esi
push str.idmmzcc5
push eax
push str._s_schromeidmmzcc.jar
lea ecx, [ebp + 0x54]
call fcn.00402300
mov eax, dword [ebp + 0x54]
cmp eax, esi
jne 0x414cd6
lea eax, [ebp + 0x58]
push eax
call edi
cmp eax, 0xffffffff
je 0x414d22
mov eax, dword [0x70f64c]
cmp eax, esi
jne 0x414cec
mov eax, 0x70f650
push esi
push str.idmmzcc5
push eax
push str._s_scomponents12idmmzcc.dll
lea ecx, [ebp + 0x54]
call fcn.00402300
mov eax, dword [ebp + 0x54]
cmp eax, esi
jne 0x414d0a
lea eax, [ebp + 0x58]
push eax
call edi
cmp eax, 0xffffffff
je 0x414d22
mov ebx, dword [ebp + 0x300]
cmp ebx, esi
je 0x414e8f
jmp 0x414d28
mov ebx, dword [ebp + 0x300]
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x6c]
push eax
call fcn.005c7b80
add esp, 4
mov edi, eax
cmp edi, esi
je 0x414d90
lea ecx, [ebp + 0x4c]
push ecx
push edi
call fcn.005c7360
add esp, 8
xor esi, esi
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp + 0x4c]
jae 0x414d82
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.idmmzcc5
push ebx
push edi
call fcn.00413e00
add esp, 0x14
test eax, eax
jne 0x414d82
inc esi
cmp esi, dword [ebp + 0x4c]
jae 0x414d4c
push edi
call fcn.005c7740
add esp, 4
test eax, eax
je 0x414d4c
push edi
call fcn.005c7d00
add esp, 4
jmp 0x414d90
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x414e2f
cmp ebx, esi
je 0x414e2f
push 0x50035
mov ecx, dword [0x710c08]
push ecx
mov edx, dword [0x710f1c]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00469b60
add esp, 0x10
cmp eax, 4
jne 0x414e2f
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x6c]
push eax
call fcn.005c7b80
add esp, 4
mov edi, eax
cmp edi, esi
je 0x414e2f
lea ecx, [ebp + 0x4c]
push ecx
push edi
call fcn.005c7360
add esp, 8
cmp eax, esi
jne 0x414e2f
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp + 0x4c]
jae 0x414d82
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.idmmzcc5
push ebx
push edi
call fcn.00413e00
add esp, 0x14
test eax, eax
jne 0x414d82
inc esi
cmp esi, dword [ebp + 0x4c]
jae 0x414df0
push edi
call fcn.005c7740
add esp, 4
test eax, eax
je 0x414df0
jmp 0x414d82
push str.idmmzcc5
call fcn.004147b0
add esp, 4
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x2c], esi
xor ecx, ecx
mov word [ebp + 0x28], cx
mov byte [ebp - 4], 2
mov eax, dword [0x70f64c]
cmp eax, esi
jne 0x414e5a
mov eax, 0x70f650
push esi
push str.idmmzcc5
push eax
push 0x64ed70
lea ecx, [ebp + 0x24]
call fcn.00402300
mov eax, dword [ebp + 0x24]
cmp eax, esi
jne 0x414e78
lea eax, [ebp + 0x28]
push eax
call fcn.00411380
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.004011f0
xor esi, esi
mov edi, dword [ebp + 0x304]
cmp edi, esi
jne 0x414f8c
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push esi
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x414f7e
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareMozilla
push 0x80000001
call esi
test eax, eax
jne 0x414f49
mov ecx, dword [ebp - 0x14]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareMozillaFirefox
push 0x80000001
call esi
test eax, eax
jne 0x414f49
mov eax, dword [ebp - 0x14]
push eax
call ebx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call esi
test eax, eax
je 0x414f84
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.004011f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2f4]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x2f8
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push edx
call ebx
jmp 0x414f92
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor ebx, ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x68], ebx
xor eax, eax
mov word [ebp + 0x64], ax
mov byte [ebp - 4], 3
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x414fb2
mov eax, 0x70f650
push ebx
push str.idmmzcc5
push eax
push 0x64ed70
lea ecx, [ebp + 0x60]
call fcn.00402300
mov ecx, 0x704370
lea edx, [ebp + 0x274]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x414fd1
lea ecx, [ebp + 0x274]
push ecx
call fcn.0044ee60
add esp, 4
cmp edi, ebx
je 0x414ffe
mov dword [ebp - 0x1c], 1
jmp 0x415006
call fcn.004127b0
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0040fc90
add esp, 8
mov edi, eax
mov dword [ebp + 0x50], edi
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push ebx
push str.SoftwareMozillaSeaMonkeyExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4151ac
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
push 0xf003f
push ebx
push 0x64f8bc
push ebx
push str.SoftwareMozillaSeaMonkey
push 0x80000001
call esi
test eax, eax
jne 0x4152be
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x64f8bc
push ebx
push str.SoftwareMozillaSeaMonkeyExtensions
push 0x80000001
call esi
test eax, eax
jne 0x4152be
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x50], ebx
je 0x4150bb
cmp edi, 2
jg 0x4150a8
jne 0x4150bb
cmp dword [ebp - 0x20], 0x26
jl 0x4150bb
lea edx, [ebp + 0x274]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x415102
mov edx, dword [ebp + 0x60]
cmp edx, ebx
mov eax, edx
jne 0x4150c7
lea eax, [ebp + 0x64]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4150d0
sub eax, esi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x4150e8
lea ecx, [ebp + 0x64]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push ebx
lea eax, [ebp + 0x274]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x415110
mov eax, 0x70f670
push ebx
push str.idmmzcc2.xpi
push eax
push 0x64ed70
lea ecx, [ebp + 0x60]
call fcn.00402300
mov ecx, 0x7043c0
lea edx, [ebp + 0x274]
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x415130
lea edx, [ebp + 0x274]
push edx
call fcn.0044ee60
add esp, 4
cmp dword [ebp + 0x50], ebx
je 0x415162
cmp edi, 2
jg 0x415162
jne 0x4151a3
cmp dword [ebp - 0x20], 0x26
jl 0x4151a3
mov edx, dword [ebp + 0x60]
cmp edx, ebx
mov eax, edx
jne 0x41516e
lea eax, [ebp + 0x64]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415171
sub eax, esi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x415189
lea ecx, [ebp + 0x64]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
lea ecx, [ebp + 0x274]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x18]
push eax
jmp 0x4152b8
cmp edi, ebx
mov edi, dword [ebp - 0x14]
je 0x4151d3
cmp edi, 2
jg 0x4151c0
jne 0x4151d3
cmp dword [ebp - 0x20], 0x26
jl 0x4151d3
lea ecx, [ebp + 0x274]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x415214
mov edx, dword [ebp + 0x60]
cmp edx, ebx
mov eax, edx
jne 0x4151df
lea eax, [ebp + 0x64]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4151e2
sub eax, esi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x4151fa
lea ecx, [ebp + 0x64]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
lea ecx, [ebp + 0x274]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x415222
mov eax, 0x70f670
push ebx
push str.idmmzcc2.xpi
push eax
push 0x64ed70
lea ecx, [ebp + 0x60]
call fcn.00402300
mov ecx, 0x7043c0
lea edx, [ebp + 0x274]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x415241
lea eax, [ebp + 0x274]
push eax
call fcn.0044ee60
add esp, 4
cmp dword [ebp + 0x50], ebx
je 0x415273
cmp edi, 2
jg 0x415273
jne 0x4152b4
cmp dword [ebp - 0x20], 0x26
jl 0x4152b4
mov edx, dword [ebp + 0x60]
cmp edx, ebx
mov eax, edx
jne 0x41527f
lea eax, [ebp + 0x64]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415282
sub eax, esi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x41529a
lea ecx, [ebp + 0x64]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push ebx
lea eax, [ebp + 0x274]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], ebx
je 0x4154c5
mov eax, dword [ebp + 0x60]
cmp eax, ebx
jne 0x4152d1
lea eax, [ebp + 0x64]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call edi
cmp eax, 0xffffffff
je 0x4154c5
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x44], ebx
xor eax, eax
mov word [ebp + 0x40], ax
mov byte [ebp - 4], 4
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x38], ebx
xor ecx, ecx
mov word [ebp + 0x34], cx
mov byte [ebp - 4], 5
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x50], ebx
xor edx, edx
mov word [ebp + 0x4c], dx
mov byte [ebp - 4], 6
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], 7
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
mov word [ebp + 0x10], cx
mov byte [ebp - 4], 8
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x20], ebx
mov word [ebp + 0x1c], dx
mov byte [ebp - 4], 9
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x41534b
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc
lea ecx, [ebp + 0x3c]
call fcn.00402190
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x415368
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc2
lea ecx, [ebp + 0x30]
call fcn.00402190
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x415385
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc3
lea ecx, [ebp + 0x48]
call fcn.00402190
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x4153a2
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc01
lea ecx, [ebp]
call fcn.00402190
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x4153bf
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc02
lea ecx, [ebp + 0xc]
call fcn.00402190
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x4153dc
mov eax, 0x70f650
push ebx
push eax
push str._sidmmzcc03
lea ecx, [ebp + 0x18]
call fcn.00402190
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x4153f5
lea eax, [ebp + 0x40]
push eax
call edi
cmp eax, 0xffffffff
je 0x41541f
mov eax, dword [ebp]
cmp eax, ebx
mov ecx, eax
jne 0x415409
lea ecx, [ebp + 4]
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x415413
lea eax, [ebp + 0x40]
push ecx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
call esi
jmp 0x415425
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
jne 0x41542f
lea eax, [ebp + 0x34]
push eax
call edi
cmp eax, 0xffffffff
je 0x415451
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov ecx, eax
jne 0x415443
lea ecx, [ebp + 0x10]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
jne 0x41544d
lea eax, [ebp + 0x34]
push ecx
push eax
call esi
mov eax, dword [ebp + 0x48]
cmp eax, ebx
jne 0x41545b
lea eax, [ebp + 0x4c]
push eax
call edi
cmp eax, 0xffffffff
je 0x41547d
mov eax, dword [ebp + 0x18]
cmp eax, ebx
mov ecx, eax
jne 0x41546f
lea ecx, [ebp + 0x1c]
mov eax, dword [ebp + 0x48]
cmp eax, ebx
jne 0x415479
lea eax, [ebp + 0x4c]
push ecx
push eax
call esi
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x18]
call fcn.004011f0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
call fcn.004011f0
mov byte [ebp - 4], 6
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
call fcn.004011f0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x3c]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.004011f0
mov eax, dword [ebp - 0x1c]
jmp 0x414f57