Function at 0x407e30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1028
call fcn.00411420
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov ecx, dword [eax]
mov dword [ebp - 0x30], edi
mov edx, dword [ecx - 8]
test edx, edx
je 0x4081c8
push eax
lea ecx, [ebp - 0x14]
call fcn.00424032
push 1
push 0x5c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0041ef90
lea edx, [ebp - 0x18]
push 1
push edx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0041f0df
mov esi, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407ec9
test cl, cl
je 0x407ec5
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407ec9
add eax, 2
add esi, 2
test cl, cl
jne 0x407ea1
xor eax, eax
jmp 0x407ece
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x18]
setne bl
call fcn.004242bd
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004242bd
test bl, bl
je 0x407ef8
push 0x4392c8
lea ecx, [ebp - 0x14]
call fcn.0042464d
lea eax, [ebp - 0x14]
push str.prefs.js
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00424506
lea edx, [ebp + 8]
push str..clean
lea eax, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.00424506
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00402b10
lea ecx, [ebp - 0x18]
mov bl, al
mov byte [ebp - 4], 2
call fcn.004242bd
test bl, bl
je 0x407f67
lea ecx, [ebp + 8]
push str..clean
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.00424506
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x18]
jmp 0x4081a8
mov edx, dword [0x43b340]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x14]
push str.newprefs.js
lea ecx, [ebp - 0x24]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00424506
mov edx, dword [0x43b340]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
push 0x43a1ec
push eax
mov byte [ebp - 4], 6
call fcn.00411401
mov esi, eax
add esp, 8
test esi, esi
je 0x408189
mov ecx, dword [ebp - 0x24]
push 0x43a1e8
push ecx
call fcn.00411401
add esp, 8
mov edi, eax
test edi, edi
push esi
jne 0x407fd3
call fcn.00411353
add esp, 4
jmp 0x408189
lea edx, [ebp - 0x1038]
push 0x1000
push edx
call fcn.004112f1
add esp, 0xc
test eax, eax
je 0x40809e
lea eax, [ebp - 0x1038]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004243fa
lea ecx, [ebp - 0x1c]
call fcn.0041f592
lea ecx, [ebp - 0x2c]
push 0x1f
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041f15b
mov edx, dword [eax]
push str.user_pref__browser.url_history.
push edx
mov byte [ebp - 4], 7
call fcn.00410d60
add esp, 8
test eax, eax
je 0x40805f
lea eax, [ebp - 0x18]
push 0x1b
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f15b
mov ecx, dword [eax]
push str.user_pref__browser.history.
push ecx
call fcn.00410d60
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne bl
call fcn.004242bd
test bl, bl
je 0x40805f
mov bl, 1
jmp 0x408061
xor bl, bl
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004242bd
test bl, bl
je 0x408081
lea edx, [ebp - 0x1038]
push edi
push edx
call fcn.004112a3
add esp, 8
push esi
lea eax, [ebp - 0x1038]
push 0x1000
push eax
call fcn.004112f1
add esp, 0xc
test eax, eax
jne 0x407fef
push esi
call fcn.00411353
push edi
call fcn.00411353
add esp, 8
test eax, eax
jne 0x408189
lea ecx, [ebp - 0x14]
push str.oldprefs.js
lea edx, [ebp - 0x28]
push ecx
push edx
call fcn.00424506
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.004018e0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push ecx
push edx
mov dword [ebp - 4], 9
call fcn.0042569b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0042569b
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0xc
call fcn.004018e0
jmp 0x40817a
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004242bd
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004242bd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004242bd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.004242bd
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004242bd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4